diracx-client 0.0.1a9__tar.gz → 0.0.1a11__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/PKG-INFO +1 -1
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/_serialization.py +5 -3
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/operations/_operations.py +0 -5
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/operations/_operations.py +1 -12
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/PKG-INFO +1 -1
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/README.md +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/pyproject.toml +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/setup.cfg +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/__init__.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/_client.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/_configuration.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/_patch.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/_vendor.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/__init__.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/_client.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/_configuration.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/_patch.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/_vendor.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/operations/__init__.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/operations/_patch.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/models/__init__.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/models/_enums.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/models/_models.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/models/_patch.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/operations/__init__.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/operations/_patch.py +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/py.typed +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/SOURCES.txt +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/dependency_links.txt +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/requires.txt +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/top_level.txt +0 -0
- {diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/tests/test_regenerate.py +0 -0
@@ -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):
|
{diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/operations/_operations.py
RENAMED
@@ -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,
|
{diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/operations/_operations.py
RENAMED
@@ -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,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx/client/aio/operations/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{diracx-client-0.0.1a9 → diracx-client-0.0.1a11}/src/diracx_client.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|