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

[Feature] Adding documents with session #938

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tistaharahap
Copy link

Instead of passing the session objects in document read/write methods, use a ContextVar to hold a session for documents. This makes it a lot simpler if this is built in with the Document object. This PR tries to do that.

Also added a page in the docs site to describe how to use it.

@roman-right
Copy link
Member

Hi @tistaharahap , please take a look at the red tests.
And thank you for the PR!

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.

None yet

2 participants