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

Add missing imports for constr and Dict[str, Any] #69

Merged
merged 1 commit into from
Oct 10, 2019

Conversation

joshbode
Copy link
Contributor

also allows more than one import for DataType (required to support Dict[str, Any] for example)

@codecov
Copy link

codecov bot commented Oct 10, 2019

Codecov Report

Merging #69 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #69   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          12     12           
  Lines         623    625    +2     
  Branches      121    121           
=====================================
+ Hits          623    625    +2
Impacted Files Coverage Δ
datamodel_code_generator/imports.py 100% <100%> (ø) ⬆️
datamodel_code_generator/model/pydantic/types.py 100% <100%> (ø) ⬆️
datamodel_code_generator/parser/openapi.py 100% <100%> (ø) ⬆️
datamodel_code_generator/model/base.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06abed6...c12e559. Read the comment docs.

@koxudaxi
Copy link
Owner

Looks good 👍
Thank you !!

@koxudaxi koxudaxi merged commit f5b43a6 into koxudaxi:master Oct 10, 2019
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.

2 participants