Line too long in code sample caused docs UI to overflow (#938)

This commit is contained in:
Eran Kampf 2019-04-08 13:59:39 -07:00 committed by GitHub
parent 582ac59bf7
commit bcbb66c025
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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