amazon-braket / amazon-braket/Braket.jl

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

Offen
#83 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
good first issue
Vorherrschende Sprache
Julia
Sterne
110
Forks
7
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Describe the feature you'd like**
It should be possible to use the Smithy representation of the [Amazon Braket Schemas](https://github.com/amazon-braket/amazon-braket-schemas-python) 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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.