Commit bc7acfb
add missing import to model template (openapi-generators#1072)
My first pull request in this repo. I'm still learning the UTs.
I found that if I have a literal with a default value, the code uses
cast without importing it from typing.
I'm still learning the UTs on this. Do you think I should open an issue?
---------
Co-authored-by: Dylan Anthony <[email protected]>
Co-authored-by: Dylan Anthony <[email protected]>1 parent 2031578 commit bc7acfb
File tree
3 files changed
+11
-1
lines changed- .changeset
- openapi_python_client/parser/properties
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
0 commit comments