code: def rename(
      src: PathType, dst: PathType, overwrite: bool = False
  ) -> None:
      """Rename a source file to a destination path."""
      src_fs = _get_filesystem(src)
      dst_fs = _get_filesystem(dst)
      if src_fs is dst_fs:
          src_fs.rename(src, dst, overwrite=overwrite)
      else:
          raise NotImplementedError(
              (
                  "Rename from %r to %r using different filesystems plugins is "
                  "currently not supported."
              )
              % (src, dst)
          )
  
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 11 for calling a global function with example usage: rename(src, dst, overwrite) without return types