parse_uri#
- composer.utils.parse_uri(uri)[source]#
Uses
urllib.parse.urlparse()
to parse the provided URI.- Parameters
uri (str) โ The provided URI string
- Returns
Tuple[str, str, str] โ A tuple containing the backend (e.g. s3), bucket name, and path. Backend and bucket name will be empty string if the input is a local path