mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-23 15:10:48 +03:00
Fixed linting
This commit is contained in:
parent
85928036e0
commit
9d5e428cd2
|
@ -9,9 +9,11 @@ from ..core.types.scalars import ID, Int, String
|
|||
from ..utils.wrap_resolver_function import has_context, with_context
|
||||
from .connection import Connection, Edge
|
||||
|
||||
|
||||
def _is_thenable(obj):
|
||||
return callable(getattr(obj, "then", None))
|
||||
|
||||
|
||||
class ConnectionField(Field):
|
||||
|
||||
def __init__(self, type, resolver=None, description='',
|
||||
|
|
Loading…
Reference in New Issue
Block a user