I'm attempting to send an Azure Blob as an attachment via SendGrid. My first step is to download the blob as such:
download_client=BlobClient.from_connection_string(
conn_str=az_str,
container_name=container_name,
blob_name=blob_name)
download_stream = download_client.download_blob()
I have found that SendGrid has the functionality to add files from memory with NodeJS, however I did not find anything like that with Python. SendGrid GitHub
Does anyone know how to do this with Python?
I also found this article on Stack that is more-or-less the same question but not in python and not answered directly. This question here