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

Add Doc.get() #77

Merged
merged 2 commits into from
Feb 12, 2024
Merged

Conversation

davidbrochart
Copy link
Collaborator

Closes #76.

The API is the following:

from pycrdt import Array, Doc

doc = Doc()
a = doc.get("a", type=Array)

@davidbrochart davidbrochart merged commit 74355e8 into jupyter-server:main Feb 12, 2024
16 checks passed
@davidbrochart davidbrochart deleted the root-types branch February 12, 2024 10:21
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.

Better syntax for accessing existing shared types
1 participant