parameters: (self)
return_statement: return functions
docstring: Returns functions to attach to the root object during serialization.
docstring_summary: Returns functions to attach to the root object during serialization.
docstring_tokens: Returns functions to attach to the root object during serialization .
function: def functions_to_serialize(self):
      """Returns functions to attach to the root object during serialization."""
      functions = {}
      for key, v in self.functions.items():
        if key in CommonEndpoints.all_functions:
          functions[key] = (v.wrapped_call if isinstance(v, save_impl.LayerCall)
                            else v)
      return functions
function_tokens: def functions_to_serialize ( self ) : functions = { } for key , v in self . functions . items ( ) : if key in CommonEndpoints . all_functions : functions [ key ] = ( v . wrapped_call if isinstance ( v , save_impl . LayerCall ) else v ) return functions