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

Auto-parsing of Python schemas to extrude StructTypes representations in Julia #83

Open
kshyatt-aws opened this issue May 9, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@kshyatt-aws
Copy link
Member

Describe the feature you'd like
It should be possible to use the Smithy representation of the Amazon Braket Schemas to automatically generate JSON versions of all the Braket Schemas, which JSON3.jl and StructTypes.jl can then digest to generate the corresponding Julia types.

Is this feature already present in the Python SDK?
N/A

How would this feature be used? Please describe.
This would make it possible to keep the Braket.jl versions of the schemas up to date automatically.

Describe alternatives you've considered
Currently this must be done by hand.

Additional context
It's necessary to replicate some of the implicit information encoded by the type hierarchy in Python that is currently represented with traits in Julia, e.g. target count. Also, support for the Pydantic restrictions on fields would be helpful.

@kshyatt-aws kshyatt-aws added the good first issue Good for newcomers label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant