diff --git a/graphene/core/fields.py b/graphene/core/fields.py index 88b2b2da..2e390f82 100644 --- a/graphene/core/fields.py +++ b/graphene/core/fields.py @@ -187,24 +187,6 @@ class Field(object): return obj -class NativeField(Field): - - def __init__(self, field=None): - super(NativeField, self).__init__(None) - self.field = field - - def get_field(self, schema): - return self.field - - @memoize - def internal_field(self, schema): - return self.get_field(schema) - - @memoize - def internal_type(self, schema): - return self.internal_field(schema).type - - class LazyField(Field): @memoize @@ -218,24 +200,6 @@ class LazyField(Field): return self.inner_field(schema).internal_field(schema) -class LazyNativeField(NativeField): - - def __init__(self, *args, **kwargs): - super(LazyNativeField, self).__init__(None, *args, **kwargs) - - def get_field(self, schema): - raise NotImplementedError( - "get_field function not implemented for %s LazyField" % self.__class__) - - @memoize - def internal_field(self, schema): - return self.get_field(schema) - - @memoize - def internal_type(self, schema): - return self.internal_field(schema).type - - class TypeField(Field): def __init__(self, *args, **kwargs):