Skip to content
This repository was archived by the owner on Feb 21, 2022. It is now read-only.
This repository was archived by the owner on Feb 21, 2022. It is now read-only.

No (typed) field definitions in models, thus no autocompletion #82

Description

@JosXa

I noticed that all the data contracts only have internal dicts instead of properly typed models. As I'm playing around with the awesome Pydantic library a lot recently, I just tried out a json-to-pydantic model generator and that worked out quite well:
https://gist.github.com/JosXa/eda7ef5eef7c8b6b48e5004cd8aea407

Maybe that's an idea how to add proper models (allowing for autocompletion) with little effort.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions