diracx-client 0.0.1a9__py3-none-any.whl → 0.0.1a11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diracx/client/_serialization.py +5 -3
- diracx/client/aio/operations/_operations.py +0 -5
- diracx/client/operations/_operations.py +1 -12
- {diracx_client-0.0.1a9.dist-info → diracx_client-0.0.1a11.dist-info}/METADATA +1 -1
- {diracx_client-0.0.1a9.dist-info → diracx_client-0.0.1a11.dist-info}/RECORD +7 -7
- {diracx_client-0.0.1a9.dist-info → diracx_client-0.0.1a11.dist-info}/WHEEL +0 -0
- {diracx_client-0.0.1a9.dist-info → diracx_client-0.0.1a11.dist-info}/top_level.txt +0 -0
diracx/client/_serialization.py
CHANGED
@@ -799,9 +799,11 @@ class Serializer(object):
|
|
799
799
|
if data_type.startswith("["):
|
800
800
|
internal_data_type = data_type[1:-1]
|
801
801
|
data = [
|
802
|
-
|
803
|
-
|
804
|
-
|
802
|
+
(
|
803
|
+
self.serialize_data(d, internal_data_type, **kwargs)
|
804
|
+
if d is not None
|
805
|
+
else ""
|
806
|
+
)
|
805
807
|
for d in data
|
806
808
|
]
|
807
809
|
if not kwargs.get("skip_quote", False):
|
@@ -788,7 +788,6 @@ class ConfigOperations:
|
|
788
788
|
@distributed_trace_async
|
789
789
|
async def serve_config(
|
790
790
|
self,
|
791
|
-
vo: str,
|
792
791
|
*,
|
793
792
|
if_none_match: Optional[str] = None,
|
794
793
|
if_modified_since: Optional[str] = None,
|
@@ -796,7 +795,6 @@ class ConfigOperations:
|
|
796
795
|
) -> Any:
|
797
796
|
"""Serve Config.
|
798
797
|
|
799
|
-
"
|
800
798
|
Get the latest view of the config.
|
801
799
|
|
802
800
|
If If-None-Match header is given and matches the latest ETag, return 304
|
@@ -804,8 +802,6 @@ class ConfigOperations:
|
|
804
802
|
If If-Modified-Since is given and is newer than latest,
|
805
803
|
return 304: this is to avoid flip/flopping.
|
806
804
|
|
807
|
-
:param vo: Required.
|
808
|
-
:type vo: str
|
809
805
|
:keyword if_none_match: Default value is None.
|
810
806
|
:paramtype if_none_match: str
|
811
807
|
:keyword if_modified_since: Default value is None.
|
@@ -828,7 +824,6 @@ class ConfigOperations:
|
|
828
824
|
cls: ClsType[Any] = kwargs.pop("cls", None)
|
829
825
|
|
830
826
|
request = build_config_serve_config_request(
|
831
|
-
vo=vo,
|
832
827
|
if_none_match=if_none_match,
|
833
828
|
if_modified_since=if_modified_since,
|
834
829
|
headers=_headers,
|
@@ -264,7 +264,6 @@ def build_auth_userinfo_request(**kwargs: Any) -> HttpRequest:
|
|
264
264
|
|
265
265
|
|
266
266
|
def build_config_serve_config_request(
|
267
|
-
vo: str,
|
268
267
|
*,
|
269
268
|
if_none_match: Optional[str] = None,
|
270
269
|
if_modified_since: Optional[str] = None,
|
@@ -275,12 +274,7 @@ def build_config_serve_config_request(
|
|
275
274
|
accept = _headers.pop("Accept", "application/json")
|
276
275
|
|
277
276
|
# Construct URL
|
278
|
-
_url = "/api/config/
|
279
|
-
path_format_arguments = {
|
280
|
-
"vo": _SERIALIZER.url("vo", vo, "str"),
|
281
|
-
}
|
282
|
-
|
283
|
-
_url: str = _format_url_section(_url, **path_format_arguments) # type: ignore
|
277
|
+
_url = "/api/config/"
|
284
278
|
|
285
279
|
# Construct headers
|
286
280
|
if if_none_match is not None:
|
@@ -1505,7 +1499,6 @@ class ConfigOperations:
|
|
1505
1499
|
@distributed_trace
|
1506
1500
|
def serve_config(
|
1507
1501
|
self,
|
1508
|
-
vo: str,
|
1509
1502
|
*,
|
1510
1503
|
if_none_match: Optional[str] = None,
|
1511
1504
|
if_modified_since: Optional[str] = None,
|
@@ -1513,7 +1506,6 @@ class ConfigOperations:
|
|
1513
1506
|
) -> Any:
|
1514
1507
|
"""Serve Config.
|
1515
1508
|
|
1516
|
-
"
|
1517
1509
|
Get the latest view of the config.
|
1518
1510
|
|
1519
1511
|
If If-None-Match header is given and matches the latest ETag, return 304
|
@@ -1521,8 +1513,6 @@ class ConfigOperations:
|
|
1521
1513
|
If If-Modified-Since is given and is newer than latest,
|
1522
1514
|
return 304: this is to avoid flip/flopping.
|
1523
1515
|
|
1524
|
-
:param vo: Required.
|
1525
|
-
:type vo: str
|
1526
1516
|
:keyword if_none_match: Default value is None.
|
1527
1517
|
:paramtype if_none_match: str
|
1528
1518
|
:keyword if_modified_since: Default value is None.
|
@@ -1545,7 +1535,6 @@ class ConfigOperations:
|
|
1545
1535
|
cls: ClsType[Any] = kwargs.pop("cls", None)
|
1546
1536
|
|
1547
1537
|
request = build_config_serve_config_request(
|
1548
|
-
vo=vo,
|
1549
1538
|
if_none_match=if_none_match,
|
1550
1539
|
if_modified_since=if_modified_since,
|
1551
1540
|
headers=_headers,
|
@@ -2,7 +2,7 @@ diracx/client/__init__.py,sha256=v-7zqEEJ2St-4i7uidYRjMN7Q5n_TaV92EQCqswEAVk,700
|
|
2
2
|
diracx/client/_client.py,sha256=8RcreTFRUxakR0VJuHt2S99GdDHRwMOxWvasj2HpNsY,3828
|
3
3
|
diracx/client/_configuration.py,sha256=gGcGmjF3hm95qZY5Y_KpzhPWluLa-j6U0yo8OU68meE,1994
|
4
4
|
diracx/client/_patch.py,sha256=EJ7EEF3L_FAyUN9ydJjquGYMWmZpzoIJshL1KjDMjeE,8369
|
5
|
-
diracx/client/_serialization.py,sha256=
|
5
|
+
diracx/client/_serialization.py,sha256=CXa-CGUOt74nwttiW_Jv7vwT-_fIQ5POLm7XlTLmS-k,81030
|
6
6
|
diracx/client/_vendor.py,sha256=DQayTN97BYcN3TgWpad5BRQfgSZwjpqJCWBRyqpGmJ8,1415
|
7
7
|
diracx/client/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
8
8
|
diracx/client/aio/__init__.py,sha256=v-7zqEEJ2St-4i7uidYRjMN7Q5n_TaV92EQCqswEAVk,700
|
@@ -11,16 +11,16 @@ diracx/client/aio/_configuration.py,sha256=_kc1kc87dIvxk7cfMWw0ps26aqrhXt9GUxzVw
|
|
11
11
|
diracx/client/aio/_patch.py,sha256=ECR5LOruIBLY4uqFd-5rTPCoor9WFYI2TzI6A5GKchk,6365
|
12
12
|
diracx/client/aio/_vendor.py,sha256=LnYHqcDrDRxXxejVYmaKMKq4thwedrQY8BQWUA7bhoQ,861
|
13
13
|
diracx/client/aio/operations/__init__.py,sha256=cUGqkdRJGJ6S0TAxPPeh6mB99P9NkA1wuLbOB_4Theg,868
|
14
|
-
diracx/client/aio/operations/_operations.py,sha256=
|
14
|
+
diracx/client/aio/operations/_operations.py,sha256=USrNaE2TzLEoeUBzR4I0P-b1o5KBdNs-mXRBu4m8Q2o,81895
|
15
15
|
diracx/client/aio/operations/_patch.py,sha256=5c8-GkCTYhtBL-lp4pGXiVmDAX29ZEvkOegurI9zomY,4292
|
16
16
|
diracx/client/models/__init__.py,sha256=iZG0HwXFzzz50l2WrJ2IuoeRdnFHAP4GELev9YrY1j0,3082
|
17
17
|
diracx/client/models/_enums.py,sha256=TL3LPbvYTEkb3QX7iJsr-O4YZQPy5QkeHwikl7y8KLI,2311
|
18
18
|
diracx/client/models/_models.py,sha256=-3BKxtilEkhCQrn8Nc4DbDxgAupsD14RujZ_EL-2VsQ,38365
|
19
19
|
diracx/client/models/_patch.py,sha256=uvLwKzjWO_t-VZ4aSuLhuJ05RVxAP9UJxZV3XDeGMnU,1497
|
20
20
|
diracx/client/operations/__init__.py,sha256=cUGqkdRJGJ6S0TAxPPeh6mB99P9NkA1wuLbOB_4Theg,868
|
21
|
-
diracx/client/operations/_operations.py,sha256=
|
21
|
+
diracx/client/operations/_operations.py,sha256=HcXnuNvV5uw4Yw25M-N8dvmqGbxXUqQUmNXKKXhb2MY,103430
|
22
22
|
diracx/client/operations/_patch.py,sha256=TSJ3ZA4Hw6-iiBIMZ1sQuD5Ik1WLWntav1UkTwQh97M,4269
|
23
|
-
diracx_client-0.0.
|
24
|
-
diracx_client-0.0.
|
25
|
-
diracx_client-0.0.
|
26
|
-
diracx_client-0.0.
|
23
|
+
diracx_client-0.0.1a11.dist-info/METADATA,sha256=L6wXn7Lhjigyi-8215M4JcyJUA2lKJJh0e8D5vFAy1Y,679
|
24
|
+
diracx_client-0.0.1a11.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
25
|
+
diracx_client-0.0.1a11.dist-info/top_level.txt,sha256=vJx10tdRlBX3rF2Psgk5jlwVGZNcL3m_7iQWwgPXt-U,7
|
26
|
+
diracx_client-0.0.1a11.dist-info/RECORD,,
|
File without changes
|
File without changes
|