Skip to content

Commit 0d5726f

Browse files
doc: add example of new method
1 parent a5f0670 commit 0d5726f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

docs/user_guide/concepts_utils/handlers.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ The :class:`~fourinsight.engineroom.utils.AzureBlobHandler` is used to store tex
2626
from fourinsight.engineroom.utils import AzureBlobHandler
2727
2828
29-
handler = AzureBlobHandler(<connection-string>, <container-name>, <blob-name>)
29+
# Instantiate from a connection string
30+
handler = AzureBlobHandler(conn_str, container_name, blob_name)
31+
32+
# Instantiate from a container-level SAS URL
33+
handler = AzureBlobHandler.from_container_url(container_url, blob_name)
3034
3135
The handlers behave like 'streams', and provide all the normal stream capabilities. Downloading and uploading is done by a push/pull
3236
strategy; content is retrieved from the source by a :meth:`~fourinsight.engineroom.utils.BaseHandler.pull()` request, and uploaded

0 commit comments

Comments
 (0)