We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab14c9 commit 4831051Copy full SHA for 4831051
sdk/tables/azure-data-tables/azure/data/tables/_serialize.py
@@ -34,7 +34,10 @@ def _get_match_headers(etag, match_condition):
34
35
def _prepare_key(keyvalue):
36
"""Duplicate the single quote char to escape."""
37
- return keyvalue.replace("'", "''")
+ try:
38
+ return keyvalue.replace("'", "''")
39
+ except AttributeError:
40
+ raise TypeError('PartitionKey or RowKey must be of type string.')
41
42
43
def _parameter_filter_substitution(parameters, query_filter):
0 commit comments