2323from .bases .mutation import MutationBase
2424from .bases .object_type import ObjectTypeBase
2525from .bases .scalar import ScalarBase
26- from .field import Field , InputField
2726from .metaclasses .input_type import InputTypeMeta
2827from .metaclasses .interface import InterfaceMeta
2928from .metaclasses .mutation import MutationMeta
3029from .metaclasses .object_type import ObjectTypeMeta
3130from .metaclasses .scalar import ScalarMeta
3231from .metaclasses .union import UnionMeta
33- from .thunk import AttributeTypeThunk , RootTypeThunk , ThunkList , TransformThunkList
32+ from .types .argument import Argument
33+ from .types .field import Field , InputField
3434from .utils .enum_to_graphql_enum import enum_to_graphql_enum
3535from .utils .maybe_t import maybe_t
3636from .utils .method_dispatch import method_dispatch
37+ from .utils .thunk import AttributeTypeThunk , RootTypeThunk , ThunkList , TransformThunkList
3738
3839builtin_scalars = [
3940 GraphQLBoolean ,
@@ -49,15 +50,16 @@ class TypeRegistry(object):
4950 # Types
5051 'ObjectType' , 'InputType' , 'Union' 'Interface' , 'Implements' , 'Scalar'
5152 # Functions
52- 'Schema' , 'Register' , 'Mixin' ,
53+ 'Schema' , 'Register' , 'Mixin' ,
5354 # Mutations
5455 'Mutation' , 'Mutations' ,
5556 # Fields
56- 'Field' , 'InputField' ,
57+ 'Field' , 'InputField' , 'Argument'
5758 ])
5859
5960 Field = Field
6061 InputField = InputField
62+ Argument = Argument
6163
6264 def __init__ (self ):
6365 self ._registered_types = OrderedDict ()
0 commit comments