code: def _get_filesystem(path) -> Type[filesystem.Filesystem]:
      return filesystem_registry.DEFAULT_FILESYSTEM_REGISTRY.get_filesystem_for_path(
          path
      )
  
imports: from typing import Any, Callable, Iterable, List, Optional, Tuple, Type
  from tfx.dsl.io import filesystem
  from tfx.dsl.io import filesystem_registry
  from tfx.dsl.io.filesystem import PathType
  import tfx.dsl.io.plugins.tensorflow_gfile
  import tfx.dsl.io.plugins.local
label_desc: Use image node_id 1 for calling a global function with example usage: _get_filesystem(path) and returns: filesystem_registry