parameters: (cls)
return_statement: return methods
docstring: Get functions of dataclass.
docstring_summary: Get functions of dataclass.
docstring_tokens: Get functions of dataclass .
function: def get_dataclass_methods(cls):
      """Get functions of dataclass."""
      methods = {name: getattr(cls, name)
                 for name in dir(cls)
                 if isinstance(getattr(cls, name), (types.FunctionType,))}
      return methods
function_tokens: def get_dataclass_methods ( cls ) : methods = { name : getattr ( cls , name ) for name in dir ( cls ) if isinstance ( getattr ( cls , name ) , ( types . FunctionType , ) ) } return methods