File: test_table_entity.test_query_entities_with_property_resolver.yaml

package info (click to toggle)
azure-cosmos-table-python 1.0.5%2Bgit20191025-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,140 kB
  • sloc: python: 8,856; makefile: 265; sh: 7
file content (163 lines) | stat: -rw-r--r-- 7,940 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
interactions:
- request:
    body: '{"TableName": "querytablefb4a193b"}'
    headers:
      Accept: [application/json;odata=minimalmetadata]
      Connection: [keep-alive]
      Content-Length: ['35']
      Content-Type: [application/json]
      DataServiceVersion: [3.0;NetFx]
      MaxDataServiceVersion: ['3.0']
      Prefer: [return-no-content]
      User-Agent: [Azure-Storage/0.37.1-None (Python CPython 3.6.0; Windows 10)]
      x-ms-client-request-id: [82025c58-c5c1-11e7-bb7a-a08cfdf04b77]
      x-ms-date: ['Fri, 10 Nov 2017 02:47:35 GMT']
      x-ms-version: ['2017-04-17']
    method: POST
    uri: https://storagename.table.core.windows.net/Tables
  response:
    body: {string: ''}
    headers:
      Cache-Control: [no-cache]
      Content-Length: ['0']
      DataServiceId: ['https://storagename.table.core.windows.net/Tables(''querytablefb4a193b'')']
      Date: ['Fri, 10 Nov 2017 02:47:35 GMT']
      Location: ['https://storagename.table.core.windows.net/Tables(''querytablefb4a193b'')']
      Preference-Applied: [return-no-content]
      Server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0]
      X-Content-Type-Options: [nosniff]
      x-ms-request-id: [fb54a510-0002-005a-25ce-59a5fb000000]
      x-ms-version: ['2017-04-17']
    status: {code: 204, message: No Content}
- request:
    body: '--batch_823d4d7c-c5c1-11e7-8f88-a08cfdf04b77

      Content-Type: multipart/mixed; boundary=changeset_823d61d4-c5c1-11e7-be52-a08cfdf04b77


      --changeset_823d61d4-c5c1-11e7-be52-a08cfdf04b77

      Content-Type: application/http

      Content-Transfer-Encoding: binary


      POST /querytablefb4a193b HTTP/1.1

      Content-ID: 1

      Content-Type: application/json

      Accept: application/json;odata=minimalmetadata

      Prefer: return-no-content

      Content-Length: 556


      {"PartitionKey": "pkfb4a193b", "RowKey": "rkfb4a193b1", "age": "39", "age@odata.type":
      "Edm.Int64", "sex": "male", "married": true, "deceased": false, "optional":
      null, "ratio": 3.1, "evenratio": 3.0, "large": "933311100", "large@odata.type":
      "Edm.Int64", "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"}


      --changeset_823d61d4-c5c1-11e7-be52-a08cfdf04b77

      Content-Type: application/http

      Content-Transfer-Encoding: binary


      POST /querytablefb4a193b HTTP/1.1

      Content-ID: 2

      Content-Type: application/json

      Accept: application/json;odata=minimalmetadata

      Prefer: return-no-content

      Content-Length: 557


      {"PartitionKey": "pkfb4a193b", "RowKey": "rkfb4a193b12", "age": "39", "age@odata.type":
      "Edm.Int64", "sex": "male", "married": true, "deceased": false, "optional":
      null, "ratio": 3.1, "evenratio": 3.0, "large": "933311100", "large@odata.type":
      "Edm.Int64", "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"}


      --changeset_823d61d4-c5c1-11e7-be52-a08cfdf04b77--

      --batch_823d4d7c-c5c1-11e7-8f88-a08cfdf04b77--'
    headers:
      Connection: [keep-alive]
      Content-Length: ['1923']
      Content-Type: [multipart/mixed; boundary=batch_823d4d7c-c5c1-11e7-8f88-a08cfdf04b77]
      DataServiceVersion: [3.0;NetFx]
      MaxDataServiceVersion: ['3.0']
      User-Agent: [Azure-Storage/0.37.1-None (Python CPython 3.6.0; Windows 10)]
      x-ms-client-request-id: [823d61d5-c5c1-11e7-8e65-a08cfdf04b77]
      x-ms-date: ['Fri, 10 Nov 2017 02:47:36 GMT']
      x-ms-version: ['2017-04-17']
    method: POST
    uri: https://storagename.table.core.windows.net/$batch
  response:
    body: {string: "--batchresponse_5a0a35b2-51e2-4636-b312-35e221a20892\r\nContent-Type:\
        \ multipart/mixed; boundary=changesetresponse_19b4f147-afd1-4436-b7e5-9e2053d3eb9f\r\
        \n\r\n--changesetresponse_19b4f147-afd1-4436-b7e5-9e2053d3eb9f\r\nContent-Type:\
        \ application/http\r\nContent-Transfer-Encoding: binary\r\n\r\nHTTP/1.1 204\
        \ No Content\r\nContent-ID: 1\r\nX-Content-Type-Options: nosniff\r\nCache-Control:\
        \ no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion:\
        \ 3.0;\r\nLocation: https://storagename.table.core.windows.net/querytablefb4a193b(PartitionKey='pkfb4a193b',RowKey='rkfb4a193b1')\r\
        \nDataServiceId: https://storagename.table.core.windows.net/querytablefb4a193b(PartitionKey='pkfb4a193b',RowKey='rkfb4a193b1')\r\
        \nETag: W/\"datetime'2017-11-10T02%3A47%3A36.1030313Z'\"\r\n\r\n\r\n--changesetresponse_19b4f147-afd1-4436-b7e5-9e2053d3eb9f\r\
        \nContent-Type: application/http\r\nContent-Transfer-Encoding: binary\r\n\r\
        \nHTTP/1.1 204 No Content\r\nContent-ID: 2\r\nX-Content-Type-Options: nosniff\r\
        \nCache-Control: no-cache\r\nPreference-Applied: return-no-content\r\nDataServiceVersion:\
        \ 3.0;\r\nLocation: https://storagename.table.core.windows.net/querytablefb4a193b(PartitionKey='pkfb4a193b',RowKey='rkfb4a193b12')\r\
        \nDataServiceId: https://storagename.table.core.windows.net/querytablefb4a193b(PartitionKey='pkfb4a193b',RowKey='rkfb4a193b12')\r\
        \nETag: W/\"datetime'2017-11-10T02%3A47%3A36.1030313Z'\"\r\n\r\n\r\n--changesetresponse_19b4f147-afd1-4436-b7e5-9e2053d3eb9f--\r\
        \n--batchresponse_5a0a35b2-51e2-4636-b312-35e221a20892--\r\n"}
    headers:
      Cache-Control: [no-cache]
      Content-Type: [multipart/mixed; boundary=batchresponse_5a0a35b2-51e2-4636-b312-35e221a20892]
      Date: ['Fri, 10 Nov 2017 02:47:35 GMT']
      Server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      X-Content-Type-Options: [nosniff]
      x-ms-request-id: [fb54a522-0002-005a-35ce-59a5fb000000]
      x-ms-version: ['2017-04-17']
    status: {code: 202, message: Accepted}
- request:
    body: null
    headers:
      Accept: [application/json;odata=nometadata]
      Connection: [keep-alive]
      DataServiceVersion: [3.0;NetFx]
      MaxDataServiceVersion: ['3.0']
      User-Agent: [Azure-Storage/0.37.1-None (Python CPython 3.6.0; Windows 10)]
      x-ms-client-request-id: [824d7de8-c5c1-11e7-bdf1-a08cfdf04b77]
      x-ms-date: ['Fri, 10 Nov 2017 02:47:36 GMT']
      x-ms-version: ['2017-04-17']
    method: GET
    uri: https://storagename.table.core.windows.net/querytablefb4a193b()
  response:
    body: {string: '{"value":[{"PartitionKey":"pkfb4a193b","RowKey":"rkfb4a193b1","Timestamp":"2017-11-10T02:47:36.1030313Z","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":"933311100","Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"},{"PartitionKey":"pkfb4a193b","RowKey":"rkfb4a193b12","Timestamp":"2017-11-10T02:47:36.1030313Z","age":"39","sex":"male","married":true,"deceased":false,"ratio":3.1,"evenratio":3.0,"large":"933311100","Birthday":"1973-10-04T00:00:00Z","birthday":"1970-10-04T00:00:00Z","binary":"YmluYXJ5","other":20,"clsid":"c9da6455-213d-42c9-9a79-3e9149a57833"}]}'}
    headers:
      Cache-Control: [no-cache]
      Content-Type: [application/json;odata=nometadata;streaming=true;charset=utf-8]
      Date: ['Fri, 10 Nov 2017 02:47:36 GMT']
      Server: [Windows-Azure-Table/1.0 Microsoft-HTTPAPI/2.0]
      Transfer-Encoding: [chunked]
      X-Content-Type-Options: [nosniff]
      x-ms-request-id: [fb54a532-0002-005a-44ce-59a5fb000000]
      x-ms-version: ['2017-04-17']
    status: {code: 200, message: OK}
version: 1