PartitionKey and RowKey will be dropped if their value is an empty string as an empty string is evaluated as False by Python.
# Partition key is a known property
partition_key = properties.pop("PartitionKey", None)
if partition_key is not None:
entity["PartitionKey"] = partition_key
# Row key is a known property
row_key = properties.pop("RowKey", None)
if row_key is not None:
entity["RowKey"] = row_key
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4