mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-22 17:46:57 +03:00
Line too long in code sample caused docs UI to overflow (#938)
This commit is contained in:
parent
582ac59bf7
commit
bcbb66c025
|
@ -59,7 +59,9 @@ you can add description etc. to your enum without changing the original:
|
||||||
|
|
||||||
.. code:: python
|
.. code:: python
|
||||||
|
|
||||||
graphene.Enum.from_enum(AlreadyExistingPyEnum, description=lambda value: return 'foo' if value == AlreadyExistingPyEnum.Foo else 'bar')
|
graphene.Enum.from_enum(
|
||||||
|
AlreadyExistingPyEnum,
|
||||||
|
description=lambda v: return 'foo' if v == AlreadyExistingPyEnum.Foo else 'bar')
|
||||||
|
|
||||||
|
|
||||||
Notes
|
Notes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user