def __init__(self, type_, name=None, default_value=Undefined, deprecation_reason=None, description=None, required=False, _creation_counter=None, **extra_args):
    super(InputField, self).__init__(_creation_counter=_creation_counter)
    self.name = name
    if required:
        type_ = NonNull(type_)
    self._type = type_
    self.deprecation_reason = deprecation_reason
    self.default_value = default_value
    self.description = description
def __init__(self, type_, name=None, default_value=Undefined, deprecation_reason=None, description=None, required=False, _creation_counter=None, **extra_args):
    super(InputField, self).__init__(_creation_counter=_creation_counter)
    self.name = name
    if required:
        type_ = NonNull(type_)
    self._type = type_
    self.deprecation_reason = deprecation_reason
    self.default_value = default_value
    self.description = description