code: def get_writer(
      self, config, ctx, uri: URI, type_name: str
  ) -> DataDirectoryWriter:
      return DataDirectoryWriter(
          ctx,
          _ArtifactType(
              uri=uri,
              metadata=DataOutputMetadata(),
              type_name=type_name,
          ),
      )
  
file_path: FATE/python/fate/components/core/component_desc/artifacts/data/_directory.py
imports: from pathlib import Path
  from fate.components.core.essential import DataDirectoryArtifactType
  from .._base_type import URI, ArtifactDescribe, DataOutputMetadata, Metadata, _ArtifactType, _ArtifactTypeReader, _ArtifactTypeWriter
label_desc: Use image node_id 2 for calling the DataDirectoryArtifactDescribe obj's underlying member method code with example usage: obj.get_writer(config, ctx, uri, type_name) and returns: DataDirectoryWriter