Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New share URL API #139

Merged
merged 7 commits into from
Nov 30, 2023
Merged

New share URL API #139

merged 7 commits into from
Nov 30, 2023

Conversation

brentyi
Copy link
Collaborator

@brentyi brentyi commented Nov 30, 2023

  • Deprecated ViserServer(share=True). This syntax will still work indefinitely, but will disappear from docs + fail type checks.
  • Instead, we can call server.request_share_url() to request a share URL. It returns a string if successful.
  • Also added access methods for the server's host and port.

@brentyi brentyi requested a review from kerrj November 30, 2023 02:12
@brentyi brentyi enabled auto-merge (squash) November 30, 2023 02:46
@brentyi brentyi merged commit 5983bfe into main Nov 30, 2023
12 checks passed
@brentyi brentyi deleted the brent/share_url_api branch November 30, 2023 04:12
yzslab pushed a commit to yzslab/viser that referenced this pull request Oct 20, 2024
* Add API for accessing host, port, share URL after instantiation

* Deprecate old share URL api

* get_share_url() => request_share_url()

* Bump version

* Update Record3D example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to create a share link after a server is initialized Add public API for share URL status
2 participants