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

[Feature]: Support pydantic code generation #3

Open
chicco785 opened this issue Jul 29, 2023 · 0 comments · May be fixed by #5
Open

[Feature]: Support pydantic code generation #3

chicco785 opened this issue Jul 29, 2023 · 0 comments · May be fixed by #5
Assignees
Labels
feature This issue/PR relates to a feature request.

Comments

@chicco785
Copy link
Member

Is your feature request related to a problem? Please describe the problem.

To facilitate API based management of CIM, we are looking toward a solution like Pydantic that easily integrates in frameworks like FastAPI.

Describe the solution you'd like

  • generate a new langpack for pydantic
  • support enums correctly
  • leverage python native data types (without need of duplicating them e.g. Boolean for bool)
  • support cyclic references by stripping them to the first level during serialization

Additional context

No response

@chicco785 chicco785 added the feature This issue/PR relates to a feature request. label Jul 29, 2023
@chicco785 chicco785 linked a pull request Jul 29, 2023 that will close this issue
5 tasks
@chicco785 chicco785 self-assigned this Jul 31, 2023
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 a pull request may close this issue.

1 participant