-
Notifications
You must be signed in to change notification settings - Fork 75
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
Fixes issues with Async persisters #495
Conversation
A preview of 62dcba0 is uploaded and can be seen here: ✨ https://burr.dagworks.io/pull/495 ✨ Changes may take a few minutes to propagate. Since this is a preview of production, content with |
Moves them + adds tests for .copy(). Note we have tests for the in-memory implementation as well -- these are duplicated. We're OK with that -- sharing tests between pytest files is a bit ugly.
beaee31
to
043e274
Compare
9f328e3
to
40f479e
Compare
1a8d003
to
62dcba0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks good to me! Reviewed everything up to 62dcba0 in 42 seconds
More details
- Looked at
1012
lines of code in9
files - Skipped
0
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. burr/core/persistence.py:609
- Draft comment:
The aliasAsyncSQLLitePersister
should be updated toAsyncSQLitePersister
to maintain consistency and avoid confusion. - Reason this comment was not posted:
Comment looked like it was already resolved.
2. tests/core/test_persistence.py:4
- Draft comment:
The aliasSQLLitePersister
should be updated toSQLitePersister
to maintain consistency and avoid confusion. This issue is also present in other parts of the code, such as in thepersistence
andinitializing_persistence
fixtures. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_and9EDz4yq5N5Sv2
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
Some issues:
@copy
Important
Fixes issues with
AsyncSQLitePersister
, movesaiosqlite
to plugins, and adds tests for@copy
method.AsyncSQLitePersister
toburr/integrations/persisters/b_aiosqlite.py
.aiosqlite
import frompersistence.py
and added it tob_aiosqlite.py
.pyproject.toml
to reflectaiosqlite
as a plugin dependency.AsyncSQLitePersister
intest_b_aiosqlite.py
.test_copy_persister
to verifycopy()
method functionality.persister.rst
to referenceAsyncSQLitePersister
in the new location.AsyncSQLitePersister
intest_persistence.py
and other files.README.md
inexamples/openai-compatible-agent
with new run instructions.This description was created by for 62dcba0. It will automatically update as commits are pushed.