Skip to main content

blobs.py

Source: sunholo/azure/blobs.py

Functions

extract_blob_parts(message_data)

Extracts the account name, container name, and blob name from an Azure Blob Storage URL.

Args: message_data (str): The Azure Blob Storage URL.

Returns: tuple: A tuple containing the account name, container name, and blob name. Returns (None, None, None) if the URL is invalid.

is_azure_blob(message_data)

Checks if the provided URL is an Azure Blob Storage URL.

Args: message_data (str): The URL to be checked.

Returns: bool: True if the URL is an Azure Blob Storage URL, False otherwise.

Sunholo Multivac

Get in touch to see if we can help with your GenAI project.

Contact us

Other Links

Sunholo Multivac - GenAIOps

Copyright ©

Holosun ApS 2024