Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TypedDict as output type #1309

Merged
merged 17 commits into from
May 31, 2023
Merged

Conversation

koxudaxi
Copy link
Owner

@koxudaxi koxudaxi commented May 11, 2023

Closes: #1229

@koxudaxi koxudaxi marked this pull request as draft May 11, 2023 01:02
@codecov
Copy link

codecov bot commented May 11, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (e9b6edf) 100.00% compared to head (426603c) 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##            master     #1309     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           11        26     +15     
  Lines         1020      3331   +2311     
  Branches       201       791    +590     
===========================================
+ Hits          1020      3331   +2311     
Flag Coverage Δ
unittests 99.93% <99.92%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
datamodel_code_generator/__init__.py 100.00% <100.00%> (ø)
datamodel_code_generator/__main__.py 100.00% <100.00%> (ø)
datamodel_code_generator/format.py 100.00% <100.00%> (ø)
datamodel_code_generator/http.py 100.00% <100.00%> (ø)
datamodel_code_generator/imports.py 100.00% <100.00%> (ø)
datamodel_code_generator/model/__init__.py 100.00% <100.00%> (ø)
datamodel_code_generator/model/base.py 100.00% <100.00%> (ø)
datamodel_code_generator/model/dataclass.py 100.00% <100.00%> (ø)
datamodel_code_generator/model/enum.py 100.00% <100.00%> (ø)
datamodel_code_generator/model/improts.py 100.00% <100.00%> (ø)
... and 16 more

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@koxudaxi koxudaxi marked this pull request as ready for review May 31, 2023 15:24
@koxudaxi koxudaxi merged commit 35b892c into master May 31, 2023
43 checks passed
@koxudaxi koxudaxi deleted the support_TypedDict_as_output_typea branch May 31, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add TypedDict as a possible output model type
1 participant