libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

urlparse fails with AZURE_BLOBS

Open mvpatel2000 opened this issue 1 year ago • 0 comments

Summary

As libcloud uses _ in scheme name, many popular libraries, eg urllib, fail to parse the URIs generated.

In [1]: from urllib.parse import urlparse

In [2]: urlparse('AZURE_BLOBS://data')
Out[2]: ParseResult(scheme='', netloc='', path='AZURE_BLOBS://data', params='', query='', fragment='')

mvpatel2000 avatar Jan 22 '24 20:01 mvpatel2000