class_docstr: Interface for any component which will run in a graph.
docstr: Creates a component using a persisted version of itself.
  
  If not overridden this method merely calls `create`.
  
  Args:
      config: The config for this graph component. This is the default config of
          the component merged with config specified by the user.
      model_storage: Storage which graph components can use to persist and load
          themselves.
      resource: Resource locator for this component which can be used to persist
          and load itself from the `model_storage`.
      execution_context: Information about the current graph run.
      kwargs: Output values from previous nodes might be passed in as `kwargs`.
  
  Returns:
      An instantiated, loaded `GraphComponent`.
docstr_tok: ["Creates","a","component","using","a","persisted","version","of","itself",".","If","not","overridden","this","method","merely","calls","`","create","`",".","Args",":","config",":","The","config","for","this","graph","component",".","This","is","the","default","config","of","the","component","merged","with","config","specified","by","the","user",".","model_storage",":","Storage","which","graph","components","can","use","to","persist","and","load","themselves",".","resource",":","Resource","locator","for","this","component","which","can","be","used","to","persist","and","load","itself","from","the","`","model_storage","`",".","execution_context",":","Information","about","the","current","graph","run",".","kwargs",":","Output","values","from","previous","nodes","might","be","passed","in","as","`","kwargs","`",".","Returns",":","An","instantiated",",","loaded","`","GraphComponent","`","."]
code: def load(
      cls,
      config: Dict[Text, Any],
      model_storage: ModelStorage,
      resource: Resource,
      execution_context: ExecutionContext,
      **kwargs: Any,
  ) -> GraphComponent:
      """Creates a component using a persisted version of itself.
  
      If not overridden this method merely calls `create`.
  
      Args:
          config: The config for this graph component. This is the default config of
              the component merged with config specified by the user.
          model_storage: Storage which graph components can use to persist and load
              themselves.
          resource: Resource locator for this component which can be used to persist
              and load itself from the `model_storage`.
          execution_context: Information about the current graph run.
          kwargs: Output values from previous nodes might be passed in as `kwargs`.
  
      Returns:
          An instantiated, loaded `GraphComponent`.
      """
      return cls.create(
          config, model_storage, resource, execution_context
      )
  
file_path: rasa/data/test_classes/graph_component_interface.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import List, Type, Dict, Text, Any, Optional
  from rasa.engine.graph import ExecutionContext
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
label_desc: Use image node_id 3 for calling the GraphComponent obj's underlying member method code with example usage: obj.load(cls, config, model_storage, resource, execution_context) and returns: cls