original_docstring: Translate value to it's actual representation based on resource type defined.
docstring: Translate value to it's actual representation based on resource type defined.
docstring_tokens: Translate value to it ' s actual representation based on resource type defined .
code: def _from_dict_value(cls, attribute_type: attr.Attribute, value: typing.Any) -> typing.Any:
          """Translate value to it's actual representation based on resource type defined."""
          # pylint: disable=protected-access
          if attribute_type == datetime:
              return parse_datetime(value)
          elif issubclass(attribute_type, GitHubCapEnum):
              return attribute_type.from_value(value)
          elif issubclass(attribute_type, GitHubBase):
              return attribute_type.from_dict(value)
          elif '_gorg' in attribute_type.__dict__ and attribute_type._gorg == typing.List:
              assert len(attribute_type.__args__) == 1,\
                  "Type defined multiple types: {!r}".format(attribute_type)  # Ignore B101
              return list(cls._from_dict_value(attribute_type.__args__[0], item) for item in value)
  
          return value
code_tokens: def _from_dict_value ( cls , attribute_type : attr . Attribute , value : typing . Any ) -> typing . Any : if attribute_type == datetime : return parse_datetime ( value ) elif issubclass ( attribute_type , GitHubCapEnum ) : return attribute_type . from_value ( value ) elif issubclass ( attribute_type , GitHubBase ) : return attribute_type . from_dict ( value ) elif '_gorg' in attribute_type . __dict__ and attribute_type . _gorg == typing . List : assert len ( attribute_type . __args__ ) == 1 , "Type defined multiple types: {!r}" . format ( attribute_type ) return list ( cls . _from_dict_value ( attribute_type . __args__ [ 0 ] , item ) for item in value ) return value
short_docstring: Translate value to it's actual representation based on resource type defined.
short_docstring_tokens: Translate value to it ' s actual representation based on resource type defined .
comment: """Translate value to it's actual representation based on resource type defined."""$SEP$# pylint: disable=protected-access$SEP$# Ignore B101