A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Azure/azure-sdk-for-python/issues/31920 below:

PartionKey and/or RowKey dropped for empty string · Issue #31920 · Azure/azure-sdk-for-python · GitHub

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