Skip to content

Docs and examples update for new API#2659

Merged
texodus merged 6 commits intomasterfrom
psp3-docs-and-examples
Jul 15, 2024
Merged

Docs and examples update for new API#2659
texodus merged 6 commits intomasterfrom
psp3-docs-and-examples

Conversation

@texodus
Copy link
Copy Markdown
Member

@texodus texodus commented Jul 4, 2024

  • Updates the docs project to build against the new API
  • Updates the examples projects as well, removing deprecated examples.
  • Updates the perspective-python API for feedback from @timkpaine
  • Adds Windows and OSX build support to CI

@texodus texodus force-pushed the psp3-docs-and-examples branch 7 times, most recently from 57c0901 to ad56647 Compare July 9, 2024 04:12
texodus and others added 4 commits July 9, 2024 00:18
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>

# Conflicts:
#	examples/python-tornado/server.py
#	rust/perspective-python/Cargo.toml
#	rust/perspective-python/perspective/__init__.py
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
@texodus texodus force-pushed the psp3-docs-and-examples branch 9 times, most recently from 36af4df to bf7aa8e Compare July 9, 2024 05:18
Comment thread rust/perspective-python/perspective/handlers/__init__.py Outdated
def __init__(self, **kwargs):
self._server = kwargs.pop("perspective_server")
self._websocket = kwargs.pop("websocket")
super().__init__(**kwargs)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, also don't need to use kwargs (no inheritance anymore)

def __init__(self, **kwargs):
self.server = kwargs.pop("perspective_server")
self._request = kwargs.pop("request")
super().__init__(**kwargs)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not needed, also don't need to use kwargs (no inheritance anymore)

Comment thread rust/perspective-python/perspective/handlers/tornado.py Outdated
server = Server()
client = Client.from_server(
server,
loop_callback=lambda fn, *args: TestAsync.loop.add_callback(fn, *args),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all these blocks don't need lambdas anymore

Comment thread rust/perspective-python/perspective/__init__.py Outdated
Comment thread rust/perspective-python/perspective/core/exception.py
@texodus texodus force-pushed the psp3-docs-and-examples branch from bf7aa8e to 5a0ea2e Compare July 9, 2024 16:03
@texodus texodus force-pushed the psp3-docs-and-examples branch 25 times, most recently from 4dc6af2 to c0d9303 Compare July 11, 2024 17:20
texodus added 2 commits July 14, 2024 22:11
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Signed-off-by: Andrew Stein <steinlink@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Internal refactoring and code quality improvement

Development

Successfully merging this pull request may close these issues.

2 participants