Line too long in code sample caused docs UI to overflow

This commit is contained in:
Eran Kampf 2019-04-08 13:50:57 -07:00
parent 582ac59bf7
commit 566f2dcc47

View File

@ -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