class_docstr: Represents a persisted graph component in the graph.
  
  Attributes:
      name: The unique identifier for the `Resource`. Used to locate the associated
          data from a `ModelStorage`. Normally matches the name of the node which
          created it.
      output_fingerprint: An unique identifier for a specific instantiation of a
          `Resource`. Used to distinguish a specific persistence for the same
          `Resource` when saving to the cache.
class_docstr_tok: ["Represents","a","persisted","graph","component","in","the","graph",".","Attributes",":","name",":","The","unique","identifier","for","the","`","Resource","`",".","Used","to","locate","the","associated","data","from","a","`","ModelStorage","`",".","Normally","matches","the","name","of","the","node","which","created","it",".","output_fingerprint",":","An","unique","identifier","for","a","specific","instantiation","of","a","`","Resource","`",".","Used","to","distinguish","a","specific","persistence","for","the","same","`","Resource","`","when","saving","to","the","cache","."]
docstr: Provides fingerprint for `Resource`.
  
  A unique fingerprint is created on initialization of a `Resource` however we
  also allow a value to be provided for when we retrieve a `Resource` from the
  cache (see `Resource.from_cache`).
  
  Returns:
      Fingerprint for `Resource`.
docstr_tok: ["Provides","fingerprint","for","`","Resource","`",".","A","unique","fingerprint","is","created","on","initialization","of","a","`","Resource","`","however","we","also","allow","a","value","to","be","provided","for","when","we","retrieve","a","`","Resource","`","from","the","cache","(","see","`","Resource.from_cache","`",")",".","Returns",":","Fingerprint","for","`","Resource","`","."]
code: def fingerprint(self) -> Text:
      """Provides fingerprint for `Resource`.
  
      A unique fingerprint is created on initialization of a `Resource` however we
      also allow a value to be provided for when we retrieve a `Resource` from the
      cache (see `Resource.from_cache`).
  
      Returns:
          Fingerprint for `Resource`.
      """
      return self.output_fingerprint
  
file_path: rasa/rasa/engine/storage/resource.py
imports: from __future__ import annotations
  import logging
  import typing
  from dataclasses import dataclass, field
  from pathlib import Path
  from typing import Text
  import uuid
  import rasa.utils.common
  import rasa.utils.io
label_desc: Use image node_id 3 for calling the Resource obj's underlying member method code with example usage: obj.fingerprint() and returns: self