Azure / azure-functions-python-worker

Python worker for Azure Functions.
http://aka.ms/azurefunctions
MIT License
333 stars 103 forks source link

Unable to load a model file to Azure blob storage #1246

Closed varunvrcloudtech closed 1 year ago

varunvrcloudtech commented 1 year ago

Unable to load a model file to Azure blob storage.

from azure.storage.blob import BlobClient

sas_url = "https://account.blob.core.windows.net/container/blob-name?" blob_client = BlobClient.from_blob_url(sas_url)

Upload the created file

with io_open(file=model, mode="rb") as data: blob_client.upload_blob(data)

I keep getting error while trying to upload the model file to blob storage

bhagyshricompany commented 1 year ago

Thanks for reporting issue pls provide the repro steps.or u can share here in privately:https://github.com/Azure/azure-functions-host/wiki/Sharing-Your-Function-App-name-privately

ghost commented 1 year ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.