Skip to content

Commit c52277a

Browse files
annatischmccoyp
andauthored
[Tables] Fix odata serialization (#24290)
* Fix odata serialization * Support int32 validation * Add test recordings * Update all affected recordings * Redact tokens * Update changelog * Improved comments Co-authored-by: McCoy Patiño <mcpatino@microsoft.com>
1 parent e45977a commit c52277a

361 files changed

Lines changed: 28166 additions & 22124 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

sdk/tables/azure-data-tables/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
## 12.4.0 (2022-05-10)
44

55
### Features Added
6-
- Support for multitenant authentication ([#24278](https://github.com/Azure/azure-sdk-for-python/pull/24278))
6+
* Support for multitenant authentication ([#24278](https://github.com/Azure/azure-sdk-for-python/pull/24278))
7+
8+
### Bugs Fixed
9+
* Fixed bug where odmtype tag was not being included for boolean and int32 types even when a full EdmProperty tuple was passed in. This is needed for CLI compatibility.
710

811
## 12.3.0 (2022-03-10)
912

sdk/tables/azure-data-tables/azure/data/tables/_serialize.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ def _to_entity_datetime(value):
9898

9999

100100
def _to_entity_float(value):
101+
if isinstance(value, str):
102+
# Pass a serialized value straight through
103+
return EdmType.DOUBLE, value
101104
if isnan(value):
102105
return EdmType.DOUBLE, "NaN"
103106
if value == float("inf"):
@@ -129,7 +132,7 @@ def _to_entity_int64(value):
129132

130133

131134
def _to_entity_str(value):
132-
return EdmType.STRING, value
135+
return EdmType.STRING, str(value)
133136

134137

135138
def _to_entity_none(value): # pylint: disable=unused-argument
@@ -163,14 +166,19 @@ def _to_entity_none(value): # pylint: disable=unused-argument
163166
)
164167

165168
# Conversion from Edm type to a function which returns a tuple of the
166-
# type string and content string.
169+
# type string and content string. These conversions are only used when the
170+
# full EdmProperty tuple is specified. As a result, in this case we ALWAYS add
171+
# the Odatatype tag, even for field types where it's not necessary. This is why
172+
# boolean and int32 have special processing below, as we would not normally add the
173+
# Odatatype tags for these to keep payload size minimal.
174+
# This is also necessary for CLI compatibility.
167175
_EDM_TO_ENTITY_CONVERSIONS = {
168176
EdmType.BINARY: _to_entity_binary,
169-
EdmType.BOOLEAN: _to_entity_bool,
177+
EdmType.BOOLEAN: lambda v: (EdmType.BOOLEAN, v),
170178
EdmType.DATETIME: _to_entity_datetime,
171179
EdmType.DOUBLE: _to_entity_float,
172180
EdmType.GUID: _to_entity_guid,
173-
EdmType.INT32: _to_entity_int32,
181+
EdmType.INT32: lambda v: (EdmType.INT32, _to_entity_int32(v)[1]), # Still using the int32 validation
174182
EdmType.INT64: _to_entity_int64,
175183
EdmType.STRING: _to_entity_str,
176184
}

sdk/tables/azure-data-tables/tests/recordings/test_table_aad.pyTestTableAADtest_aad_access_policy_error.json

Lines changed: 46 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"Entries": [
33
{
4-
"RequestUri": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0/.well-known/openid-configuration",
4+
"RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0/.well-known/openid-configuration",
55
"RequestMethod": "GET",
66
"RequestHeaders": {
77
"Accept": "*/*",
88
"Accept-Encoding": "gzip, deflate",
99
"Connection": "keep-alive",
10-
"User-Agent": "azsdk-python-identity/1.6.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)"
10+
"User-Agent": "azsdk-python-identity/1.11.0b1 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
1111
},
1212
"RequestBody": null,
1313
"StatusCode": 200,
@@ -17,26 +17,26 @@
1717
"Cache-Control": "max-age=86400, private",
1818
"Content-Length": "1753",
1919
"Content-Type": "application/json; charset=utf-8",
20-
"Date": "Mon, 18 Oct 2021 22:00:09 GMT",
20+
"Date": "Fri, 06 May 2022 02:09:07 GMT",
2121
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
2222
"Set-Cookie": [
23-
"fpc=AtOpiLRl9TtBpI2WZhYBrIk-ro1yCQAAAEDl_9gOAAAA; expires=Wed, 17-Nov-2021 22:00:09 GMT; path=/; secure; HttpOnly; SameSite=None",
23+
"fpc=AifWq3QfkPlNubWylR5yiFhE9Ko2CQAAAB56BtoOAAAA; expires=Sun, 05-Jun-2022 02:09:08 GMT; path=/; secure; HttpOnly; SameSite=None",
2424
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
2525
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
2626
],
2727
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
2828
"X-Content-Type-Options": "nosniff",
29-
"x-ms-ests-server": "2.1.12158.6 - WUS2 ProdSlices",
30-
"x-ms-request-id": "904eb32f-fc2e-413a-8b0a-e5705350b000"
29+
"x-ms-ests-server": "2.1.12651.10 - SCUS ProdSlices",
30+
"X-XSS-Protection": "0"
3131
},
3232
"ResponseBody": {
33-
"token_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token",
33+
"token_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token",
3434
"token_endpoint_auth_methods_supported": [
3535
"client_secret_post",
3636
"private_key_jwt",
3737
"client_secret_basic"
3838
],
39-
"jwks_uri": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/discovery/v2.0/keys",
39+
"jwks_uri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/discovery/v2.0/keys",
4040
"response_modes_supported": [
4141
"query",
4242
"fragment",
@@ -60,14 +60,14 @@
6060
"email",
6161
"offline_access"
6262
],
63-
"issuer": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/v2.0",
63+
"issuer": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/v2.0",
6464
"request_uri_parameter_supported": false,
6565
"userinfo_endpoint": "https://graph.microsoft.com/oidc/userinfo",
66-
"authorization_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/authorize",
67-
"device_authorization_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/devicecode",
66+
"authorization_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/authorize",
67+
"device_authorization_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/devicecode",
6868
"http_logout_supported": true,
6969
"frontchannel_logout_supported": true,
70-
"end_session_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/logout",
70+
"end_session_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/logout",
7171
"claims_supported": [
7272
"sub",
7373
"iss",
@@ -89,7 +89,7 @@
8989
"c_hash",
9090
"email"
9191
],
92-
"kerberos_endpoint": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/kerberos",
92+
"kerberos_endpoint": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/kerberos",
9393
"tenant_region_scope": "WW",
9494
"cloud_instance_name": "microsoftonline.com",
9595
"cloud_graph_host_name": "graph.windows.net",
@@ -104,8 +104,8 @@
104104
"Accept": "application/json",
105105
"Accept-Encoding": "gzip, deflate",
106106
"Connection": "keep-alive",
107-
"Cookie": "fpc=AtOpiLRl9TtBpI2WZhYBrIk-ro1yCQAAAEDl_9gOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
108-
"User-Agent": "azsdk-python-identity/1.6.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)"
107+
"Cookie": "fpc=AifWq3QfkPlNubWylR5yiFhE9Ko2CQAAAB56BtoOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
108+
"User-Agent": "azsdk-python-identity/1.11.0b1 Python/3.10.0 (Windows-10-10.0.22000-SP0)"
109109
},
110110
"RequestBody": null,
111111
"StatusCode": 200,
@@ -115,17 +115,17 @@
115115
"Cache-Control": "max-age=86400, private",
116116
"Content-Length": "945",
117117
"Content-Type": "application/json; charset=utf-8",
118-
"Date": "Mon, 18 Oct 2021 22:00:09 GMT",
118+
"Date": "Fri, 06 May 2022 02:09:07 GMT",
119119
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
120120
"Set-Cookie": [
121-
"fpc=AtOpiLRl9TtBpI2WZhYBrIk-ro1yCQAAAEDl_9gOAAAA; expires=Wed, 17-Nov-2021 22:00:09 GMT; path=/; secure; HttpOnly; SameSite=None",
121+
"fpc=AifWq3QfkPlNubWylR5yiFhE9Ko2CQAAAB56BtoOAAAA; expires=Sun, 05-Jun-2022 02:09:08 GMT; path=/; secure; HttpOnly; SameSite=None",
122122
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
123123
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
124124
],
125125
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
126126
"X-Content-Type-Options": "nosniff",
127-
"x-ms-ests-server": "2.1.12108.10 - EUS ProdSlices",
128-
"x-ms-request-id": "04f509d7-3900-4a0d-a214-62e561ed3901"
127+
"x-ms-ests-server": "2.1.12707.9 - WUS2 ProdSlices",
128+
"X-XSS-Protection": "0"
129129
},
130130
"ResponseBody": {
131131
"tenant_discovery_endpoint": "https://login.microsoftonline.com/common/.well-known/openid-configuration",
@@ -175,52 +175,53 @@
175175
}
176176
},
177177
{
178-
"RequestUri": "https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token",
178+
"RequestUri": "https://login.microsoftonline.com/00000000-0000-0000-0000-000000000000/oauth2/v2.0/token",
179179
"RequestMethod": "POST",
180180
"RequestHeaders": {
181181
"Accept": "application/json",
182182
"Accept-Encoding": "gzip, deflate",
183-
"client-request-id": "7eb1d612-1f4b-4aa2-a509-12b761ed0bfb",
183+
"client-request-id": "de8392e3-d205-4eb9-8257-13694e83f8ab",
184184
"Connection": "keep-alive",
185-
"Content-Length": "190",
185+
"Content-Length": "285",
186186
"Content-Type": "application/x-www-form-urlencoded",
187-
"Cookie": "fpc=AtOpiLRl9TtBpI2WZhYBrIk-ro1yCQAAAEDl_9gOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
188-
"User-Agent": "azsdk-python-identity/1.6.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)",
187+
"Cookie": "fpc=AifWq3QfkPlNubWylR5yiFhE9Ko2CQAAAB56BtoOAAAA; stsservicecookie=estsfd; x-ms-gateway-slice=estsfd",
188+
"User-Agent": "azsdk-python-identity/1.11.0b1 Python/3.10.0 (Windows-10-10.0.22000-SP0)",
189189
"x-client-cpu": "x64",
190190
"x-client-current-telemetry": "4|730,0|",
191191
"x-client-last-telemetry": "4|0|||",
192192
"x-client-os": "win32",
193193
"x-client-sku": "MSAL.Python",
194-
"x-client-ver": "1.14.0",
194+
"x-client-ver": "1.15.0",
195195
"x-ms-lib-capability": "retry-after, h429"
196196
},
197-
"RequestBody": "client_id=c692e7f3-fcd0-45ac-b19c-70b0c73d61b2\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=3afb0ec2-f0bb-4f0f-b3df-8673135beec3\u0026scope=https%3A%2F%2Fstorage.azure.com%2F.default",
197+
"RequestBody": "client_id=c7962152-b34d-46e9-8b71-6ee54ee250af\u0026grant_type=client_credentials\u0026client_info=1\u0026client_secret=7c5a7b55-4074-47dc-bea2-65e2591bb771\u0026claims=%7B%22access_token%22%3A\u002B%7B%22xms_cc%22%3A\u002B%7B%22values%22%3A\u002B%5B%22CP1%22%5D%7D%7D%7D\u0026scope=https%3A%2F%2Fstorage.azure.com%2F.default",
198198
"StatusCode": 200,
199199
"ResponseHeaders": {
200200
"Cache-Control": "no-store, no-cache",
201-
"client-request-id": "7eb1d612-1f4b-4aa2-a509-12b761ed0bfb",
202-
"Content-Length": "1318",
201+
"client-request-id": "de8392e3-d205-4eb9-8257-13694e83f8ab",
202+
"Content-Length": "114",
203203
"Content-Type": "application/json; charset=utf-8",
204-
"Date": "Mon, 18 Oct 2021 22:00:09 GMT",
204+
"Date": "Fri, 06 May 2022 02:09:07 GMT",
205205
"Expires": "-1",
206206
"P3P": "CP=\u0022DSP CUR OTPi IND OTRi ONL FIN\u0022",
207207
"Pragma": "no-cache",
208208
"Set-Cookie": [
209-
"fpc=AtOpiLRl9TtBpI2WZhYBrIk-ro1yCgAAAEDl_9gOAAAA; expires=Wed, 17-Nov-2021 22:00:09 GMT; path=/; secure; HttpOnly; SameSite=None",
209+
"fpc=AifWq3QfkPlNubWylR5yiFhE9Ko2CgAAAB56BtoOAAAA; expires=Sun, 05-Jun-2022 02:09:08 GMT; path=/; secure; HttpOnly; SameSite=None",
210210
"x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly",
211211
"stsservicecookie=estsfd; path=/; secure; samesite=none; httponly"
212212
],
213213
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
214214
"X-Content-Type-Options": "nosniff",
215215
"x-ms-clitelem": "1,0,0,,",
216-
"x-ms-ests-server": "2.1.12158.6 - WUS2 ProdSlices",
217-
"x-ms-request-id": "7074d2eb-df76-4c0e-9776-b58f68c7a800"
216+
"x-ms-ests-server": "2.1.12651.10 - EUS ProdSlices",
217+
"X-XSS-Protection": "0"
218218
},
219219
"ResponseBody": {
220220
"token_type": "Bearer",
221221
"expires_in": 86399,
222222
"ext_expires_in": 86399,
223-
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCIsImtpZCI6Imwzc1EtNTBjQ0g0eEJWWkxIVEd3blNSNzY4MCJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaH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
224+
"access_token": "access_token"
224225
}
225226
},
226227
{
@@ -229,33 +230,29 @@
229230
"RequestHeaders": {
230231
"Accept": "application/xml",
231232
"Accept-Encoding": "gzip, deflate",
232-
"Authorization": "Sanitized",
233233
"Connection": "keep-alive",
234-
"Date": "Mon, 18 Oct 2021 22:00:15 GMT",
235-
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)",
236-
"x-ms-client-request-id": "c63f0c3a-305e-11ec-9657-5cf37093a909",
237-
"x-ms-date": "Mon, 18 Oct 2021 22:00:15 GMT",
234+
"Date": "Fri, 06 May 2022 02:09:09 GMT",
235+
"User-Agent": "azsdk-python-data-tables/12.4.0 Python/3.10.0 (Windows-10-10.0.22000-SP0)",
236+
"x-ms-date": "Fri, 06 May 2022 02:09:09 GMT",
238237
"x-ms-version": "2019-02-02"
239238
},
240239
"RequestBody": null,
241240
"StatusCode": 404,
242241
"ResponseHeaders": {
243242
"Content-Length": "322",
244243
"Content-Type": "application/xml",
245-
"Date": "Mon, 18 Oct 2021 22:00:09 GMT",
244+
"Date": "Fri, 06 May 2022 02:09:08 GMT",
246245
"Server": [
247246
"Windows-Azure-Table/1.0",
248247
"Microsoft-HTTPAPI/2.0"
249248
],
250-
"x-ms-client-request-id": "c63f0c3a-305e-11ec-9657-5cf37093a909",
251249
"x-ms-error-code": "ResourceNotFound",
252-
"x-ms-request-id": "5762cbe0-2002-0015-2e6b-c4666e000000",
253250
"x-ms-version": "2019-02-02"
254251
},
255252
"ResponseBody": [
256253
"\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EResourceNotFound\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource does not exist.\n",
257-
"RequestId:5762cbe0-2002-0015-2e6b-c4666e000000\n",
258-
"Time:2021-10-18T22:00:09.8110464Z\u003C/m:message\u003E\u003C/m:error\u003E"
254+
"RequestId:ac2da47f-b002-00b2-6dee-601a51000000\n",
255+
"Time:2022-05-06T02:09:08.7651498Z\u003C/m:message\u003E\u003C/m:error\u003E"
259256
]
260257
},
261258
{
@@ -264,35 +261,31 @@
264261
"RequestHeaders": {
265262
"Accept": "application/xml",
266263
"Accept-Encoding": "gzip, deflate",
267-
"Authorization": "Sanitized",
268264
"Connection": "keep-alive",
269265
"Content-Length": "0",
270266
"Content-Type": "application/xml",
271-
"Date": "Mon, 18 Oct 2021 22:00:15 GMT",
272-
"User-Agent": "azsdk-python-data-tables/12.1.1 Python/3.9.2 (Windows-10-10.0.19041-SP0)",
273-
"x-ms-client-request-id": "c66cfd59-305e-11ec-b394-5cf37093a909",
274-
"x-ms-date": "Mon, 18 Oct 2021 22:00:15 GMT",
267+
"Date": "Fri, 06 May 2022 02:09:09 GMT",
268+
"User-Agent": "azsdk-python-data-tables/12.4.0 Python/3.10.0 (Windows-10-10.0.22000-SP0)",
269+
"x-ms-date": "Fri, 06 May 2022 02:09:09 GMT",
275270
"x-ms-version": "2019-02-02"
276271
},
277272
"RequestBody": null,
278273
"StatusCode": 404,
279274
"ResponseHeaders": {
280275
"Content-Length": "322",
281276
"Content-Type": "application/xml",
282-
"Date": "Mon, 18 Oct 2021 22:00:09 GMT",
277+
"Date": "Fri, 06 May 2022 02:09:08 GMT",
283278
"Server": [
284279
"Windows-Azure-Table/1.0",
285280
"Microsoft-HTTPAPI/2.0"
286281
],
287-
"x-ms-client-request-id": "c66cfd59-305e-11ec-b394-5cf37093a909",
288282
"x-ms-error-code": "ResourceNotFound",
289-
"x-ms-request-id": "5762cbe8-2002-0015-356b-c4666e000000",
290283
"x-ms-version": "2019-02-02"
291284
},
292285
"ResponseBody": [
293286
"\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003Cm:error xmlns:m=\u0022http://schemas.microsoft.com/ado/2007/08/dataservices/metadata\u0022\u003E\u003Cm:code\u003EResourceNotFound\u003C/m:code\u003E\u003Cm:message xml:lang=\u0022en-US\u0022\u003EThe specified resource does not exist.\n",
294-
"RequestId:5762cbe8-2002-0015-356b-c4666e000000\n",
295-
"Time:2021-10-18T22:00:09.8290594Z\u003C/m:message\u003E\u003C/m:error\u003E"
287+
"RequestId:ac2da484-b002-00b2-70ee-601a51000000\n",
288+
"Time:2022-05-06T02:09:08.7811411Z\u003C/m:message\u003E\u003C/m:error\u003E"
296289
]
297290
}
298291
],

sdk/tables/azure-data-tables/tests/recordings/test_table_aad.pyTestTableAADtest_aad_batch_all_operations_together.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"token_type": "Bearer",
222222
"expires_in": 86399,
223223
"ext_expires_in": 86399,
224-
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCIsImtpZCI6Ik1yNS1BVWliZkJpaTdOZDFqQmViYXhib1hXMCJ9.eyJhdWQiOiJodHRwczovL3N0b3JhZ2UuYXp1cmUuY29tIiwiaXNzIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvNzJmOTg4YmYtODZmMS00MWFmLTkxYWItMmQ3Y2QwMTFkYjQ3LyIsImlhdCI6MTYzOTAwODk5MCwibmJmIjoxNjM5MDA4OTkwLCJleHAiOjE2MzkwOTU2OTAsImFpbyI6IkUyWmdZSWdPYmIvU2RuRmU3clB0bFFXcjE2OHdCQUE9IiwiYXBwaWQiOiIyN2VlMTY3ZS05YzlkLTRiZGYtYjkzYy04YzgwOWU5YTIyNGUiLCJhcHBpZGFjciI6IjEiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC83MmY5ODhiZi04NmYxLTQxYWYtOTFhYi0yZDdjZDAxMWRiNDcvIiwib2lkIjoiNzQxZjM3NmUtZjlkZC00MDlkLWJiODMtZDU2YzU3OTY4ZGY3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