We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bc8042 commit 6405206Copy full SHA for 6405206
1 file changed
examples/enum_fields.py
@@ -27,7 +27,7 @@ async def run():
27
28
obj0 = await EnumFields.create(service=Service.python_programming, currency=Currency.USD)
29
# also you can use valid int and str value directly
30
- obj1 = await EnumFields.create(service=1, currency="USD")
+ await EnumFields.create(service=1, currency="USD")
31
32
try:
33
# invalid enum value will raise ValueError
0 commit comments