Skip to content
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

Support sql alchemy code generation #8

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open

Support sql alchemy code generation #8

wants to merge 45 commits into from

Conversation

chicco785
Copy link
Member

Description

Generate SQLAlchemy classes out of cgmes schemas

Changes Made

  • Support generation of EQ and GL
  • Given that this is meant to be used in combination with Pydantic, Enum have not been generated.
  • To support the complexity of tracking hierarchy and type of relantionship, few changes have been made also to core code.

Related Issues

Fixes #4

Checklist

  • I have used a PR title that is descriptive enough for a release note.
  • I have tested these changes locally.
  • I have added appropriate tests or updated existing tests.
  • I have tested these changes on a dedicated VM or a customer VM [name of the VM]
  • I have added appropriate documentation or updated existing documentation.

@chicco785 chicco785 self-assigned this Aug 9, 2023
@chicco785 chicco785 added the feature This issue/PR relates to a feature request. label Aug 9, 2023
@chicco785
Copy link
Member Author

should be rebased on top of pydantic one, once merged

@chicco785 chicco785 marked this pull request as ready for review August 9, 2023 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature]: Support sql alchemy code generation
1 participant