code: def _fs_class(url: str) -> Type[AsyncFS]:
      for klass in RouterAsyncFS.FS_CLASSES:
          if klass.valid_url(url):
              return klass
      raise ValueError(f"no file system found for url {url}")
  
file_path: hail/hail/python/hailtop/aiotools/router_fs.py
imports: from typing import Any, Optional, List, Set, AsyncIterator, Dict, AsyncContextManager, Callable, ClassVar, Type
  import asyncio
  from contextlib import AsyncExitStack
  from ..aiocloud import aioaws, aioazure, aiogoogle
  from .fs import AsyncFS, MultiPartCreate, FileStatus, FileListEntry, ReadableStream, WritableStream, AsyncFSURL
  from .local_fs import LocalAsyncFS
  from hailtop.config import ConfigVariable, configuration_of
label_desc: Use image node_id 5 for calling the RouterAsyncFS obj's underlying member method code with example usage: obj._fs_class(url) and returns: klass