code: def parse_external_url(url, fs_config=None, config=None):
      remote_config = dict(fs_config) if fs_config else {}
      remote_config["url"] = url
      fs_cls, resolved_fs_config, fs_path = get_cloud_fs(
          config, **remote_config
      )
      fs = fs_cls(**resolved_fs_config)
      return fs, fs_path
  
file_path: dvc/dvc/fs/__init__.py
imports: from typing import Optional
  from urllib.parse import urlparse
  from dvc_http import HTTPFileSystem, HTTPSFileSystem
  from dvc.config import ConfigError
  from dvc.config_schema import SCHEMA, Invalid
  from dvc_objects.fs import LocalFileSystem, MemoryFileSystem, Schemes, generic, get_fs_cls, known_implementations, localfs, registry, system, utils
  from dvc_objects.fs.base import AnyFSPath, FileSystem
  from dvc_objects.fs.errors import AuthError, ConfigError, RemoteMissingDepsError
  from .callbacks import Callback
  from .data import DataFileSystem
  from .dvc import DVCFileSystem
  from .git import GitFileSystem
label_desc: Use image node_id 2 for calling a global function with example usage: parse_external_url(url, fs_config, config) and returns: fs,  fs_path