Skip to content

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

@kshyatt-aws

Description

@kshyatt-aws

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions