parameters: (collection_name)
docstring: Returns the to_proto function for collection_name.
docstring_summary: Returns the to_proto function for collection_name.
docstring_tokens: Returns the to_proto function for collection_name .
function: def get_to_proto_function(collection_name):
    """Returns the to_proto function for collection_name."""
    try:
      return _proto_function_registry.lookup(collection_name)[1]
    except LookupError:
      return None
function_tokens: def get_to_proto_function ( collection_name ) : try : return _proto_function_registry . lookup ( collection_name ) [ 1 ] except LookupError : return None