mirror of
https://github.com/graphql-python/graphene.git
synced 2025-07-27 08:19:45 +03:00
forgot a conflict
This commit is contained in:
parent
d4498c3232
commit
9e53e543a1
|
@ -3,10 +3,6 @@ from __future__ import unicode_literals
|
|||
import datetime
|
||||
import os
|
||||
import subprocess
|
||||
<<<<<<< HEAD
|
||||
from .comparison_helper import raise_assertion_if
|
||||
=======
|
||||
>>>>>>> parent of 41dcbdc... DRY-ed up
|
||||
|
||||
|
||||
def get_version(version=None):
|
||||
|
|
|
@ -6,6 +6,7 @@ from .mountedtype import MountedType
|
|||
from .structures import NonNull
|
||||
from .utils import get_type
|
||||
|
||||
|
||||
class Argument(MountedType):
|
||||
def __init__(
|
||||
self,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
from ..utils.subclass_with_meta import SubclassWithMeta
|
||||
from ..utils.trim_docstring import trim_docstring
|
||||
|
||||
|
||||
class BaseOptions(object):
|
||||
name = None # type: str
|
||||
description = None # type: str
|
||||
|
|
|
@ -7,6 +7,7 @@ from graphql.language import ast
|
|||
|
||||
from .scalars import Scalar
|
||||
|
||||
|
||||
class Date(Scalar):
|
||||
"""
|
||||
The `Date` scalar type represents a Date
|
||||
|
|
|
@ -14,6 +14,7 @@ from .definitions import GrapheneGraphQLType
|
|||
from .objecttype import ObjectType
|
||||
from .typemap import TypeMap, is_graphene_type
|
||||
|
||||
|
||||
def assert_valid_root_type(_type):
|
||||
if _type is None:
|
||||
return
|
||||
|
|
|
@ -6,6 +6,7 @@ from graphql.language import ast
|
|||
|
||||
from .scalars import Scalar
|
||||
|
||||
|
||||
class UUID(Scalar):
|
||||
"""UUID"""
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
def raise_assertion_if(condition=None, message=None):
|
||||
if condition:
|
||||
raise AssertionError(message)
|
||||
if condition:
|
||||
raise AssertionError(message)
|
||||
|
|
Loading…
Reference in New Issue
Block a user