Skip to content

Commit

Permalink
String unicode deserial (Azure#14958)
Browse files Browse the repository at this point in the history
  • Loading branch information
seankane-msft authored and iscai-msft committed Nov 4, 2020
1 parent 857d064 commit 2e816da
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 116 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interactions:
- request:
body: '{"TableName": "uttablede991889"}'
body: !!python/unicode '{"TableName": "uttablede991889"}'
headers:
Accept:
- application/json;odata=minimalmetadata
Expand All @@ -15,25 +15,25 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 21:39:10 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:10 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
x-ms-version:
- '2019-02-02'
method: POST
uri: https://tablesteststorname.table.core.windows.net/Tables
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablede991889"}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#Tables/@Element","TableName":"uttablede991889"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 21:39:11 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
location:
- https://tablesteststorname.table.core.windows.net/Tables('uttablede991889')
server:
Expand All @@ -48,9 +48,9 @@ interactions:
code: 201
message: Created
- request:
body: '{"PartitionKey": "pkde991889", "PartitionKey@odata.type": "Edm.String",
"RowKey": "rkde991889", "RowKey@odata.type": "Edm.String", "large": "1125899906842624",
"large@odata.type": "Edm.Int64"}'
body: !!python/unicode '{"large": "1125899906842624", "RowKey@odata.type": "Edm.String",
"PartitionKey@odata.type": "Edm.String", "large@odata.type": "Edm.Int64", "PartitionKey":
"pkde991889", "RowKey": "rkde991889"}'
headers:
Accept:
- application/json;odata=minimalmetadata
Expand All @@ -65,27 +65,27 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
x-ms-version:
- '2019-02-02'
method: POST
uri: https://tablesteststorname.table.core.windows.net/uttablede991889
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-10-28T21%3A39%3A12.0811252Z''\"","PartitionKey":"pkde991889","RowKey":"rkde991889","Timestamp":"2020-10-28T21:39:12.0811252Z","large@odata.type":"Edm.Int64","large":"1125899906842624"}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-11-02T20%3A02%3A10.3515865Z''\"","PartitionKey":"pkde991889","RowKey":"rkde991889","Timestamp":"2020-11-02T20:02:10.3515865Z","large@odata.type":"Edm.Int64","large":"1125899906842624"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 21:39:11 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
etag:
- W/"datetime'2020-10-28T21%3A39%3A12.0811252Z'"
- W/"datetime'2020-11-02T20%3A02%3A10.3515865Z'"
location:
- https://tablesteststorname.table.core.windows.net/uttablede991889(PartitionKey='pkde991889',RowKey='rkde991889')
server:
Expand All @@ -111,27 +111,27 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://tablesteststorname.table.core.windows.net/uttablede991889(PartitionKey='pkde991889',RowKey='rkde991889')
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-10-28T21%3A39%3A12.0811252Z''\"","PartitionKey":"pkde991889","RowKey":"rkde991889","Timestamp":"2020-10-28T21:39:12.0811252Z","large@odata.type":"Edm.Int64","large":"1125899906842624"}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-11-02T20%3A02%3A10.3515865Z''\"","PartitionKey":"pkde991889","RowKey":"rkde991889","Timestamp":"2020-11-02T20:02:10.3515865Z","large@odata.type":"Edm.Int64","large":"1125899906842624"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 21:39:11 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
etag:
- W/"datetime'2020-10-28T21%3A39%3A12.0811252Z'"
- W/"datetime'2020-11-02T20%3A02%3A10.3515865Z'"
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -144,9 +144,9 @@ interactions:
code: 200
message: OK
- request:
body: '{"PartitionKey": "pkde991889", "PartitionKey@odata.type": "Edm.String",
"RowKey": "negative", "RowKey@odata.type": "Edm.String", "large": "-1125899906842625",
"large@odata.type": "Edm.Int64"}'
body: !!python/unicode '{"large": "-1125899906842625", "RowKey@odata.type": "Edm.String",
"PartitionKey@odata.type": "Edm.String", "large@odata.type": "Edm.Int64", "PartitionKey":
"pkde991889", "RowKey": "negative"}'
headers:
Accept:
- application/json;odata=minimalmetadata
Expand All @@ -161,27 +161,27 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
x-ms-version:
- '2019-02-02'
method: POST
uri: https://tablesteststorname.table.core.windows.net/uttablede991889
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-10-28T21%3A39%3A12.2732596Z''\"","PartitionKey":"pkde991889","RowKey":"negative","Timestamp":"2020-10-28T21:39:12.2732596Z","large@odata.type":"Edm.Int64","large":"-1125899906842625"}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-11-02T20%3A02%3A10.4946891Z''\"","PartitionKey":"pkde991889","RowKey":"negative","Timestamp":"2020-11-02T20:02:10.4946891Z","large@odata.type":"Edm.Int64","large":"-1125899906842625"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
etag:
- W/"datetime'2020-10-28T21%3A39%3A12.2732596Z'"
- W/"datetime'2020-11-02T20%3A02%3A10.4946891Z'"
location:
- https://tablesteststorname.table.core.windows.net/uttablede991889(PartitionKey='pkde991889',RowKey='negative')
server:
Expand All @@ -207,27 +207,27 @@ interactions:
DataServiceVersion:
- '3.0'
Date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
x-ms-version:
- '2019-02-02'
method: GET
uri: https://tablesteststorname.table.core.windows.net/uttablede991889(PartitionKey='pkde991889',RowKey='negative')
response:
body:
string: '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-10-28T21%3A39%3A12.2732596Z''\"","PartitionKey":"pkde991889","RowKey":"negative","Timestamp":"2020-10-28T21:39:12.2732596Z","large@odata.type":"Edm.Int64","large":"-1125899906842625"}'
string: !!python/unicode '{"odata.metadata":"https://tablesteststorname.table.core.windows.net/$metadata#uttablede991889/@Element","odata.etag":"W/\"datetime''2020-11-02T20%3A02%3A10.4946891Z''\"","PartitionKey":"pkde991889","RowKey":"negative","Timestamp":"2020-11-02T20:02:10.4946891Z","large@odata.type":"Edm.Int64","large":"-1125899906842625"}'
headers:
cache-control:
- no-cache
content-type:
- application/json;odata=minimalmetadata;streaming=true;charset=utf-8
date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
etag:
- W/"datetime'2020-10-28T21%3A39%3A12.2732596Z'"
- W/"datetime'2020-11-02T20%3A02%3A10.4946891Z'"
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
Expand All @@ -251,25 +251,25 @@ interactions:
Content-Length:
- '0'
Date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
User-Agent:
- azsdk-python-data-tables/12.0.0b3 Python/3.9.0rc1 (Windows-10-10.0.19041-SP0)
- azsdk-python-data-tables/12.0.0b3 Python/2.7.18 (Windows-10-10.0.19041)
x-ms-date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:10 GMT
x-ms-version:
- '2019-02-02'
method: DELETE
uri: https://tablesteststorname.table.core.windows.net/Tables('uttablede991889')
response:
body:
string: ''
string: !!python/unicode
headers:
cache-control:
- no-cache
content-length:
- '0'
date:
- Wed, 28 Oct 2020 21:39:12 GMT
- Mon, 02 Nov 2020 20:02:09 GMT
server:
- Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0
x-content-type-options:
Expand Down
Loading

0 comments on commit 2e816da

Please sign in to comment.