This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CLOUD_PROTOCOLS = ("s3", "s3n", "s3a", "gcs", "gs", "adl", "abfs", "abfss", "gdrive") | |
HTTP_PROTOCOLS = ("http", "https") | |
S3_PROTOCOLS = ("s3", "s3a", "s3n") | |
PROTOCOL_DELIMITER = "://" | |
def _parse_filepath(filepath: str) -> dict[str, str]: | |
""" | |
Split filepath on protocol and path. Based on `fsspec.utils.infer_storage_options`. |
OlderNewer