azure-table-storage

Error while trying to write in Azure Tables ('' is not a valid value for a partition key or row key)

Error while trying to write in Azure Tables ('' is not a valid value for a partition key or row key) Question: I am a beginner in Azure. I’m trying to add a row in Azure Tables storage using Python. I followed the simple example of Microsoft documentation : https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-table-output?tabs=in-process%2Cstorage-extension&pivots=programming-language-python#example However, I get this error …

Total answers: 1

Azure Storage Table returning empty entities

Azure Storage Table returning empty entities Question: I have the following Python code: def GetData(tableService, tableName, dataFilter): keyMarkers = {} keyMarkers[‘nextpartitionkey’] = 0 keyMarkers[‘nextrowkey’] = 0 b=[] while True: #get a batch of data a = tableService.query_entities(table_name=tableName, filter=dataFilter,num_results=1000 ,marker=keyMarkers) #copy results to list for item in a.items: b.append(item.amount.value) #check to see if more data is …

Total answers: 2