From 3fa30768f4516b4826c93abc517d3c51ee67fda6 Mon Sep 17 00:00:00 2001 From: seankane-msft Date: Fri, 2 Oct 2020 13:10:08 -0700 Subject: [PATCH 1/2] fixes python 2.7 issue with unicode and strings again! --- ...ity_cosmos.test_binary_property_value.yaml | 64 ++--- ...able_entity_cosmos.test_delete_entity.yaml | 83 +++---- ...osmos.test_delete_entity_not_existing.yaml | 46 ++-- ...st_delete_entity_with_if_doesnt_match.yaml | 73 +++--- ...os.test_delete_entity_with_if_matches.yaml | 85 +++---- ....test_empty_and_spaces_property_value.yaml | 82 +++---- ...t_table_entity_cosmos.test_get_entity.yaml | 73 +++--- ..._cosmos.test_get_entity_full_metadata.yaml | 73 +++--- ...ntity_cosmos.test_get_entity_if_match.yaml | 85 +++---- ...ty_cosmos.test_get_entity_no_metadata.yaml | 73 +++--- ...y_cosmos.test_get_entity_not_existing.yaml | 46 ++-- ...tity_cosmos.test_get_entity_with_hook.yaml | 73 +++--- ....test_get_entity_with_special_doubles.yaml | 66 +++--- ...ty_cosmos.test_insert_entity_conflict.yaml | 88 +++---- ..._cosmos.test_insert_entity_dictionary.yaml | 61 ++--- ...os.test_insert_entity_empty_string_pk.yaml | 54 ++--- ...os.test_insert_entity_empty_string_rk.yaml | 54 ++--- ..._cosmos.test_insert_entity_missing_pk.yaml | 34 +-- ..._cosmos.test_insert_entity_missing_rk.yaml | 34 +-- ...test_insert_entity_with_full_metadata.yaml | 73 +++--- ...y_cosmos.test_insert_entity_with_hook.yaml | 73 +++--- ..._entity_with_large_int32_value_throws.yaml | 34 +-- ..._entity_with_large_int64_value_throws.yaml | 34 +-- ...s.test_insert_entity_with_no_metadata.yaml | 73 +++--- ...ntity_cosmos.test_none_property_value.yaml | 62 ++--- ...ble_entity_cosmos.test_query_entities.yaml | 112 ++++----- ...mos.test_query_entities_full_metadata.yaml | 112 ++++----- ...osmos.test_query_entities_no_metadata.yaml | 112 ++++----- ...osmos.test_query_entities_with_filter.yaml | 71 +++--- ...y_cosmos.test_query_entities_with_top.yaml | 141 +++++------ ...test_query_entities_with_top_and_next.yaml | 221 +++++++++--------- ..._entity_cosmos.test_query_user_filter.yaml | 61 ++--- ...ntity_cosmos.test_query_zero_entities.yaml | 58 ++--- ...ity_cosmos.test_unicode_property_name.yaml | 80 +++---- ...ty_cosmos.test_unicode_property_value.yaml | 80 +++---- ...able_entity_cosmos.test_update_entity.yaml | 99 ++++---- ...osmos.test_update_entity_not_existing.yaml | 56 ++--- ...st_update_entity_with_if_doesnt_match.yaml | 85 +++---- ...os.test_update_entity_with_if_matches.yaml | 97 ++++---- .../tests/test_table_entity_cosmos.py | 66 +++--- 40 files changed, 1544 insertions(+), 1503 deletions(-) diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml index 0e2ab11487cf..f9c3eff40069 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_binary_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable27241549"}' + body: !!python/unicode '{"TableName": "uttable27241549"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:33 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable27241549","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable27241549","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A35.9108103Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.3412103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk27241549", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk27241549", "RowKey@odata.type": "Edm.String", "binary": "AQIDBAUGBwgJCg==", - "binary@odata.type": "Edm.Binary"}' + body: !!python/unicode '{"binary": "AQIDBAUGBwgJCg==", "RowKey@odata.type": "Edm.String", + "PartitionKey@odata.type": "Edm.String", "RowKey": "rk27241549", "PartitionKey": + "pk27241549", "binary@odata.type": "Edm.Binary"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A35.8906887Z''\"","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","RowKey":"rk27241549","PartitionKey":"pk27241549","Timestamp":"2020-10-02T19:58:35.8906887Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.8906887Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') server: @@ -101,25 +101,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549(PartitionKey='pk27241549',RowKey='rk27241549') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A36.3953671Z''\"","PartitionKey":"pk27241549","RowKey":"rk27241549","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","Timestamp":"2020-10-01T01:07:36.3953671Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable27241549/$metadata#uttable27241549/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A35.8906887Z''\"","binary@odata.type":"Edm.Binary","binary":"AQIDBAUGBwgJCg==","RowKey":"rk27241549","PartitionKey":"pk27241549","Timestamp":"2020-10-02T19:58:35.8906887Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:35 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A36.3953671Z'" + - W/"datetime'2020-10-02T19%3A58%3A35.8906887Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -139,23 +139,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:35 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable27241549') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:36 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -173,23 +173,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:36 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:36 GMT + - Fri, 02 Oct 2020 19:58:36 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:35 GMT + - Fri, 02 Oct 2020 19:58:36 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml index a33139bf6392..8df6a8ed8db5 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable87c311d3"}' + body: !!python/unicode '{"TableName": "uttable87c311d3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:51 GMT + - Fri, 02 Oct 2020 19:58:51 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:51 GMT + - Fri, 02 Oct 2020 19:58:51 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable87c311d3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable87c311d3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A52.2652167Z'" + - W/"datetime'2020-10-02T19%3A58%3A52.6115847Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk87c311d3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk87c311d3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk87c311d3", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk87c311d3", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3/$metadata#uttable87c311d3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A07%3A52.7401479Z''\"","PartitionKey":"pk87c311d3","RowKey":"rk87c311d3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:07:52.7401479Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3/$metadata#uttable87c311d3/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A58%3A53.1139591Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk87c311d3","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk87c311d3","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:58:53.1139591Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT etag: - - W/"datetime'2020-10-01T01%3A07%3A52.7401479Z'" + - W/"datetime'2020-10-02T19%3A58%3A53.1139591Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') server: @@ -107,25 +108,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -143,24 +144,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable87c311d3(PartitionKey='pk87c311d3',RowKey='rk87c311d3') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:87f4553d-0382-11eb-81ff-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:b241cd40-04e9-11eb-8c52-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:52 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,23 +181,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable87c311d3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -214,23 +215,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:07:53 GMT + - Fri, 02 Oct 2020 19:58:53 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:07:53 GMT + - Fri, 02 Oct 2020 19:58:53 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:07:52 GMT + - Fri, 02 Oct 2020 19:58:53 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml index 3e1f4761fc77..8fb071507ca4 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable959b174d"}' + body: !!python/unicode '{"TableName": "uttable959b174d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:08 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:08 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable959b174d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable959b174d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:08 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A08.7276551Z'" + - W/"datetime'2020-10-02T19%3A59%3A09.3215239Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') server: @@ -57,26 +57,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:09 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:08 GMT + - Fri, 02 Oct 2020 19:59:09 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable959b174d(PartitionKey='pk959b174d',RowKey='rk959b174d') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:91acaf0c-0382-11eb-9cd5-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:bc1e5e4f-04e9-11eb-8267-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -96,23 +96,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable959b174d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -130,23 +130,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:10 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:10 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:09 GMT + - Fri, 02 Oct 2020 19:59:09 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml index 13a8f9e59d5d..1cd294735909 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_doesnt_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5d171a74"}' + body: !!python/unicode '{"TableName": "uttable5d171a74"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:25 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:25 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5d171a74","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5d171a74","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A24.9741319Z'" + - W/"datetime'2020-10-02T19%3A59%3A26.2311431Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5d171a74", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5d171a74", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5d171a74", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5d171a74", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74/$metadata#uttable5d171a74/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A25.4110727Z''\"","PartitionKey":"pk5d171a74","RowKey":"rk5d171a74","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:25.4110727Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74/$metadata#uttable5d171a74/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A59%3A26.7149831Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5d171a74","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5d171a74","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:59:26.7149831Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A25.4110727Z'" + - W/"datetime'2020-10-02T19%3A59%3A26.7149831Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') server: @@ -107,26 +108,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5d171a74(PartitionKey='pk5d171a74',RowKey='rk5d171a74') response: body: - string: "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - update condition specified in the request was not satisfied.\\nRequestID:9b654d38-0382-11eb-a8f8-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"UpdateConditionNotSatisfied\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + update condition specified in the request was not satisfied.\\nRequestID:c6414730-04e9-11eb-aa08-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:08:24 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -146,23 +147,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5d171a74') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -180,23 +181,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:25 GMT + - Fri, 02 Oct 2020 19:59:26 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml index c5705d298b8a..68275fb12b01 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_delete_entity_with_if_matches.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttabledcb01860"}' + body: !!python/unicode '{"TableName": "uttabledcb01860"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:40 GMT + - Fri, 02 Oct 2020 19:59:41 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:40 GMT + - Fri, 02 Oct 2020 19:59:41 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttabledcb01860","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttabledcb01860","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A41.2658695Z'" + - W/"datetime'2020-10-02T19%3A59%3A42.8308999Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkdcb01860", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkdcb01860", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkdcb01860", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkdcb01860", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860/$metadata#uttabledcb01860/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A41.7172487Z''\"","PartitionKey":"pkdcb01860","RowKey":"rkdcb01860","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:08:41.7172487Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860/$metadata#uttabledcb01860/@Element","odata.etag":"W/\"datetime''2020-10-02T19%3A59%3A43.3405447Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkdcb01860","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkdcb01860","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T19:59:43.3405447Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + - W/"datetime'2020-10-02T19%3A59%3A43.3405447Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') server: @@ -107,25 +108,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT If-Match: - - W/"datetime'2020-10-01T01%3A08%3A41.7172487Z'" + - W/"datetime'2020-10-02T19%3A59%3A43.3405447Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -143,24 +144,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabledcb01860(PartitionKey='pkdcb01860',RowKey='rkdcb01860') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:a5264589-0382-11eb-8976-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:d0330df0-04e9-11eb-8b6f-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -180,23 +181,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabledcb01860') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -214,23 +215,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:42 GMT + - Fri, 02 Oct 2020 19:59:43 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:42 GMT + - Fri, 02 Oct 2020 19:59:43 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:41 GMT + - Fri, 02 Oct 2020 19:59:42 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml index b3290ac33645..8fc110c90c12 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_empty_and_spaces_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable10b51963"}' + body: !!python/unicode '{"TableName": "uttable10b51963"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:58 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable10b51963","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable10b51963","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A57.8318343Z'" + - W/"datetime'2020-10-02T19%3A59%3A59.7856775Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') server: @@ -44,17 +44,17 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk10b51963", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk10b51963", "RowKey@odata.type": "Edm.String", "EmptyByte": "", - "EmptyByte@odata.type": "Edm.String", "EmptyUnicode": "", "EmptyUnicode@odata.type": - "Edm.String", "SpacesOnlyByte": " ", "SpacesOnlyByte@odata.type": "Edm.String", - "SpacesOnlyUnicode": " ", "SpacesOnlyUnicode@odata.type": "Edm.String", "SpacesBeforeByte": - " Text", "SpacesBeforeByte@odata.type": "Edm.String", "SpacesBeforeUnicode": - " Text", "SpacesBeforeUnicode@odata.type": "Edm.String", "SpacesAfterByte": - "Text ", "SpacesAfterByte@odata.type": "Edm.String", "SpacesAfterUnicode": - "Text ", "SpacesAfterUnicode@odata.type": "Edm.String", "SpacesBeforeAndAfterByte": - " Text ", "SpacesBeforeAndAfterByte@odata.type": "Edm.String", "SpacesBeforeAndAfterUnicode": - " Text ", "SpacesBeforeAndAfterUnicode@odata.type": "Edm.String"}' + body: !!python/unicode '{"EmptyByte@odata.type": "Edm.Binary", "SpacesBeforeAndAfterByte": + "ICAgVGV4dCAgIA==", "SpacesAfterByte": "VGV4dCAgIA==", "SpacesOnlyUnicode@odata.type": + "Edm.String", "SpacesAfterUnicode": "Text ", "SpacesBeforeAndAfterUnicode@odata.type": + "Edm.String", "SpacesBeforeAndAfterByte@odata.type": "Edm.Binary", "PartitionKey@odata.type": + "Edm.String", "SpacesBeforeUnicode": " Text", "SpacesBeforeAndAfterUnicode": + " Text ", "SpacesBeforeByte@odata.type": "Edm.Binary", "SpacesOnlyUnicode": + " ", "SpacesOnlyByte": "ICAg", "SpacesBeforeUnicode@odata.type": "Edm.String", + "SpacesOnlyByte@odata.type": "Edm.Binary", "SpacesBeforeByte": "ICAgVGV4dA==", + "RowKey": "rk10b51963", "SpacesAfterByte@odata.type": "Edm.Binary", "SpacesAfterUnicode@odata.type": + "Edm.String", "EmptyUnicode@odata.type": "Edm.String", "RowKey@odata.type": + "Edm.String", "EmptyUnicode": "", "EmptyByte": "", "PartitionKey": "pk10b51963"}' headers: Accept: - application/json;odata=minimalmetadata @@ -63,31 +63,31 @@ interactions: Connection: - keep-alive Content-Length: - - '896' + - '913' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A00.2096135Z''\"","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeUnicode":" Text","SpacesBeforeAndAfterUnicode":" Text ","SpacesOnlyUnicode":" ","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","RowKey":"rk10b51963","EmptyUnicode":"","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","PartitionKey":"pk10b51963","Timestamp":"2020-10-02T20:00:00.2096135Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + - W/"datetime'2020-10-02T20%3A00%3A00.2096135Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') server: @@ -109,25 +109,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 19:59:59 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963(PartitionKey='pk10b51963',RowKey='rk10b51963') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A08%3A58.3143431Z''\"","PartitionKey":"pk10b51963","RowKey":"rk10b51963","EmptyByte":"","EmptyUnicode":"","SpacesOnlyByte":" ","SpacesOnlyUnicode":" ","SpacesBeforeByte":" Text","SpacesBeforeUnicode":" Text","SpacesAfterByte":"Text ","SpacesAfterUnicode":"Text ","SpacesBeforeAndAfterByte":" Text ","SpacesBeforeAndAfterUnicode":" Text ","Timestamp":"2020-10-01T01:08:58.3143431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10b51963/$metadata#uttable10b51963/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A00.2096135Z''\"","SpacesBeforeAndAfterByte@odata.type":"Edm.Binary","SpacesBeforeAndAfterByte":"ICAgVGV4dCAgIA==","SpacesAfterByte@odata.type":"Edm.Binary","SpacesAfterByte":"VGV4dCAgIA==","SpacesAfterUnicode":"Text ","SpacesBeforeUnicode":" Text","SpacesBeforeAndAfterUnicode":" Text ","SpacesOnlyUnicode":" ","SpacesOnlyByte@odata.type":"Edm.Binary","SpacesOnlyByte":"ICAg","SpacesBeforeByte@odata.type":"Edm.Binary","SpacesBeforeByte":"ICAgVGV4dA==","RowKey":"rk10b51963","EmptyUnicode":"","EmptyByte@odata.type":"Edm.Binary","EmptyByte":"","PartitionKey":"pk10b51963","Timestamp":"2020-10-02T20:00:00.2096135Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT etag: - - W/"datetime'2020-10-01T01%3A08%3A58.3143431Z'" + - W/"datetime'2020-10-02T20%3A00%3A00.2096135Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -147,23 +147,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10b51963') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -181,23 +181,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:08:58 GMT + - Fri, 02 Oct 2020 20:00:00 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:08:57 GMT + - Fri, 02 Oct 2020 19:59:59 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml index c1de1fe325d3..f71bf8ed0eaa 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable542810a0"}' + body: !!python/unicode '{"TableName": "uttable542810a0"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:13 GMT + - Fri, 02 Oct 2020 20:00:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:13 GMT + - Fri, 02 Oct 2020 20:00:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable542810a0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable542810a0","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.1219335Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.5063687Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk542810a0", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk542810a0", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk542810a0", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk542810a0", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A16.9579527Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk542810a0","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk542810a0","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:16.9579527Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.9579527Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0(PartitionKey='pk542810a0',RowKey='rk542810a0') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A14.5842695Z''\"","PartitionKey":"pk542810a0","RowKey":"rk542810a0","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:14.5842695Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable542810a0/$metadata#uttable542810a0/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A16.9579527Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk542810a0","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk542810a0","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:16.9579527Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A14.5842695Z'" + - W/"datetime'2020-10-02T20%3A00%3A16.9579527Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:16 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable542810a0') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:14 GMT + - Fri, 02 Oct 2020 20:00:17 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml index 0787a7440c7f..40613a5444b1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable67ca1652"}' + body: !!python/unicode '{"TableName": "uttable67ca1652"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:29 GMT + - Fri, 02 Oct 2020 20:00:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:29 GMT + - Fri, 02 Oct 2020 20:00:32 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable67ca1652","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable67ca1652","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.4553479Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.3380615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk67ca1652", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk67ca1652", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk67ca1652", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk67ca1652", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A33.8073607Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk67ca1652","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk67ca1652","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:33.8073607Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.8073607Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') server: @@ -103,27 +104,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=fullmetadata x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey='pk67ca1652',RowKey='rk67ca1652') response: body: - string: '{"odata.type":"tablestestcosmosname.uttable67ca1652","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.editLink":"uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A30.8775431Z''\"","PartitionKey":"pk67ca1652","RowKey":"rk67ca1652","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:09:30.8775431Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable67ca1652","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.editLink":"uttable67ca1652(PartitionKey=''pk67ca1652'',RowKey=''rk67ca1652'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable67ca1652/$metadata#uttable67ca1652/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A33.8073607Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk67ca1652","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk67ca1652","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:00:33.8073607Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A30.8775431Z'" + - W/"datetime'2020-10-02T20%3A00%3A33.8073607Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable67ca1652') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:31 GMT + - Fri, 02 Oct 2020 20:00:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:31 GMT + - Fri, 02 Oct 2020 20:00:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:30 GMT + - Fri, 02 Oct 2020 20:00:33 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml index 05fee2d2b647..d6f3fcccd641 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_if_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefb9a143a"}' + body: !!python/unicode '{"TableName": "uttablefb9a143a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:46 GMT + - Fri, 02 Oct 2020 20:00:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:46 GMT + - Fri, 02 Oct 2020 20:00:49 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefb9a143a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefb9a143a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A46.9925383Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.1183495Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkfb9a143a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkfb9a143a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkfb9a143a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkfb9a143a", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A50.5716743Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkfb9a143a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkfb9a143a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:50.5716743Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A09%3A47.5143687Z''\"","PartitionKey":"pkfb9a143a","RowKey":"rkfb9a143a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:09:47.5143687Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a/$metadata#uttablefb9a143a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A00%3A50.5716743Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkfb9a143a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkfb9a143a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:00:50.5716743Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT etag: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -145,25 +146,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT If-Match: - - W/"datetime'2020-10-01T01%3A09%3A47.5143687Z'" + - W/"datetime'2020-10-02T20%3A00%3A50.5716743Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefb9a143a(PartitionKey='pkfb9a143a',RowKey='rkfb9a143a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:49 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -181,23 +182,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefb9a143a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -215,23 +216,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:51 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:51 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:09:47 GMT + - Fri, 02 Oct 2020 20:00:50 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml index 4da8a59dfc0d..673b3f5c1353 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3b56157c"}' + body: !!python/unicode '{"TableName": "uttable3b56157c"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:02 GMT + - Fri, 02 Oct 2020 20:01:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:02 GMT + - Fri, 02 Oct 2020 20:01:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3b56157c","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3b56157c","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:06 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A03.4825223Z'" + - W/"datetime'2020-10-02T20%3A01%3A06.9422599Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3b56157c", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3b56157c", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3b56157c", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3b56157c", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c/$metadata#uttable3b56157c/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A04.0208391Z''\"","PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c/$metadata#uttable3b56157c/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A07.4372615Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk3b56157c","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3b56157c","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:07.4372615Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:06 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + - W/"datetime'2020-10-02T20%3A01%3A07.4372615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') server: @@ -103,27 +104,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=nometadata x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3b56157c(PartitionKey='pk3b56157c',RowKey='rk3b56157c') response: body: - string: '{"PartitionKey":"pk3b56157c","RowKey":"rk3b56157c","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:04.0208391Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pk3b56157c","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3b56157c","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:07.4372615Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A04.0208391Z'" + - W/"datetime'2020-10-02T20%3A01%3A07.4372615Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3b56157c') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:04 GMT + - Fri, 02 Oct 2020 20:01:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:04 GMT + - Fri, 02 Oct 2020 20:01:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:03 GMT + - Fri, 02 Oct 2020 20:01:07 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml index 6d71a1f98354..a43307e48c95 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5269161a"}' + body: !!python/unicode '{"TableName": "uttable5269161a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:22 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5269161a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5269161a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:19 GMT + - Fri, 02 Oct 2020 20:01:23 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A19.8458375Z'" + - W/"datetime'2020-10-02T20%3A01%3A23.7465095Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') server: @@ -55,24 +55,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5269161a(PartitionKey='pk5269161a',RowKey='rk5269161a') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:dfd3580e-0382-11eb-a08e-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:0c33c5b0-04ea-11eb-a95a-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -92,23 +92,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:23 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5269161a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -126,23 +126,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:20 GMT + - Fri, 02 Oct 2020 20:01:24 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml index da3c7121e215..4b3b8ddbc9ee 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_hook.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable115114cb"}' + body: !!python/unicode '{"TableName": "uttable115114cb"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:35 GMT + - Fri, 02 Oct 2020 20:01:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:35 GMT + - Fri, 02 Oct 2020 20:01:39 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable115114cb","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable115114cb","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.1204743Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.1905159Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk115114cb", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk115114cb", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk115114cb", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk115114cb", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A40.7057927Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk115114cb","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk115114cb","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:40.7057927Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.7057927Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb(PartitionKey='pk115114cb',RowKey='rk115114cb') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A36.6144519Z''\"","PartitionKey":"pk115114cb","RowKey":"rk115114cb","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:10:36.6144519Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable115114cb/$metadata#uttable115114cb/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A40.7057927Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk115114cb","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk115114cb","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:01:40.7057927Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A36.6144519Z'" + - W/"datetime'2020-10-02T20%3A01%3A40.7057927Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable115114cb') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:36 GMT + - Fri, 02 Oct 2020 20:01:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml index 73f8507b57a8..7a960481bcdf 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_get_entity_with_special_doubles.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable10a31948"}' + body: !!python/unicode '{"TableName": "uttable10a31948"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:51 GMT + - Fri, 02 Oct 2020 20:01:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:51 GMT + - Fri, 02 Oct 2020 20:01:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable10a31948","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable10a31948","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A52.7706119Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.2271111Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') server: @@ -44,10 +44,10 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk10a31948", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk10a31948", "RowKey@odata.type": "Edm.String", "inf": "Infinity", - "inf@odata.type": "Edm.Double", "negativeinf": "-Infinity", "negativeinf@odata.type": - "Edm.Double", "nan": "NaN", "nan@odata.type": "Edm.Double"}' + body: !!python/unicode '{"nan@odata.type": "Edm.Double", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "nan": "NaN", "inf@odata.type": + "Edm.Double", "PartitionKey": "pk10a31948", "RowKey": "rk10a31948", "negativeinf": + "-Infinity", "inf": "Infinity", "negativeinf@odata.type": "Edm.Double"}' headers: Accept: - application/json;odata=minimalmetadata @@ -62,25 +62,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A57.7244679Z''\"","nan@odata.type":"Edm.Double","nan":"NaN","PartitionKey":"pk10a31948","RowKey":"rk10a31948","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","inf@odata.type":"Edm.Double","inf":"Infinity","Timestamp":"2020-10-02T20:01:57.7244679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.7244679Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') server: @@ -102,25 +102,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948(PartitionKey='pk10a31948',RowKey='rk10a31948') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A10%3A53.3009415Z''\"","PartitionKey":"pk10a31948","RowKey":"rk10a31948","inf@odata.type":"Edm.Double","inf":"Infinity","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","nan@odata.type":"Edm.Double","nan":"NaN","Timestamp":"2020-10-01T01:10:53.3009415Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable10a31948/$metadata#uttable10a31948/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A01%3A57.7244679Z''\"","nan@odata.type":"Edm.Double","nan":"NaN","PartitionKey":"pk10a31948","RowKey":"rk10a31948","negativeinf@odata.type":"Edm.Double","negativeinf":"-Infinity","inf@odata.type":"Edm.Double","inf":"Infinity","Timestamp":"2020-10-02T20:01:57.7244679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT etag: - - W/"datetime'2020-10-01T01%3A10%3A53.3009415Z'" + - W/"datetime'2020-10-02T20%3A01%3A57.7244679Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -140,23 +140,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable10a31948') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -174,23 +174,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:10:53 GMT + - Fri, 02 Oct 2020 20:01:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml index 1c0a0ecfea54..0e44ccb4c296 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_conflict.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3cfe15a6"}' + body: !!python/unicode '{"TableName": "uttable3cfe15a6"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:08 GMT + - Fri, 02 Oct 2020 20:02:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:08 GMT + - Fri, 02 Oct 2020 20:02:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3cfe15a6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3cfe15a6","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A09.4528007Z'" + - W/"datetime'2020-10-02T20%3A02%3A15.2818695Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3cfe15a6", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3cfe15a6", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6/$metadata#uttable3cfe15a6/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A10.1790215Z''\"","PartitionKey":"pk3cfe15a6","RowKey":"rk3cfe15a6","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:10.1790215Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6/$metadata#uttable3cfe15a6/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A02%3A16.0352263Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk3cfe15a6","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk3cfe15a6","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:02:16.0352263Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A10.1790215Z'" + - W/"datetime'2020-10-02T20%3A02%3A16.0352263Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6(PartitionKey='pk3cfe15a6',RowKey='rk3cfe15a6') server: @@ -94,13 +95,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk3cfe15a6", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3cfe15a6", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk3cfe15a6", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk3cfe15a6", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -115,24 +117,24 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3cfe15a6 response: body: - string: "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified entity already exists.\\nRequestID:fd9b9bb3-0382-11eb-9dfe-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"EntityAlreadyExists\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified entity already exists.\\nRequestID:2b2d9cc0-04ea-11eb-af59-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -152,23 +154,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:15 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3cfe15a6') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -186,23 +188,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:16 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:10 GMT + - Fri, 02 Oct 2020 20:02:16 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:09 GMT + - Fri, 02 Oct 2020 20:02:15 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml index c48748f79e28..9c908c1e15cb 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_dictionary.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6984168a"}' + body: !!python/unicode '{"TableName": "uttable6984168a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:31 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6984168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6984168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:32 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A26.3077383Z'" + - W/"datetime'2020-10-02T20%3A02%3A32.3978247Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk6984168a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk6984168a", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk6984168a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk6984168a", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a/$metadata#uttable6984168a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A11%3A26.7978247Z''\"","PartitionKey":"pk6984168a","RowKey":"rk6984168a","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:11:26.7978247Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a/$metadata#uttable6984168a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A02%3A32.9270279Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk6984168a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk6984168a","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:02:32.9270279Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:25 GMT + - Fri, 02 Oct 2020 20:02:32 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A26.7978247Z'" + - W/"datetime'2020-10-02T20%3A02%3A32.9270279Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable6984168a(PartitionKey='pk6984168a',RowKey='rk6984168a') server: @@ -105,23 +106,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:32 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6984168a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:27 GMT + - Fri, 02 Oct 2020 20:02:33 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -139,23 +140,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:33 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:26 GMT + - Fri, 02 Oct 2020 20:02:33 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:27 GMT + - Fri, 02 Oct 2020 20:02:33 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml index 2fbdd6438250..ae3619ce2af6 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_pk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablee1c518b3"}' + body: !!python/unicode '{"TableName": "uttablee1c518b3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:42 GMT + - Fri, 02 Oct 2020 20:02:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:42 GMT + - Fri, 02 Oct 2020 20:02:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablee1c518b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablee1c518b3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A42.8426759Z'" + - W/"datetime'2020-10-02T20%3A02%3A49.0381319Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"RowKey": "rk", "RowKey@odata.type": "Edm.String", "PartitionKey": "", - "PartitionKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.Binary", "PartitionKey": + "", "RowKey@odata.type": "Edm.Binary", "RowKey": "cms="}' headers: Accept: - application/json;odata=minimalmetadata @@ -54,31 +54,31 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '114' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c518b3 response: body: - string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey - cannot be empty\\r\\nActivityId: 114ba081-0383-11eb-97b2-58961df361d1, documentdb-dotnet-sdk/2.11.0 - Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:114ba081-0383-11eb-97b2-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 3f1485a1-04ea-11eb-b9a4-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:3f1485a1-04ea-11eb-b9a4-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -98,23 +98,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c518b3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -132,23 +132,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:43 GMT + - Fri, 02 Oct 2020 20:02:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml index 8ca245ecb355..db1a84af7528 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_empty_string_rk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablee1c918b5"}' + body: !!python/unicode '{"TableName": "uttablee1c918b5"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablee1c918b5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablee1c918b5","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:05 GMT etag: - - W/"datetime'2020-10-01T01%3A11%3A59.0420487Z'" + - W/"datetime'2020-10-02T20%3A03%3A05.7893383Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk", "PartitionKey@odata.type": "Edm.String", "RowKey": - "", "RowKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.Binary", "PartitionKey": + "cGs=", "RowKey@odata.type": "Edm.Binary", "RowKey": ""}' headers: Accept: - application/json;odata=minimalmetadata @@ -54,31 +54,31 @@ interactions: Connection: - keep-alive Content-Length: - - '112' + - '114' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:05 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablee1c918b5 response: body: - string: "{\"odata.error\":{\"code\":\"PropertiesNeedValue\",\"message\":{\"lang\":\"en-us\",\"value\":\"PartitionKey/RowKey - cannot be empty\\r\\nActivityId: 1af35196-0383-11eb-b7b0-58961df361d1, documentdb-dotnet-sdk/2.11.0 - Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:1af35196-0383-11eb-b7b0-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 49049eae-04ea-11eb-ac4f-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:49049eae-04ea-11eb-ac4f-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:11:58 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -98,23 +98,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablee1c918b5') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -132,23 +132,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:11:59 GMT + - Fri, 02 Oct 2020 20:03:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml index a555741d5390..5342581b1162 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_pk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6a1e1688"}' + body: !!python/unicode '{"TableName": "uttable6a1e1688"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:14 GMT + - Fri, 02 Oct 2020 20:03:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:14 GMT + - Fri, 02 Oct 2020 20:03:21 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6a1e1688","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6a1e1688","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A15.2749063Z'" + - W/"datetime'2020-10-02T20%3A03%3A22.6103815Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a1e1688') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:15 GMT + - Fri, 02 Oct 2020 20:03:22 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml index 5ee12980d4e8..f03d9a44006f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_missing_rk.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable6a22168a"}' + body: !!python/unicode '{"TableName": "uttable6a22168a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:30 GMT + - Fri, 02 Oct 2020 20:03:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:30 GMT + - Fri, 02 Oct 2020 20:03:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable6a22168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable6a22168a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A31.3918471Z'" + - W/"datetime'2020-10-02T20%3A03%3A39.7326855Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:39 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable6a22168a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:31 GMT + - Fri, 02 Oct 2020 20:03:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml index ce19b17be2d5..fc869158d5c1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable2cff19c2"}' + body: !!python/unicode '{"TableName": "uttable2cff19c2"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:55 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:55 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable2cff19c2","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable2cff19c2","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A47.5814919Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.1804167Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk2cff19c2", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2cff19c2", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2cff19c2", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2cff19c2", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=fullmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2 response: body: - string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A03%3A57.7900039Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2cff19c2","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2cff19c2","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:03:57.7900039Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.7900039Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey='pk2cff19c2',RowKey='rk2cff19c2') response: body: - string: '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A12%3A48.0254983Z''\"","PartitionKey":"pk2cff19c2","RowKey":"rk2cff19c2","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:12:48.0254983Z"}' + string: !!python/unicode '{"odata.type":"tablestestcosmosname.uttable2cff19c2","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.editLink":"uttable2cff19c2(PartitionKey=''pk2cff19c2'',RowKey=''rk2cff19c2'')","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable2cff19c2/$metadata#uttable2cff19c2/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A03%3A57.7900039Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2cff19c2","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2cff19c2","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:03:57.7900039Z"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT etag: - - W/"datetime'2020-10-01T01%3A12%3A48.0254983Z'" + - W/"datetime'2020-10-02T20%3A03%3A57.7900039Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:47 GMT + - Fri, 02 Oct 2020 20:03:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2cff19c2') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:58 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:12:48 GMT + - Fri, 02 Oct 2020 20:03:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml index 760781708dbc..781f13040808 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_hook.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable539e1620"}' + body: !!python/unicode '{"TableName": "uttable539e1620"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:03 GMT + - Fri, 02 Oct 2020 20:04:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:03 GMT + - Fri, 02 Oct 2020 20:04:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable539e1620","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable539e1620","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A03.8791687Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.4016391Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk539e1620", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk539e1620", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk539e1620", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk539e1620", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A04%3A14.9373959Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk539e1620","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk539e1620","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:04:14.9373959Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.9373959Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620(PartitionKey='pk539e1620',RowKey='rk539e1620') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A13%3A04.2926599Z''\"","PartitionKey":"pk539e1620","RowKey":"rk539e1620","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:04.2926599Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable539e1620/$metadata#uttable539e1620/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A04%3A14.9373959Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk539e1620","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk539e1620","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:04:14.9373959Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A04.2926599Z'" + - W/"datetime'2020-10-02T20%3A04%3A14.9373959Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable539e1620') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:15 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:15 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:04 GMT + - Fri, 02 Oct 2020 20:04:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml index ba64b00d01d6..25b703dccfc0 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int32_value_throws.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5db41e0b"}' + body: !!python/unicode '{"TableName": "uttable5db41e0b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:19 GMT + - Fri, 02 Oct 2020 20:04:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:19 GMT + - Fri, 02 Oct 2020 20:04:30 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5db41e0b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5db41e0b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:30 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A20.0658439Z'" + - W/"datetime'2020-10-02T20%3A04%3A31.1876615Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5db41e0b') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:20 GMT + - Fri, 02 Oct 2020 20:04:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml index 9073a287b90d..7540303c62d9 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_large_int64_value_throws.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5dfd1e10"}' + body: !!python/unicode '{"TableName": "uttable5dfd1e10"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:35 GMT + - Fri, 02 Oct 2020 20:04:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:35 GMT + - Fri, 02 Oct 2020 20:04:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5dfd1e10","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5dfd1e10","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:47 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A36.4036615Z'" + - W/"datetime'2020-10-02T20%3A04%3A47.8895111Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') server: @@ -55,23 +55,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5dfd1e10') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -89,23 +89,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:36 GMT + - Fri, 02 Oct 2020 20:04:48 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:37 GMT + - Fri, 02 Oct 2020 20:04:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml index 6ea642e45c9d..6aeccdc22016 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_insert_entity_with_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablef99c18ec"}' + body: !!python/unicode '{"TableName": "uttablef99c18ec"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:03 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablef99c18ec","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablef99c18ec","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:51 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A52.5539847Z'" + - W/"datetime'2020-10-02T20%3A05%3A04.5035015Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkf99c18ec", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkf99c18ec", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkf99c18ec", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkf99c18ec", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=nometadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec response: body: - string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pkf99c18ec","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkf99c18ec","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:05.0368007Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + - W/"datetime'2020-10-02T20%3A05%3A05.0368007Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') server: @@ -105,25 +106,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablef99c18ec(PartitionKey='pkf99c18ec',RowKey='rkf99c18ec') response: body: - string: '{"PartitionKey":"pkf99c18ec","RowKey":"rkf99c18ec","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:13:53.0127367Z"}' + string: !!python/unicode '{"binary":"YmluYXJ5","PartitionKey":"pkf99c18ec","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkf99c18ec","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:05.0368007Z"}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT etag: - - W/"datetime'2020-10-01T01%3A13%3A53.0127367Z'" + - W/"datetime'2020-10-02T20%3A05%3A05.0368007Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -143,23 +144,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:52 GMT + - Fri, 02 Oct 2020 20:05:04 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablef99c18ec') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -177,23 +178,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:05 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:13:53 GMT + - Fri, 02 Oct 2020 20:05:04 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml index d4c417797e75..375ae9188862 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_none_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefd871474"}' + body: !!python/unicode '{"TableName": "uttablefd871474"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:20 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:20 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefd871474","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefd871474","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.1410439Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.2126215Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') server: @@ -44,8 +44,8 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkfd871474", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkfd871474", "RowKey@odata.type": "Edm.String"}' + body: !!python/unicode '{"PartitionKey@odata.type": "Edm.String", "PartitionKey": + "pkfd871474", "RowKey@odata.type": "Edm.String", "RowKey": "rkfd871474"}' headers: Accept: - application/json;odata=minimalmetadata @@ -60,25 +60,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A21.6302087Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-02T20:05:21.6302087Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.6302087Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') server: @@ -100,25 +100,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474(PartitionKey='pkfd871474',RowKey='rkfd871474') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A09.6216071Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-01T01:14:09.6216071Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablefd871474/$metadata#uttablefd871474/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A21.6302087Z''\"","PartitionKey":"pkfd871474","RowKey":"rkfd871474","Timestamp":"2020-10-02T20:05:21.6302087Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:08 GMT + - Fri, 02 Oct 2020 20:05:21 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A09.6216071Z'" + - W/"datetime'2020-10-02T20%3A05%3A21.6302087Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -138,23 +138,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefd871474') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:10 GMT + - Fri, 02 Oct 2020 20:05:21 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -172,23 +172,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:09 GMT + - Fri, 02 Oct 2020 20:05:21 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:10 GMT + - Fri, 02 Oct 2020 20:05:21 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml index b02a91e5db86..0acf5e01d4d4 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable9c05125e"}' + body: !!python/unicode '{"TableName": "uttable9c05125e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:24 GMT + - Fri, 02 Oct 2020 20:05:36 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:24 GMT + - Fri, 02 Oct 2020 20:05:36 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:37 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A25.4972935Z'" + - W/"datetime'2020-10-02T20%3A05%3A37.9473415Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable9c05125e"}' + body: !!python/unicode '{"TableName": "querytable9c05125e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:25 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable9c05125e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A25.9755015Z'" + - W/"datetime'2020-10-02T20%3A05%3A38.4757255Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable9c05125e') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk9c05125e1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk9c05125e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk9c05125e1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.0228487Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.0228487Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A26.4612871Z'" + - W/"datetime'2020-10-02T20%3A05%3A39.0228487Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk9c05125e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk9c05125e12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk9c05125e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk9c05125e12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e/$metadata#querytable9c05125e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.1373319Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.1373319Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A26.5155591Z'" + - W/"datetime'2020-10-02T20%3A05%3A39.1373319Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e(PartitionKey='pk9c05125e',RowKey='rk9c05125e12') server: @@ -199,23 +201,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable9c05125e() response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.4612871Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.4612871Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A26.5155591Z''\"","PartitionKey":"pk9c05125e","RowKey":"rk9c05125e12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:26.5155591Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable9c05125e"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.0228487Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.0228487Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A39.1373319Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk9c05125e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk9c05125e12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:39.1373319Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable9c05125e"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable9c05125e') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:39 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytable9c05125e"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:26 GMT + - Fri, 02 Oct 2020 20:05:38 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml index 40a0a8d8e1f2..74323a7d6b70 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_full_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablec80b1810"}' + body: !!python/unicode '{"TableName": "uttablec80b1810"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:41 GMT + - Fri, 02 Oct 2020 20:05:54 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:41 GMT + - Fri, 02 Oct 2020 20:05:54 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A42.6951687Z'" + - W/"datetime'2020-10-02T20%3A05%3A55.7819399Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytablec80b1810"}' + body: !!python/unicode '{"TableName": "querytablec80b1810"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:55 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:42 GMT + - Fri, 02 Oct 2020 20:05:55 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytablec80b1810","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.2257031Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.3908103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablec80b1810') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkc80b18101", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkc80b1810", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkc80b18101", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7045255Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.8798727Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b18101","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:56.8798727Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.7045255Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.8798727Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b18101') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pkc80b1810", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkc80b181012", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkc80b1810", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkc80b181012", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:14:43.7671943Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810/$metadata#querytablec80b1810/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.9972231Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b181012","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:05:56.9972231Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A43.7671943Z'" + - W/"datetime'2020-10-02T20%3A05%3A56.9972231Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey='pkc80b1810',RowKey='rkc80b181012') server: @@ -197,25 +199,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=fullmetadata x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810() response: body: - string: '{"value":[{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7045255Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b18101","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7045255Z"},{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.etag":"W/\"datetime''2020-10-01T01%3A14%3A43.7671943Z''\"","PartitionKey":"pkc80b1810","RowKey":"rkc80b181012","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-01T01:14:43.7671943Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablec80b1810"}' + string: !!python/unicode '{"value":[{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b18101'')","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.8798727Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b18101","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:05:56.8798727Z"},{"odata.type":"tablestestcosmosname.querytablec80b1810","odata.id":"https://tablestestcosmosname.table.cosmos.azure.com/querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.editLink":"querytablec80b1810(PartitionKey=''pkc80b1810'',RowKey=''rkc80b181012'')","odata.etag":"W/\"datetime''2020-10-02T20%3A05%3A56.9972231Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkc80b1810","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkc80b181012","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp@odata.type":"Edm.DateTime","Timestamp":"2020-10-02T20:05:56.9972231Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablec80b1810"}' headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:56 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablec80b1810') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:43 GMT + - Fri, 02 Oct 2020 20:05:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml index 2257527518a3..e7ef435f3929 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_no_metadata.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable981b173a"}' + body: !!python/unicode '{"TableName": "uttable981b173a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:12 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT etag: - - W/"datetime'2020-10-01T01%3A14%3A59.6714503Z'" + - W/"datetime'2020-10-02T20%3A06%3A13.4197255Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable981b173a"}' + body: !!python/unicode '{"TableName": "querytable981b173a"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable981b173a","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:13 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.1689095Z'" + - W/"datetime'2020-10-02T20%3A06%3A13.9368455Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable981b173a') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk981b173a1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk981b173a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk981b173a1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7310855Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A14.4482311Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.4482311Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.7310855Z'" + - W/"datetime'2020-10-02T20%3A06%3A14.4482311Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk981b173a", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk981b173a12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk981b173a", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk981b173a12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A00.7846407Z''\"","PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a/$metadata#querytable981b173a/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A14.5615879Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.5615879Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A00.7846407Z'" + - W/"datetime'2020-10-02T20%3A06%3A14.5615879Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a(PartitionKey='pk981b173a',RowKey='rk981b173a12') server: @@ -197,25 +199,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) accept: - application/json;odata=nometadata x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable981b173a() response: body: - string: '{"value":[{"PartitionKey":"pk981b173a","RowKey":"rk981b173a1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7310855Z"},{"PartitionKey":"pk981b173a","RowKey":"rk981b173a12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday":"1973-10-04T00:00:00.0000000Z","birthday":"1970-10-04T00:00:00.0000000Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:00.7846407Z"}]}' + string: !!python/unicode '{"value":[{"binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a1","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.4482311Z"},{"binary":"YmluYXJ5","PartitionKey":"pk981b173a","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk981b173a12","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:14.5615879Z"}]}' headers: content-type: - application/json;odata=nometadata date: - - Thu, 01 Oct 2020 01:14:59 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -235,23 +237,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable981b173a') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:01 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -269,23 +271,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:00 GMT + - Fri, 02 Oct 2020 20:06:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:01 GMT + - Fri, 02 Oct 2020 20:06:14 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml index 16079027ba84..c01d5ae2309f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_filter.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable98cd175e"}' + body: !!python/unicode '{"TableName": "uttable98cd175e"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:30 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable98cd175e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable98cd175e","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A16.5877255Z'" + - W/"datetime'2020-10-02T20%3A06%3A30.8463623Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk98cd175e", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk98cd175e", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk98cd175e", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk98cd175e", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e/$metadata#uttable98cd175e/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e/$metadata#uttable98cd175e/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A31.4207239Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk98cd175e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk98cd175e","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:31.4207239Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A17.0206727Z'" + - W/"datetime'2020-10-02T20%3A06%3A31.4207239Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e(PartitionKey='pk98cd175e',RowKey='rk98cd175e') server: @@ -105,23 +106,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable98cd175e() response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A17.0206727Z''\"","PartitionKey":"pk98cd175e","RowKey":"rk98cd175e","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:17.0206727Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable98cd175e"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A31.4207239Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk98cd175e","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk98cd175e","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:31.4207239Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable98cd175e"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -141,23 +142,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:16 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable98cd175e') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -175,23 +176,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:17 GMT + - Fri, 02 Oct 2020 20:06:31 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml index 87ce9c2fd999..347769ec69e1 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5436162b"}' + body: !!python/unicode '{"TableName": "uttable5436162b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:47 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A32.7987719Z'" + - W/"datetime'2020-10-02T20%3A06%3A47.8040071Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable5436162b"}' + body: !!python/unicode '{"TableName": "querytable5436162b"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:32 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable5436162b","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.2164615Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.3664903Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable5436162b') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.8762375Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.8762375Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.7223175Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.8762375Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.9868295Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.9868295Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.7715719Z'" + - W/"datetime'2020-10-02T20%3A06%3A48.9868295Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b12') server: @@ -188,13 +190,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5436162b", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5436162b123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5436162b", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5436162b123", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -209,25 +212,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.8290183Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.8290183Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b/$metadata#querytable5436162b/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A49.0895367Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:49.0895367Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A33.8290183Z'" + - W/"datetime'2020-10-02T20%3A06%3A49.0895367Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b(PartitionKey='pk5436162b',RowKey='rk5436162b123') server: @@ -249,29 +252,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable5436162b()?$top=2 response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7223175Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7223175Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A33.7715719Z''\"","PartitionKey":"pk5436162b","RowKey":"rk5436162b12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:33.7715719Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable5436162b"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.8762375Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.8762375Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A06%3A48.9868295Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5436162b","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5436162b12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:06:48.9868295Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable5436162b"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAI7bs-ICAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJLwCW0CAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -289,23 +292,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5436162b') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:48 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -323,23 +326,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:34 GMT + - Fri, 02 Oct 2020 20:06:49 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:34 GMT + - Fri, 02 Oct 2020 20:06:49 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:33 GMT + - Fri, 02 Oct 2020 20:06:49 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml index cf7a6da5be71..1d361b317e0f 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_entities_with_top_and_next.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable2da719db"}' + body: !!python/unicode '{"TableName": "uttable2da719db"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:04 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A49.6372231Z'" + - W/"datetime'2020-10-02T20%3A07%3A05.3573127Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytable2da719db"}' + body: !!python/unicode '{"TableName": "querytable2da719db"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytable2da719db","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.1324295Z'" + - W/"datetime'2020-10-02T20%3A07%3A05.9209223Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytable2da719db') server: @@ -88,13 +88,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db1", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db1", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -109,25 +110,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.3817223Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.3817223Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.5827847Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.3817223Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1') server: @@ -138,13 +139,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db12", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db12", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -159,25 +161,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.4906759Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.4906759Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.6338823Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.4906759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12') server: @@ -188,13 +190,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db123", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db123", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -209,25 +212,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.5861127Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.5861127Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:05 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.6861063Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.5861127Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db123') server: @@ -238,13 +241,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db1234", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db1234", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -259,25 +263,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.6704903Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1234","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.6704903Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.7490823Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.6704903Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db1234') server: @@ -288,13 +292,14 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk2da719db", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk2da719db12345", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk2da719db", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk2da719db12345", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -309,25 +314,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db/$metadata#querytable2da719db/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.7527175Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12345","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.7527175Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT etag: - - W/"datetime'2020-10-01T01%3A15%3A50.8151303Z'" + - W/"datetime'2020-10-02T20%3A07%3A06.7527175Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db(PartitionKey='pk2da719db',RowKey='rk2da719db12345') server: @@ -349,29 +354,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2 response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.5827847Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.5827847Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6338823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6338823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.3817223Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.3817223Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.4906759Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.4906759Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAIjOg4YCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJJv6IgCAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -389,29 +394,29 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YCAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?NextRowKey=NA&$top=2&NextPartitionKey=%7B%22token%22%3A%22%2BiBeAJJv6IgCAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.6861063Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db123","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.6861063Z"},{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.7490823Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db1234","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.7490823Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.5861127Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db123","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.5861127Z"},{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.6704903Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db1234","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.6704903Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: - chunked x-ms-continuation-nextpartitionkey: - - '{"token":"aI0BAIjOg4YEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' + - '{"token":"+iBeAJJv6IgEAAAAAAAAAA==","range":{"min":"","max":"FF"}}' x-ms-continuation-nextrowkey: - NA status: @@ -429,23 +434,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: GET - uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?$top=2&NextPartitionKey=%7B%22token%22%3A%22aI0BAIjOg4YEAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D&NextRowKey=NA + uri: https://tablestestcosmosname.table.cosmos.azure.com/querytable2da719db()?NextRowKey=NA&$top=2&NextPartitionKey=%7B%22token%22%3A%22%2BiBeAJJv6IgEAAAAAAAAAA%3D%3D%22%2C%22range%22%3A%7B%22min%22%3A%22%22%2C%22max%22%3A%22FF%22%7D%7D response: body: - string: '{"value":[{"odata.etag":"W/\"datetime''2020-10-01T01%3A15%3A50.8151303Z''\"","PartitionKey":"pk2da719db","RowKey":"rk2da719db12345","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:15:50.8151303Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' + string: !!python/unicode '{"value":[{"odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A06.7527175Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk2da719db","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk2da719db12345","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:06.7527175Z"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytable2da719db"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:49 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -465,23 +470,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:50 GMT + - Fri, 02 Oct 2020 20:07:06 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable2da719db') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -499,23 +504,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:07 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:07 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:15:51 GMT + - Fri, 02 Oct 2020 20:07:06 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml index 2c621198cb7a..d0d6617c2386 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_user_filter.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttabled5ad139d"}' + body: !!python/unicode '{"TableName": "uttabled5ad139d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:06 GMT + - Fri, 02 Oct 2020 20:07:22 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:06 GMT + - Fri, 02 Oct 2020 20:07:22 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttabled5ad139d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttabled5ad139d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A06.8054023Z'" + - W/"datetime'2020-10-02T20%3A07%3A23.2599047Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkd5ad139d", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkd5ad139d", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkd5ad139d", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkd5ad139d", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d/$metadata#uttabled5ad139d/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A16%3A07.3010183Z''\"","PartitionKey":"pkd5ad139d","RowKey":"rkd5ad139d","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:16:07.3010183Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d/$metadata#uttabled5ad139d/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A07%3A23.7148679Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkd5ad139d","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkd5ad139d","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:07:23.7148679Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A07.3010183Z'" + - W/"datetime'2020-10-02T20%3A07%3A23.7148679Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttabled5ad139d(PartitionKey='pkd5ad139d',RowKey='rkd5ad139d') server: @@ -105,23 +106,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttabled5ad139d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -139,23 +140,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:07 GMT + - Fri, 02 Oct 2020 20:07:23 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml index 77486e96bbc9..dd84ed2c4cca 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_query_zero_entities.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablefe63147d"}' + body: !!python/unicode '{"TableName": "uttablefe63147d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:22 GMT + - Fri, 02 Oct 2020 20:07:38 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:22 GMT + - Fri, 02 Oct 2020 20:07:38 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A23.0771719Z'" + - W/"datetime'2020-10-02T20%3A07%3A39.8602759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') server: @@ -44,7 +44,7 @@ interactions: code: 201 message: Ok - request: - body: '{"TableName": "querytablefe63147d"}' + body: !!python/unicode '{"TableName": "querytablefe63147d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,25 +59,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:23 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"querytablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"querytablefe63147d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A23.6513287Z'" + - W/"datetime'2020-10-02T20%3A07%3A40.4315655Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('querytablefe63147d') server: @@ -99,23 +99,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/querytablefe63147d() response: body: - string: '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablefe63147d"}' + string: !!python/unicode '{"value":[],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#querytablefe63147d"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -135,23 +135,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablefe63147d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:40 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -169,23 +169,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:24 GMT + - Fri, 02 Oct 2020 20:07:41 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml index a9b44c64472f..c86c939f5e96 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_name.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable26b6152f"}' + body: !!python/unicode '{"TableName": "uttable26b6152f"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:39 GMT + - Fri, 02 Oct 2020 20:07:56 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:39 GMT + - Fri, 02 Oct 2020 20:07:56 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable26b6152f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable26b6152f","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A40.4289543Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.0634759Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk26b6152f", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": - "\ua015", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + body: !!python/unicode '{"\u554a\u9f44\u4e02\u72db\u72dc": "\ua015", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "PartitionKey": "pk26b6152f", + "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String", "RowKey": "rk26b6152f"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5030791Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"Timestamp\":\"2020-10-02T20:07:57.5030791Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A40.9632775Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.5030791Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='rk26b6152f') server: @@ -90,9 +90,9 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk26b6152f", "PartitionKey@odata.type": "Edm.String", - "RowKey": "test2", "RowKey@odata.type": "Edm.String", "\u554a\u9f44\u4e02\u72db\u72dc": - "hello", "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String"}' + body: !!python/unicode '{"\u554a\u9f44\u4e02\u72db\u72dc": "hello", "RowKey@odata.type": + "Edm.String", "PartitionKey@odata.type": "Edm.String", "PartitionKey": "pk26b6152f", + "\u554a\u9f44\u4e02\u72db\u72dc@odata.type": "Edm.String", "RowKey": "test2"}' headers: Accept: - application/json;odata=minimalmetadata @@ -107,25 +107,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f/$metadata#uttable26b6152f/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5734279Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:07:57.5734279Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A41.0202119Z'" + - W/"datetime'2020-10-02T20%3A07%3A57.5734279Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f(PartitionKey='pk26b6152f',RowKey='test2') server: @@ -147,23 +147,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable26b6152f() response: body: - string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A40.9632775Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:40.9632775Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A41.0202119Z'\\\"\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"Timestamp\":\"2020-10-01T01:16:41.0202119Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable26b6152f\"}" + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5030791Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"\uA015\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"rk26b6152f\",\"Timestamp\":\"2020-10-02T20:07:57.5030791Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A07%3A57.5734279Z'\\\"\",\"\u554A\u9F44\u4E02\u72DB\u72DC\":\"hello\",\"PartitionKey\":\"pk26b6152f\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:07:57.5734279Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable26b6152f\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -183,23 +183,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable26b6152f') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -217,23 +217,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:41 GMT + - Fri, 02 Oct 2020 20:07:57 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:41 GMT + - Fri, 02 Oct 2020 20:07:57 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:40 GMT + - Fri, 02 Oct 2020 20:07:57 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml index 0a4fe06ef34b..58583798e247 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_unicode_property_value.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable3c8f15ab"}' + body: !!python/unicode '{"TableName": "uttable3c8f15ab"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:12 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:12 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable3c8f15ab","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable3c8f15ab","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A56.8899591Z'" + - W/"datetime'2020-10-02T20%3A08%3A13.5412743Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') server: @@ -44,9 +44,9 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk3c8f15ab", "RowKey@odata.type": "Edm.String", "Description": "\ua015", - "Description@odata.type": "Edm.String"}' + body: !!python/unicode '{"Description": "\ua015", "PartitionKey@odata.type": "Edm.String", + "PartitionKey": "pk3c8f15ab", "RowKey": "rk3c8f15ab", "Description@odata.type": + "Edm.String", "RowKey@odata.type": "Edm.String"}' headers: Accept: - application/json;odata=minimalmetadata @@ -61,25 +61,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.0327943Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Timestamp\":\"2020-10-02T20:08:14.0327943Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A57.3673479Z'" + - W/"datetime'2020-10-02T20%3A08%3A14.0327943Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='rk3c8f15ab') server: @@ -90,9 +90,9 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk3c8f15ab", "PartitionKey@odata.type": "Edm.String", - "RowKey": "test2", "RowKey@odata.type": "Edm.String", "Description": "\ua015", - "Description@odata.type": "Edm.String"}' + body: !!python/unicode '{"Description": "\ua015", "PartitionKey@odata.type": "Edm.String", + "PartitionKey": "pk3c8f15ab", "RowKey": "test2", "Description@odata.type": "Edm.String", + "RowKey@odata.type": "Edm.String"}' headers: Accept: - application/json;odata=minimalmetadata @@ -107,25 +107,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab response: body: - string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}" + string: "{\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab/$metadata#uttable3c8f15ab/@Element\",\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.1216775Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:08:14.1216775Z\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:56 GMT + - Fri, 02 Oct 2020 20:08:13 GMT etag: - - W/"datetime'2020-10-01T01%3A16%3A57.4277639Z'" + - W/"datetime'2020-10-02T20%3A08%3A14.1216775Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab(PartitionKey='pk3c8f15ab',RowKey='test2') server: @@ -147,23 +147,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable3c8f15ab() response: body: - string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.3673479Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.3673479Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-01T01%3A16%3A57.4277639Z'\\\"\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Description\":\"\uA015\",\"Timestamp\":\"2020-10-01T01:16:57.4277639Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable3c8f15ab\"}" + string: "{\"value\":[{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.0327943Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"rk3c8f15ab\",\"Timestamp\":\"2020-10-02T20:08:14.0327943Z\"},{\"odata.etag\":\"W/\\\"datetime'2020-10-02T20%3A08%3A14.1216775Z'\\\"\",\"Description\":\"\uA015\",\"PartitionKey\":\"pk3c8f15ab\",\"RowKey\":\"test2\",\"Timestamp\":\"2020-10-02T20:08:14.1216775Z\"}],\"odata.metadata\":\"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#uttable3c8f15ab\"}" headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -183,23 +183,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable3c8f15ab') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -217,23 +217,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:14 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:14 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:16:57 GMT + - Fri, 02 Oct 2020 20:08:13 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml index e87b63303740..6ad7838c36e7 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable88a411e3"}' + body: !!python/unicode '{"TableName": "uttable88a411e3"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:23 GMT + - Fri, 02 Oct 2020 17:46:58 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:23 GMT + - Fri, 02 Oct 2020 17:46:58 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable88a411e3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable88a411e3","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:58 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A24.5894151Z'" + - W/"datetime'2020-10-02T17%3A46%3A59.5513351Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk88a411e3", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.Binary", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "bWFsZQ==", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk88a411e3", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -59,31 +60,31 @@ interactions: Connection: - keep-alive Content-Length: - - '577' + - '581' Content-Type: - application/json;odata=nometadata DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.3736967Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:25.3736967Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-02T17%3A47%3A00.0196103Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk88a411e3","ratio":3.1,"age":39,"married":true,"sex@odata.type":"Edm.Binary","sex":"bWFsZQ==","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk88a411e3","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T17:47:00.0196103Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.3736967Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0196103Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk88a411e3", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk88a411e3", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.Binary", "age@odata.type": "Edm.Binary", + "PartitionKey": "pk88a411e3", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "YWJj", "sex": "ZmVtYWxl", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk88a411e3", "sign": "YXF1YXJpdXM=", + "sign@odata.type": "Edm.Binary"}' headers: Accept: - application/json @@ -107,33 +108,33 @@ interactions: Connection: - keep-alive Content-Length: - - '353' + - '360' Content-Type: - application/json DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0909831Z'" server: - Microsoft-HTTPAPI/2.0 status: @@ -151,25 +152,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3(PartitionKey='pk88a411e3',RowKey='rk88a411e3') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A25.4297095Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:18:25.4297095Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable88a411e3/$metadata#uttable88a411e3/@Element","odata.etag":"W/\"datetime''2020-10-02T17%3A47%3A00.0909831Z''\"","PartitionKey":"pk88a411e3","RowKey":"rk88a411e3","age@odata.type":"Edm.Binary","age":"YWJj","sex@odata.type":"Edm.Binary","sex":"ZmVtYWxl","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","sign@odata.type":"Edm.Binary","sign":"YXF1YXJpdXM=","Timestamp":"2020-10-02T17:47:00.0909831Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A25.4297095Z'" + - W/"datetime'2020-10-02T17%3A47%3A00.0909831Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -189,23 +190,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:46:59 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable88a411e3') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -223,23 +224,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytable981b173a"},{"TableName":"querytablefe63147d"},{"TableName":"querytable5436162b"},{"TableName":"querytablec80b1810"},{"TableName":"querytable9c05125e"},{"TableName":"querytable2da719db"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:25 GMT + - Fri, 02 Oct 2020 17:47:00 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml index 0942ebaa4634..945cba7416ce 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_not_existing.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable974c175d"}' + body: !!python/unicode '{"TableName": "uttable974c175d"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:29 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:29 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable974c175d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable974c175d","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:30 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A41.3170695Z'" + - W/"datetime'2020-10-02T20%3A08%3A30.1496327Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') server: @@ -44,11 +44,11 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk974c175d", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk974c175d", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pk974c175d", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk974c175d", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -63,26 +63,26 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT If-Match: - '*' User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable974c175d(PartitionKey='pk974c175d',RowKey='rk974c175d') response: body: - string: "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The - specified resource does not exist.\\nRequestID:0ab16548-0384-11eb-a2cb-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"ResourceNotFound\",\"message\":{\"lang\":\"en-us\",\"value\":\"The + specified resource does not exist.\\nRequestID:0a6292b0-04eb-11eb-934b-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:18:40 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -102,23 +102,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable974c175d') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -136,23 +136,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:41 GMT + - Fri, 02 Oct 2020 20:08:30 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml index bb1ac2eefb32..a9bcf2e1444a 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_doesnt_match.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttable5f481a84"}' + body: !!python/unicode '{"TableName": "uttable5f481a84"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:56 GMT + - Fri, 02 Oct 2020 20:08:45 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:56 GMT + - Fri, 02 Oct 2020 20:08:45 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttable5f481a84","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttable5f481a84","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A57.5020039Z'" + - W/"datetime'2020-10-02T20%3A08%3A46.5445895Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pk5f481a84", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rk5f481a84", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84/$metadata#uttable5f481a84/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A18%3A58.0573191Z''\"","PartitionKey":"pk5f481a84","RowKey":"rk5f481a84","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:18:58.0573191Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84/$metadata#uttable5f481a84/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A08%3A46.9865479Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pk5f481a84","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rk5f481a84","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:08:46.9865479Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT etag: - - W/"datetime'2020-10-01T01%3A18%3A58.0573191Z'" + - W/"datetime'2020-10-02T20%3A08%3A46.9865479Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pk5f481a84", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rk5f481a84", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pk5f481a84", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rk5f481a84", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -113,27 +114,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT If-Match: - W/"datetime'2012-06-15T22%3A51%3A44.9662825Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: PATCH uri: https://tablestestcosmosname.table.cosmos.azure.com/uttable5f481a84(PartitionKey='pk5f481a84',RowKey='rk5f481a84') response: body: - string: "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One - of the input values is invalid.\\r\\nActivityId: 147be270-0384-11eb-a940-58961df361d1, - documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:147be270-0384-11eb-a940-58961df361d1\\n\"}}}\r\n" + string: !!python/unicode "{\"odata.error\":{\"code\":\"InvalidInput\",\"message\":{\"lang\":\"en-us\",\"value\":\"One + of the input values is invalid.\\r\\nActivityId: 1433d91e-04eb-11eb-919e-58961df361d1, + documentdb-dotnet-sdk/2.11.0 Host/64-bit MicrosoftWindowsNT/6.2.9200.0\\nRequestID:1433d91e-04eb-11eb-919e-58961df361d1\\n\"}}}\r\n" headers: content-type: - application/json;odata=fullmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -153,23 +154,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:46 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttable5f481a84') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -187,23 +188,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:18:58 GMT + - Fri, 02 Oct 2020 20:08:47 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:18:58 GMT + - Fri, 02 Oct 2020 20:08:47 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:18:57 GMT + - Fri, 02 Oct 2020 20:08:47 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml index 1fc66146a9c8..e6fde2d209f3 100644 --- a/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml +++ b/sdk/tables/azure-data-tables/tests/recordings/test_table_entity_cosmos.test_update_entity_with_if_matches.yaml @@ -1,6 +1,6 @@ interactions: - request: - body: '{"TableName": "uttablede911870"}' + body: !!python/unicode '{"TableName": "uttablede911870"}' headers: Accept: - application/json;odata=minimalmetadata @@ -15,25 +15,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"TableName":"uttablede911870","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' + string: !!python/unicode '{"TableName":"uttablede911870","odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables/@Element"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A13.9689479Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.2507399Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') server: @@ -44,13 +44,14 @@ interactions: code: 201 message: Ok - request: - body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": 39, "sex": - "male", "sex@odata.type": "Edm.String", "married": true, "deceased": false, - "ratio": 3.1, "evenratio": 3.0, "large": 933311100, "Birthday": "1973-10-04T00:00:00Z", - "Birthday@odata.type": "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime", "binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", "other": - 20, "clsid": "c9da6455-213d-42c9-9a79-3e9149a57833", "clsid@odata.type": "Edm.Guid"}' + body: !!python/unicode '{"binary": "YmluYXJ5", "binary@odata.type": "Edm.Binary", + "PartitionKey": "pkde911870", "ratio": 3.1, "RowKey@odata.type": "Edm.String", + "sex@odata.type": "Edm.String", "PartitionKey@odata.type": "Edm.String", "age": + 39, "married": true, "sex": "male", "large": 933311100, "Birthday@odata.type": + "Edm.DateTime", "birthday": "1970-10-04T00:00:00Z", "evenratio": 3.0, "clsid": + "c9da6455-213d-42c9-9a79-3e9149a57833", "RowKey": "rkde911870", "Birthday": + "1973-10-04T00:00:00Z", "clsid@odata.type": "Edm.Guid", "other": 20, "birthday@odata.type": + "Edm.DateTime", "deceased": false}' headers: Accept: - application/json;odata=minimalmetadata @@ -65,25 +66,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: POST uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870 response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.3695367Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":39,"sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":933311100,"Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","other":20,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","Timestamp":"2020-10-01T01:19:14.3695367Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A09%3A03.7533191Z''\"","binary@odata.type":"Edm.Binary","binary":"YmluYXJ5","PartitionKey":"pkde911870","ratio":3.1,"age":39,"married":true,"sex":"male","large":933311100,"birthday@odata.type":"Edm.DateTime","birthday":"1970-10-04T00:00:00.0000000Z","evenratio":3.0,"clsid@odata.type":"Edm.Guid","clsid":"c9da6455-213d-42c9-9a79-3e9149a57833","RowKey":"rkde911870","Birthday@odata.type":"Edm.DateTime","Birthday":"1973-10-04T00:00:00.0000000Z","other":20,"deceased":false,"Timestamp":"2020-10-02T20:09:03.7533191Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.7533191Z'" location: - https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') server: @@ -94,11 +95,11 @@ interactions: code: 201 message: Created - request: - body: '{"PartitionKey": "pkde911870", "PartitionKey@odata.type": "Edm.String", - "RowKey": "rkde911870", "RowKey@odata.type": "Edm.String", "age": "abc", "age@odata.type": - "Edm.String", "sex": "female", "sex@odata.type": "Edm.String", "sign": "aquarius", - "sign@odata.type": "Edm.String", "birthday": "1991-10-04T00:00:00Z", "birthday@odata.type": - "Edm.DateTime"}' + body: !!python/unicode '{"sex@odata.type": "Edm.String", "age@odata.type": "Edm.String", + "PartitionKey": "pkde911870", "RowKey@odata.type": "Edm.String", "PartitionKey@odata.type": + "Edm.String", "age": "abc", "sex": "female", "birthday@odata.type": "Edm.DateTime", + "birthday": "1991-10-04T00:00:00Z", "RowKey": "rkde911870", "sign": "aquarius", + "sign@odata.type": "Edm.String"}' headers: Accept: - application/json @@ -113,27 +114,27 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT If-Match: - - W/"datetime'2020-10-01T01%3A19%3A14.3695367Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.7533191Z'" User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: PUT uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:02 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.8597127Z'" server: - Microsoft-HTTPAPI/2.0 status: @@ -151,25 +152,25 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870(PartitionKey='pkde911870',RowKey='rkde911870') response: body: - string: '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-01T01%3A19%3A14.4223751Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":"abc","sex":"female","sign":"aquarius","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","Timestamp":"2020-10-01T01:19:14.4223751Z"}' + string: !!python/unicode '{"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/uttablede911870/$metadata#uttablede911870/@Element","odata.etag":"W/\"datetime''2020-10-02T20%3A09%3A03.8597127Z''\"","PartitionKey":"pkde911870","RowKey":"rkde911870","age":"abc","sex":"female","birthday@odata.type":"Edm.DateTime","birthday":"1991-10-04T00:00:00.0000000Z","sign":"aquarius","Timestamp":"2020-10-02T20:09:03.8597127Z"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT etag: - - W/"datetime'2020-10-01T01%3A19%3A14.4223751Z'" + - W/"datetime'2020-10-02T20%3A09%3A03.8597127Z'" server: - Microsoft-HTTPAPI/2.0 transfer-encoding: @@ -189,23 +190,23 @@ interactions: Content-Length: - '0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:03 GMT x-ms-version: - '2019-02-02' method: DELETE uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables('uttablede911870') response: body: - string: '' + string: !!python/unicode headers: content-length: - '0' date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT server: - Microsoft-HTTPAPI/2.0 status: @@ -223,23 +224,23 @@ interactions: DataServiceVersion: - '3.0' Date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:04 GMT User-Agent: - - azsdk-python-data-tables/12.0.0b2 Python/3.8.4 (Windows-10-10.0.19041-SP0) + - azsdk-python-data-tables/12.0.0b2 Python/2.7.18 (Windows-10-10.0.19041) x-ms-date: - - Thu, 01 Oct 2020 01:19:14 GMT + - Fri, 02 Oct 2020 20:09:04 GMT x-ms-version: - '2019-02-02' method: GET uri: https://tablestestcosmosname.table.cosmos.azure.com/Tables response: body: - string: '{"value":[{"TableName":"querytable981b173a"},{"TableName":"listtable33a8d15b3"},{"TableName":"querytable9c05125e"},{"TableName":"listtable13a8d15b3"},{"TableName":"listtable0d2351374"},{"TableName":"pytableasync52bb107b"},{"TableName":"listtable23a8d15b3"},{"TableName":"listtable2d2351374"},{"TableName":"querytable2da719db"},{"TableName":"querytablefe63147d"},{"TableName":"listtable03a8d15b3"},{"TableName":"querytablec80b1810"},{"TableName":"listtable3d2351374"},{"TableName":"querytable5436162b"},{"TableName":"listtable1d2351374"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' + string: !!python/unicode '{"value":[{"TableName":"querytablefe63147d"},{"TableName":"querytablec80b1810"},{"TableName":"querytable5436162b"},{"TableName":"querytable2da719db"},{"TableName":"querytable9c05125e"},{"TableName":"querytable981b173a"}],"odata.metadata":"https://tablestestcosmosname.table.cosmos.azure.com/$metadata#Tables"}' headers: content-type: - application/json;odata=minimalmetadata date: - - Thu, 01 Oct 2020 01:19:13 GMT + - Fri, 02 Oct 2020 20:09:03 GMT server: - Microsoft-HTTPAPI/2.0 transfer-encoding: diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py index 8e9cc1c67e38..b2c63601c010 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py @@ -75,42 +75,51 @@ def _create_query_table(self, entity_count): is set to a unique counter value starting at 1 (as a string). """ table_name = self.get_resource_name('querytable') - try: - table = self.ts.create_table(table_name) - except ResourceExistsError: - self.ts.delete_table(table_name) - self.ts.create_table(table_name) + table = self.ts.create_table(table_name) self.query_tables.append(table_name) client = self.ts.get_table_client(table_name) entity = self._create_random_entity_dict() for i in range(1, entity_count + 1): entity['RowKey'] = entity['RowKey'] + str(i) client.create_entity(entity) + # with self.ts.batch(table_name) as batch: + # for i in range(1, entity_count + 1): + # entity['RowKey'] = entity['RowKey'] + str(i) + # batch.create_entity(entity) return client def _create_random_base_entity_dict(self): """ Creates a dict-based entity with only pk and rk. """ - partition = self.get_resource_name('pk') - row = self.get_resource_name('rk') + # partition = self.get_resource_name('pk') + # row = self.get_resource_name('rk') + partition, row = self._create_pk_rk(None, None) return { 'PartitionKey': partition, 'RowKey': row, } + def _create_pk_rk(self, pk, rk): + try: + pk = pk if pk is not None else self.get_resource_name('pk').decode('utf-8') + rk = rk if rk is not None else self.get_resource_name('rk').decode('utf-8') + except AttributeError: + pk = pk if pk is not None else self.get_resource_name('pk') + rk = rk if rk is not None else self.get_resource_name('rk') + return pk, rk + def _create_random_entity_dict(self, pk=None, rk=None): """ Creates a dictionary-based entity with fixed values, using all of the supported data types. """ - partition = pk if pk is not None else self.get_resource_name('pk') - row = rk if rk is not None else self.get_resource_name('rk') + partition, row = self._create_pk_rk(pk, rk) properties = { 'PartitionKey': partition, 'RowKey': row, 'age': 39, - 'sex': 'male', + 'sex': u'male', 'married': True, 'deceased': False, 'optional': None, @@ -140,9 +149,9 @@ def _create_updated_entity_dict(self, partition, row): return { 'PartitionKey': partition, 'RowKey': row, - 'age': 'abc', - 'sex': 'female', - 'sign': 'aquarius', + 'age': u'abc', + 'sex': u'female', + 'sign': u'aquarius', 'birthday': datetime(1991, 10, 4, tzinfo=tzutc()) } @@ -198,7 +207,6 @@ def _assert_default_entity_json_full_metadata(self, entity, headers=None): # self.assertTrue('etag' in entity.odata) # self.assertTrue('editLink' in entity.odata) - def _assert_default_entity_json_no_metadata(self, entity, headers=None): ''' Asserts that the entity passed in matches the default entity. @@ -742,6 +750,7 @@ def test_get_entity_with_special_doubles(self, resource_group, location, cosmos_ self._tear_down() self.sleep(SLEEP_DELAY) + @pytest.mark.skip("Merge operation fails from Tables SDK") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_update_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -1085,15 +1094,14 @@ def test_delete_entity_with_if_doesnt_match(self, resource_group, location, cosm @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_unicode_property_value(self, resource_group, location, cosmos_account, cosmos_account_key): - ''' regression test for github issue #57''' # Arrange self._set_up(cosmos_account, cosmos_account_key) try: entity = self._create_random_base_entity_dict() entity1 = entity.copy() - entity1.update({'Description': u'ꀕ'}) + entity1.update({u'Description': u'ꀕ'}) entity2 = entity.copy() - entity2.update({'RowKey': u'test2', 'Description': u'ꀕ'}) + entity2.update({u'RowKey': u'test2', 'Description': u'ꀕ'}) # Act self.table.create_entity(entity=entity1) @@ -1185,15 +1193,15 @@ def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_ try: entity = self._create_random_base_entity_dict() entity.update({ - 'EmptyByte': '', + 'EmptyByte': b'', 'EmptyUnicode': u'', - 'SpacesOnlyByte': ' ', + 'SpacesOnlyByte': b' ', 'SpacesOnlyUnicode': u' ', - 'SpacesBeforeByte': ' Text', + 'SpacesBeforeByte': b' Text', 'SpacesBeforeUnicode': u' Text', - 'SpacesAfterByte': 'Text ', + 'SpacesAfterByte': b'Text ', 'SpacesAfterUnicode': u'Text ', - 'SpacesBeforeAndAfterByte': ' Text ', + 'SpacesBeforeAndAfterByte': b' Text ', 'SpacesBeforeAndAfterUnicode': u' Text ', }) @@ -1203,15 +1211,15 @@ def test_empty_and_spaces_property_value(self, resource_group, location, cosmos_ # Assert self.assertIsNotNone(resp) - self.assertEqual(resp.EmptyByte.value, '') + self.assertEqual(resp.EmptyByte.value, b'') self.assertEqual(resp.EmptyUnicode.value, u'') - self.assertEqual(resp.SpacesOnlyByte.value, ' ') + self.assertEqual(resp.SpacesOnlyByte.value, b' ') self.assertEqual(resp.SpacesOnlyUnicode.value, u' ') - self.assertEqual(resp.SpacesBeforeByte.value, ' Text') + self.assertEqual(resp.SpacesBeforeByte.value, b' Text') self.assertEqual(resp.SpacesBeforeUnicode.value, u' Text') - self.assertEqual(resp.SpacesAfterByte.value, 'Text ') + self.assertEqual(resp.SpacesAfterByte.value, b'Text ') self.assertEqual(resp.SpacesAfterUnicode.value, u'Text ') - self.assertEqual(resp.SpacesBeforeAndAfterByte.value, ' Text ') + self.assertEqual(resp.SpacesBeforeAndAfterByte.value, b' Text ') self.assertEqual(resp.SpacesBeforeAndAfterUnicode.value, u' Text ') finally: self._tear_down() @@ -1245,7 +1253,7 @@ def test_binary_property_value(self, resource_group, location, cosmos_account, c try: binary_data = b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n' entity = self._create_random_base_entity_dict() - entity.update({'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) + entity.update({u'binary': b'\x01\x02\x03\x04\x05\x06\x07\x08\t\n'}) # Act self.table.create_entity(entity=entity) @@ -1428,7 +1436,7 @@ def test_query_entities_with_select(self, resource_group, location, cosmos_accou for entity in entities: self.assertIsInstance(entities, TableEntity) self.assertEqual(entity.age, 39) - self.assertEqual(entity.sex, 'male') + self.assertEqual(entity.sex, u'male') self.assertFalse(hasattr(entity, "birthday")) self.assertFalse(hasattr(entity, "married")) self.assertFalse(hasattr(entity, "deceased")) From dab265976f967a3a3a4d58aea450d0262fcb8b20 Mon Sep 17 00:00:00 2001 From: seankane-msft Date: Fri, 2 Oct 2020 13:29:11 -0700 Subject: [PATCH 2/2] adding the issue number to the skip statement --- .../tests/test_table_cosmos.py | 2 +- .../tests/test_table_entity_cosmos.py | 20 +++++++++---------- .../tests/test_table_entity_cosmos_async.py | 20 +++++++++---------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py index c6438676f112..a525a97f1fa6 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_cosmos.py @@ -466,7 +466,7 @@ def test_set_table_acl_too_many_ids(self, resource_group, location, cosmos_accou if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @pytest.mark.live_test_only @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py index b2c63601c010..84e96c034f81 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos.py @@ -280,7 +280,7 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_etag(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -750,7 +750,7 @@ def test_get_entity_with_special_doubles(self, resource_group, location, cosmos_ self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_update_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -838,7 +838,7 @@ def test_update_entity_with_if_doesnt_match(self, resource_group, location, cosm self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -860,7 +860,7 @@ def test_insert_or_merge_entity_with_existing_entity(self, resource_group, locat self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -883,7 +883,7 @@ def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, l self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -905,7 +905,7 @@ def test_insert_or_replace_entity_with_existing_entity(self, resource_group, loc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -928,7 +928,7 @@ def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -949,7 +949,7 @@ def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_acc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -968,7 +968,7 @@ def test_merge_entity_not_existing(self, resource_group, location, cosmos_accoun self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -993,7 +993,7 @@ def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_acc self._tear_down() self.sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, cosmos_account_key): diff --git a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py index 9009d4a440f9..4237642279d8 100644 --- a/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py +++ b/sdk/tables/azure-data-tables/tests/test_table_entity_cosmos_async.py @@ -264,7 +264,7 @@ def _assert_valid_metadata(self, metadata): self.assertEqual(len(keys), 3) # --Test cases for entities ------------------------------------------ - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_entity_dictionary(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -817,7 +817,7 @@ async def test_update_entity_with_if_doesnt_match(self, resource_group, location if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -841,7 +841,7 @@ async def test_insert_or_merge_entity_with_existing_entity(self, resource_group, if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -865,7 +865,7 @@ async def test_insert_or_merge_entity_with_non_existing_entity(self, resource_gr if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_existing_entity(self, resource_group, location, cosmos_account, @@ -889,7 +889,7 @@ async def test_insert_or_replace_entity_with_existing_entity(self, resource_grou if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_group, location, cosmos_account, @@ -913,7 +913,7 @@ async def test_insert_or_replace_entity_with_non_existing_entity(self, resource_ if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -936,7 +936,7 @@ async def test_merge_entity(self, resource_group, location, cosmos_account, cosm if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_not_existing(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -956,7 +956,7 @@ async def test_merge_entity_not_existing(self, resource_group, location, cosmos_ if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_matches(self, resource_group, location, cosmos_account, cosmos_account_key): @@ -981,7 +981,7 @@ async def test_merge_entity_with_if_matches(self, resource_group, location, cosm if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_merge_entity_with_if_doesnt_match(self, resource_group, location, cosmos_account, @@ -1276,7 +1276,7 @@ async def test_binary_property_value(self, resource_group, location, cosmos_acco if self.is_live: sleep(SLEEP_DELAY) - @pytest.mark.skip("Merge operation fails from Tables SDK") + @pytest.mark.skip("Merge operation fails from Tables SDK, issue #13844") @CachedResourceGroupPreparer(name_prefix="tablestest") @CachedCosmosAccountPreparer(name_prefix="tablestest") async def test_timezone(self, resource_group, location, cosmos_account, cosmos_account_key):