-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pydantic integration 2.4.1 #140
Merged
Merged
Conversation
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
engdorm
reviewed
Dec 27, 2023
engdorm
reviewed
Dec 27, 2023
engdorm
reviewed
Dec 27, 2023
engdorm
reviewed
Jan 4, 2024
engdorm
reviewed
Jan 4, 2024
engdorm
reviewed
Jan 4, 2024
engdorm
reviewed
Jan 4, 2024
engdorm
reviewed
Jan 4, 2024
Quality Gate failedFailed conditions 3 Security Hotspots |
erezz-mov-ai
added a commit
that referenced
this pull request
Jan 4, 2024
* added basic Callback Model * final Callback POC * added flow and node, modified callback * moved common parts to base, new class MovaiBaseMod * added annotation, reorder files * added graphicscene * new implementation * minor fixes * working callback * major changes, created PrimaryKey class * used PrimaryKey the proper way * name fix, fix key pattern * added flow, modify save function * added annotation, graphicscene * better primary keys in code * reorder files in new folders * added Layout * added application * added Ports * used pydantic callback in backup * added support for old classes fetch. * organised better, fixed project key * changed module name to new_model * added Node functions from old Model, redis version pump * fixed models, used new models * removed logs, fixed default values for model * fixed pk in objects, removed cache and use only in base.py in new-models * added documentation, added proper cache system for Models * fixed Flows * fixed LastUpdate, added Configuration, fixed Flows again * added ports, fixed configuration, fixed cache * added Flow, fixed some bugs * added flowlinks, container, fixed flow * added annotation * added annotation, robot, layout * added TODO comments * fixed robot object initialization * fixed Annotation functions * run black formatter * added basic Callback Model * final Callback POC * added flow and node, modified callback * moved common parts to base, new class MovaiBaseMod * added annotation, reorder files * added graphicscene * new implementation * minor fixes * working callback * major changes, created PrimaryKey class * used PrimaryKey the proper way * name fix, fix key pattern * added flow, modify save function * added annotation, graphicscene * better primary keys in code * reorder files in new folders * added Layout * added application * added Ports * used pydantic callback in backup * added support for old classes fetch. * organised better, fixed project key * changed module name to new_model * added Node functions from old Model, redis version pump * fixed models, used new models * removed logs, fixed default values for model * fixed pk in objects, removed cache and use only in base.py in new-models * added documentation, added proper cache system for Models * fixed Flows * fixed LastUpdate, added Configuration, fixed Flows again * added ports, fixed configuration, fixed cache * added Flow, fixed some bugs * added flowlinks, container, fixed flow * added annotation * added annotation, robot, layout * added TODO comments * fixed robot object initialization * fixed Annotation functions * run black formatter * Pydantic v2 changes * pydantic V2 fix * pydantic V2 fixes * fixes for pydantic v2 * matching schema 1.0 to pydantic * fixed json_schema, moved enterprise classes * solving circular import * project and version issues fix for models * added message, package, role, system, migrate_tool * circular import errors fix * fixed package * system fix, db local/global fix, select fix * fix permission error * system fixes, updated backup tool, circular import fix * write fix * not my last commit in here, will be back :p * version 2.50-0 * run format * add comment about pydantic * add option for db number * change func names and reorganize code * update migrate.py script * wip: migrate tool * update tags * add Robot * add docstring and remove validate func * udpate function name and add logger * rename class Var_Subscriber to VarSubscriber * reorganize imports on parsers * add missing models * missing permissions * update get_dict * update MovaiBaseModel * nodeinst fixes * fix imports add module docstring * add missing import and convert method to classmethod * convert Config to be based on Configuration from pydantic * add module docstring * fix mehod name error * formatting and fix imports * handle exception * fix script to be able to handle System object * remove unused files * add missing packages * fix code review changes, fix imports, run formatting and use annotaion from scopes * migrate_tool: wip - only convert works * change migrate to use functions * fix Parameter field * fix code review comments * black formatting * remove unused code * minor fix for migrate_tool --------- Co-authored-by: M Mograbi <[email protected]> Co-authored-by: Otto Mation <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
pydantic baseline for 2.4.1:
BP-1001 - create Callback pydantic class
BP-1002 - create Configuration pydantic class
BP-999 - create Flow pydantic class
BP-1110 - create Message pydantic class
BP-1000 - create Node pydantic class
BP-1009 - create Ports pydantic class
BP-1114 - create System pydantic class