code: def __init__(self, **kwargs):
      allow_extra_fields = kwargs.pop("_allow_extra_fields_", False)
      if not allow_extra_fields and kwargs:
          raise ValueError(
              "Unsupported keyword arguments: %s"
              % ", ".join(kwargs.keys())
          )
      elif allow_extra_fields and kwargs:
          self._extra_fields = kwargs
      else:
          self._extra_fields = {}
  
imports: import abc
  import six
  from jsonschema.exceptions import FormatError, SchemaError, ValidationError
  from .apimodel import ApiModel
  from .datamodel import DataModel
  from .defs import ENV_API_DEFAULT_REQ_METHOD
label_desc: Use image node_id 1 to create a new Request object from inherited base classes: ApiModel with example: obj = Request()