original_docstring: Create resource instance from a dictionary.
docstring: Create resource instance from a dictionary.
docstring_tokens: Create resource instance from a dictionary .
code: def from_dict(cls, dict_: dict):
          """Create resource instance from a dictionary."""
          if dict_ is None:
              return None
  
          values = {}
          for attribute in cls.__attrs_attrs__:  # pylint: disable=no-member
              if attribute.name in dict_:
                  values[attribute.name] = cls._from_dict_value(attribute.type, dict_[attribute.name])
  
          return cls(**values)
code_tokens: def from_dict ( cls , dict_ : dict ) : if dict_ is None : return None values = { } for attribute in cls . __attrs_attrs__ : if attribute . name in dict_ : values [ attribute . name ] = cls . _from_dict_value ( attribute . type , dict_ [ attribute . name ] ) return cls ( ** values )
short_docstring: Create resource instance from a dictionary.
short_docstring_tokens: Create resource instance from a dictionary .
comment: """Create resource instance from a dictionary."""$SEP$# pylint: disable=no-member