azure-blob-storage

Is put_block_blob_from_path depreciated?

Is put_block_blob_from_path depreciated? Question: I’m currently trying to upload some files to my Azure storage, but can’t seem to achieve that. from azure.storage.blob import BlockBlobService data1File=os.path.join(filePath,’data1.csv’) data2File=os.path.join(filePath,’data2.csv’) blockBlobService = BlockBlobService(account_name=’NAME’, account_key=’KEY’) blockBlobService.put_block_blob_from_path(‘HdiNotebooks/Recommendation_Systems/data/full’, ‘data1.csv’, data1File) blockBlobService.put_block_blob_from_path(‘HdiNotebooks/Recommendation_Systems/data/full’, ‘data2.csv’, data2File) However, I get this error thrown to me: AttributeError: ‘BlockBlobService’ object has no attribute ‘put_block_blob_from_path’ The code example …

Total answers: 2