parameters: (self, store: metadata_store.MetadataStore)
docstring: Saves output_struct to store.
  
      Saves the structure of the output, as well as the individual artifacts
      if they have not already been saved.
      It is intended for orchestration users.
      This should never be called more than once, or it will fail.
  
      Args:
        store: the database the data goes to.
  
      Raises:
        ValueError: if execution has not been saved, or outputs for this execution
          already exist.
docstring_summary: Saves output_struct to store.
docstring_tokens: Saves output_struct to store .
function: def save_output(self, store: metadata_store.MetadataStore) -> None:
      """Saves output_struct to store.
  
      Saves the structure of the output, as well as the individual artifacts
      if they have not already been saved.
      It is intended for orchestration users.
      This should never be called more than once, or it will fail.
  
      Args:
        store: the database the data goes to.
  
      Raises:
        ValueError: if execution has not been saved, or outputs for this execution
          already exist.
      """
      if not self.has_id():
        raise ValueError("Must save_execution before save_output")
      if self._output_exists(store):
        raise ValueError("Output already saved")
      _save_artifact_structs_as_events(
          store, [(self.execution.id, metadata_store_pb2.Event.DECLARED_OUTPUT,
                   self.output_struct)])
function_tokens: def save_output ( self , store : metadata_store . MetadataStore ) -> None : if not self . has_id ( ) : raise ValueError ( "Must save_execution before save_output" ) if self . _output_exists ( store ) : raise ValueError ( "Output already saved" ) _save_artifact_structs_as_events ( store , [ ( self . execution . id , metadata_store_pb2 . Event . DECLARED_OUTPUT , self . output_struct ) ] )