Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

[REQ] Add overload type hints for from_openapi_data_ #26

Closed
spacether opened this issue Oct 5, 2022 · 2 comments · Fixed by #185
Closed

[REQ] Add overload type hints for from_openapi_data_ #26

spacether opened this issue Oct 5, 2022 · 2 comments · Fixed by #185
Labels
enhancement New feature or request

Comments

@spacether
Copy link
Contributor

Is your feature request related to a problem? Please describe.

Add overload type hints for from_openapi_data_oapg

Describe the solution you'd like

Describe alternatives you've considered

Additional context

@spacether spacether added the enhancement New feature or request label Nov 8, 2022
@spacether spacether changed the title [REQ] Add overload type hints for from_openapi_data_oapg [REQ] Add overload type hints for from_openapi_data_ Apr 11, 2023
@spacether spacether linked a pull request Jul 5, 2023 that will close this issue
3 tasks
@spacether
Copy link
Contributor Author

spacether commented Jul 5, 2023

Note: the linked PR moves from_openapi_data functionality into:
SomeSchema.validate or
SomeSchemaDict.__new__
SomeSchemaTuple.__new__
Where

  • SomeSchemaDict is the dict output class one gets from running SomeSchema.validate for dict input
  • SomeSchemaTuple is the tuple output class one gets from running SomeSchema.validate for list or tuple input

@spacether
Copy link
Contributor Author

resolved by 3.0.0 release

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant