-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create model versions server-side to avoid race conditions (#3254)
* POC * Log model version if created * Fetch model version if it already exists * Test * Missing docstring * Refactor fetching model version into separate method * Remove FK cycle * Add DB migration * Cleanup * Move to computed property to solve alembic issue * mypy * Some cleanup * More tests and fixes * Typo * Move logs so they don't happen when creating the object * Always log model version * Mysql fix * Linting * More linting * Make columns non-nullable * Formatting * Fix some tests * Refactor * Fix comparison for mysql * Implement RBAC checks inside SQL ZenStore * Docstrings * Try to fix vertex test * Fix alembic order * Ignore generated columns in DB migration * Linting * Rework entire DB stuff to work with mariadb * Revert change to DB backup * Add missing null check * Try to fix vertex again
- Loading branch information
Showing
15 changed files
with
828 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.