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
Unset
type or theUNSET
singleton if using logic such asIn this case, the user code itself needs to import
Unset
andUNSET
, but they are currently not included in the generatedtypes.py
so 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