-
Notifications
You must be signed in to change notification settings - Fork 152
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
fix: ComputeSessionList
GraphQL query raising 400
#1343
Conversation
let's update news fragment. This pr update VFolderID to handle null |
from sqlalchemy.sql.expression import bindparam | ||
|
||
from ai.backend.common.types import VFolderMount | ||
from ai.backend.manager.models import SessionRow, kernels, vfolders |
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.
It is better to avoid directly import the model definitions in alembic migration but manually define the table schema with only relevant columns.
If the database schema evolves in the future, these imports may not represent the state when this migration script is written.
- Fetch only necessary base branch & PR commits.
146a1c8
to
ad62a03
Compare
- Fetch only necessary base branch & PR commits. Backported-from: #1343 Backported-to: main
- Fetch only necessary base branch & PR commits. Backported-from: #1343 Backported-to: main
We have a quota scope ID syntax to come, which is being discussed on #1354. Therefore delaying merge of this branch until we're done with the PR. |
Co-authored-by: Joongi Kim <joongi@lablup.com> Backported-from: main Backported-to: 23.03
This PR updates both
sessions.vfolder_mounts
andkernels.vfolder_mounts
to match new VFolderID format.