Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PROPOSAL] Improved type hints using TypedDict, the datamodel-code-generator library, and the OpenAPI Spec#747

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
burck1 wants to merge5 commits intoauth0:master
base:master
Choose a base branch
Loading
fromburck1:openapi-progressive-typing

Conversation

@burck1
Copy link

ref:#746

Changes

  • Added a dev dependency ondatamodel-code-generator
  • Added a dependency ontyping-extensions
  • Added a poetry script to download the Management API'sOpenAPI Spec to the repo
    • poetry run download-openapi
  • Added a poetry script and[tool.datamodel-codegen] config to run the datamodel code generator
    • poetry run datamodel-codegen
  • Downloaded the latestOpenAPI Spec and committed.
  • Ran the code generator to createauth0/management/models.py and committed.
  • As an example, updatedauth0/management/clients.py to use the generated models.

References

Testing

Runpoetry run download-openapi andpoetry run datamodel-codegen. Then run the unit tests.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@burck1burck1 changed the title[PROPOSAL] Progressive typing using TypedDict, the datamodel-code-generator library, and the OpenAPI Spec[PROPOSAL] Improved type hints using TypedDict, the datamodel-code-generator library, and the OpenAPI SpecSep 20, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@burck1@kishore7snehil

[8]ページ先頭

©2009-2025 Movatter.jp