You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 22, 2023. It is now read-only.
* feat: Add background task support
* feat: Implement progress bar for rescanning images using bgtask API
* refactor: Clean up BaseFunction inheritance using contextvars
- Previously, to bind the current session with API function classes,
we generated new type objects at runtime.
- This has confused IDEs and type checkers.
- Now type checkers can statically deduce the types for individual API
function classes.
- Now we use contextvars (ai.backend.client.session.api_session)
to keep the reference to the current session.
- There are *NO* public Session/AsyncSession API changes!
- Only the API function classes need to be rewritten.
- For synchronous Session, we pass the context to the separate worker
thread using copy_context() whenever calling API functions, which is
a light-weight operation.
* fix: Remove redundant src/ai/backend/client/etcd.py which had been already
copied to src/ai/backend/client/func/etcd.py
* ci: Bump the lint Python version to 3.7
* ci: Remove Python 3.6 from AppVeyor
* ci: Make Python 3.8 as the officially supported environment by removing it
from "allow_failures" environments in Travis CI
* ci: Now type errors are no longer ignored, and all remaining type errors are
now fixed.
* test: All test cases in tests/cli/test_cli_proxy.py are marked "xfail"
because there is an upstream issue rendering those tests always
failing while real-world use cases have no problems.
- ref) pytest-dev/pytest-asyncio#153
BREAKING-CHANGE: Dropped Python 3.6 support. Now it requires Python 3.7 or higher.
0 commit comments