Export Unset and UNSET in __all__ of generated types.py
#925
Closed
johnthagen
started this conversation in
Feature request
Replies: 1 comment
-
|
Fixed in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Sometimes it's useful to in user code use
Unsettype or theUNSETsingleton if using logic such asIn this case, the user code itself needs to import
UnsetandUNSET, but they are currently not included in the generatedtypes.pyso tools such as PyCharm show a warning when importing them.openapi-python-client/openapi_python_client/templates/types.py.jinja
Line 45 in bbef24d
Beta Was this translation helpful? Give feedback.
All reactions