class_docstr: Provides asset metadata stored in memory.
class_docstr_tok: ["Provides","asset","metadata","stored","in","memory","."]
code: def get_metadata(self, name: str) -> Dict[str, Any]:
      try:
          return deepcopy(self._metadata[name])
      except KeyError:
          raise AssetNotFoundError(
              f"An asset with the name '{name}' cannot be found."
          )
  
imports: import os
  from abc import ABC, abstractmethod
  from copy import deepcopy
  from pathlib import Path
  from typing import Any, Dict, Optional, Sequence, final
  import yaml
  from typing_extensions import NoReturn
  from yaml import YAMLError
  from fairseq2.assets.error import AssetError
  from fairseq2.typing import finaloverride
label_desc: Use image node_id 2 for calling the InProcAssetMetadataProvider obj's underlying member method code with example usage: obj.get_metadata(name) and returns: deepcopy