skip to Main Content

Set time to live in Azure Blob containers created using BlobServiceClient

I'm currently using the following setup to create containers in an Azure Storage Account, and writing blobs to those containers: from azure.storage.blob import BlobServiceClient connstr = "..." bsc = BlobServiceClient.from_connection_string(connstr) container_client = bsc.create_container(name="some_container") blob_client = container_client.upload_blob("some_blob", data="data_item", metadata={}) but nowhere…

VIEW QUESTION

Unable to use string-based methods on a string property inside an Azure storage table query lambda

While querying an Azure storage table I get an exception. Here is my query: tableClient.QueryAsync<Resource>(resource => resource.PartitionKey == projectId.ToString() && String.Equals(resource.FullName, fullName, StringComparison.InvariantCultureIgnoreCase)); resource.FullName and fullName are both of type string. But this incurs the exception... Incorrect number of arguments…

VIEW QUESTION
Back To Top
Search