pulp-python-client 3.31.1__py3-none-any.whl → 3.32.0__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.
- {pulp_python_client-3.31.1.dist-info → pulp_python_client-3.32.0.dist-info}/METADATA +3 -4
- {pulp_python_client-3.31.1.dist-info → pulp_python_client-3.32.0.dist-info}/RECORD +18 -18
- {pulp_python_client-3.31.1.dist-info → pulp_python_client-3.32.0.dist-info}/WHEEL +1 -1
- pulpcore/client/pulp_python/__init__.py +2 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +7 -6
- pulpcore/client/pulp_python/api/content_provenance_api.py +7 -6
- pulpcore/client/pulp_python/api/distributions_pypi_api.py +7 -6
- pulpcore/client/pulp_python/api/publications_pypi_api.py +7 -6
- pulpcore/client/pulp_python/api/remotes_python_api.py +7 -6
- pulpcore/client/pulp_python/api/repositories_python_api.py +7 -6
- pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py +7 -6
- pulpcore/client/pulp_python/api_client.py +12 -9
- pulpcore/client/pulp_python/configuration.py +9 -3
- pulpcore/client/pulp_python/exceptions.py +6 -3
- pulpcore/client/pulp_python/models/__init__.py +1 -1
- pulpcore/client/pulp_python/models/python_package_provenance_response.py +2 -0
- pulpcore/client/pulp_python/rest.py +11 -2
- {pulp_python_client-3.31.1.dist-info → pulp_python_client-3.32.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pulp_python-client
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.32.0
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -14,7 +14,6 @@ Requires-Dist: urllib3<3.0.0,>=2.1.0
|
|
|
14
14
|
Requires-Dist: python-dateutil>=2.8.2
|
|
15
15
|
Requires-Dist: pydantic>=2
|
|
16
16
|
Requires-Dist: typing-extensions>=4.7.1
|
|
17
|
-
Requires-Dist: lazy-imports<2,>=1
|
|
18
17
|
Dynamic: author
|
|
19
18
|
Dynamic: requires-python
|
|
20
19
|
|
|
@@ -24,8 +23,8 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
24
23
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
24
|
|
|
26
25
|
- API version: v3
|
|
27
|
-
- Package version: 3.
|
|
28
|
-
- Generator version: 7.
|
|
26
|
+
- Package version: 3.32.0
|
|
27
|
+
- Generator version: 7.19.0
|
|
29
28
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
30
29
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
31
30
|
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
2
|
pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
3
|
-
pulpcore/client/pulp_python/__init__.py,sha256=
|
|
4
|
-
pulpcore/client/pulp_python/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulp_python/__init__.py,sha256=s5hrxSDsTP7lf9Uuz5DKVOVb9Vqu2DJyyAcm93svClo,11264
|
|
4
|
+
pulpcore/client/pulp_python/api_client.py,sha256=8dMbs1nLKo89NRRDcGyd6G7lC4flcNcr3JcP1D5quRo,27853
|
|
5
5
|
pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_python/configuration.py,sha256=
|
|
7
|
-
pulpcore/client/pulp_python/exceptions.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_python/configuration.py,sha256=5K1H7NVyFV992BoZXqfaJ8DI1kIknWFaCKxtwemaEkY,19858
|
|
7
|
+
pulpcore/client/pulp_python/exceptions.py,sha256=Fsv2zEzULrsk-_KDtVSHSCRArB6jK8ZCbhFeS0_EUSs,6523
|
|
8
8
|
pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
pulpcore/client/pulp_python/rest.py,sha256=
|
|
9
|
+
pulpcore/client/pulp_python/rest.py,sha256=K_cgcVFoJaac0-QiXjSmq5-JEkxQ7MeJIypgDa6VOM8,9969
|
|
10
10
|
pulpcore/client/pulp_python/api/__init__.py,sha256=yIPWFggYJmHQoOs9omjN4bgWPJ2sB1KcctZiLqnURzc,1164
|
|
11
|
-
pulpcore/client/pulp_python/api/content_packages_api.py,sha256=
|
|
12
|
-
pulpcore/client/pulp_python/api/content_provenance_api.py,sha256=
|
|
13
|
-
pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=
|
|
14
|
-
pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=
|
|
11
|
+
pulpcore/client/pulp_python/api/content_packages_api.py,sha256=0OZ29cfU5IGfdH_cHwlGIBFNLY50IpS3bBLn8SJQoPA,202967
|
|
12
|
+
pulpcore/client/pulp_python/api/content_provenance_api.py,sha256=v6e2GpKejIbspowa1HrGUg7D-GWUV251f_EWFc4B1JM,93412
|
|
13
|
+
pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=8XillKHLwoKTlvLcnrP5GSjyUzdhcKpfYVtRBPygSlw,183649
|
|
14
|
+
pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=8B5senN0n87OOO5Tgm89rdaksigbT4L_G_ByBRWu2JY,131630
|
|
15
15
|
pulpcore/client/pulp_python/api/pypi_api.py,sha256=YV0qe3htsZrysNA8nyQwV-te9hxZgrZ89aMin8HQV70,13944
|
|
16
16
|
pulpcore/client/pulp_python/api/pypi_legacy_api.py,sha256=gWOPgc_OmGSwcz3NyO7xnpeVn71Xn9J-VLRe5dtSJeA,20612
|
|
17
17
|
pulpcore/client/pulp_python/api/pypi_metadata_api.py,sha256=DC25AkQ4dPl8n7NJJrpxFbfD2T83aKLLnmaoqehQQPs,14893
|
|
18
18
|
pulpcore/client/pulp_python/api/pypi_provenance_api.py,sha256=E9-vmrOejeeYrsPtzMpZPeY4dul2t_Hl-uOQxBJ16UE,15001
|
|
19
19
|
pulpcore/client/pulp_python/api/pypi_simple_api.py,sha256=YHYcYwVgwsPn5a1u6vbYmrs2MztY319kWOisgnrKbYk,47579
|
|
20
|
-
pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=
|
|
21
|
-
pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=
|
|
22
|
-
pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py,sha256=
|
|
20
|
+
pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=TXjb4t0zI83Dr95ArxqkzjYmrmPrXyngrRD6MfWjXz4,210240
|
|
21
|
+
pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=Tk7kvQ_3Elf8noQH6_jTgxOqK2HEd2Exd9glaD4rAQU,237474
|
|
22
|
+
pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py,sha256=4LspV5M-UUZU3rKi7AVDvqAfUojkgIoT3EsasFbPY5U,68647
|
|
23
23
|
pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=D_5kQzCVMrIcpXQFB0lbDfRoUmV9URH93vbmOHzza30,90236
|
|
24
|
-
pulpcore/client/pulp_python/models/__init__.py,sha256=
|
|
24
|
+
pulpcore/client/pulp_python/models/__init__.py,sha256=2Psv3OmwRtuh1iC7Ro6L1R31FtI6eUB9JjHkxMQJnDQ,5377
|
|
25
25
|
pulpcore/client/pulp_python/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
|
|
26
26
|
pulpcore/client/pulp_python/models/content_summary_response.py,sha256=-mwyWLfj6eKjVbzcS5T6Vz01YqsV_5gcBpU2hQezGnI,2582
|
|
27
27
|
pulpcore/client/pulp_python/models/exclude_platforms_enum.py,sha256=04Ppg5ulYtQgbaOloDE-P8pyUDGjzpCoRWkk5DViO1g,861
|
|
@@ -47,7 +47,7 @@ pulpcore/client/pulp_python/models/patchedpython_python_remote.py,sha256=jOj8e1o
|
|
|
47
47
|
pulpcore/client/pulp_python/models/patchedpython_python_repository.py,sha256=CC_zkBO9pHRS-5d1zTLOhuK5OxfCn3c-wUxm1EMH7mo,5172
|
|
48
48
|
pulpcore/client/pulp_python/models/policy_enum.py,sha256=alBNbWymx71uIJJLX3vvtlW-2wIql23bfXHM-DtgCww,1254
|
|
49
49
|
pulpcore/client/pulp_python/models/protocol_version_enum.py,sha256=1q2qEVmae6pmjjhhNO9-H6gOEo8ZssDV_yjbWxEpciE,718
|
|
50
|
-
pulpcore/client/pulp_python/models/python_package_provenance_response.py,sha256=
|
|
50
|
+
pulpcore/client/pulp_python/models/python_package_provenance_response.py,sha256=YFc6c2AtkB1NnhRHkHQqC8UdB_k_zzv53UrbLX9Rciw,4280
|
|
51
51
|
pulpcore/client/pulp_python/models/python_python_blocklist_entry.py,sha256=QS1EghP2I99_SHsMPs8RSjU5zUUHf741LVPJIMWs4po,3839
|
|
52
52
|
pulpcore/client/pulp_python/models/python_python_blocklist_entry_response.py,sha256=oYQRLhO3cLbt0d4sA4nFd_qnhPMRmaeMngiLnhVeNUw,5096
|
|
53
53
|
pulpcore/client/pulp_python/models/python_python_distribution.py,sha256=8sCCh-ONO9DjGr57tjMmurk8oHqIs-G-SruVPCM90BA,5122
|
|
@@ -71,7 +71,7 @@ pulpcore/client/pulp_python/models/set_label_response.py,sha256=AJKyRWVTgpODnchr
|
|
|
71
71
|
pulpcore/client/pulp_python/models/summary_response.py,sha256=UW-FGA9ffCbn7a6czqjddy0FziM5DQYqIP6nmqQb_bY,2731
|
|
72
72
|
pulpcore/client/pulp_python/models/unset_label.py,sha256=bioUtBJUl9y7hpLJ4iYYhcQ4sXj-FRUZq0In2gEGbxU,2507
|
|
73
73
|
pulpcore/client/pulp_python/models/unset_label_response.py,sha256=iaHiYMGW-vu1fIHnzasVzMhY_0AHiYzvy48mfQOuw5M,2584
|
|
74
|
-
pulp_python_client-3.
|
|
75
|
-
pulp_python_client-3.
|
|
76
|
-
pulp_python_client-3.
|
|
77
|
-
pulp_python_client-3.
|
|
74
|
+
pulp_python_client-3.32.0.dist-info/METADATA,sha256=3TVK1JodylRB5GLGSMJG2FXEYHu2Y8OQa27dptC9zRg,23936
|
|
75
|
+
pulp_python_client-3.32.0.dist-info/WHEEL,sha256=K260EYznzXsJYBQGqmI8VTxEdiZYNvDZwW9cBh9-_MA,91
|
|
76
|
+
pulp_python_client-3.32.0.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
77
|
+
pulp_python_client-3.32.0.dist-info/RECORD,,
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "3.
|
|
18
|
+
__version__ = "3.32.0"
|
|
19
19
|
|
|
20
20
|
# Define package exports
|
|
21
21
|
__all__ = [
|
|
@@ -168,3 +168,4 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
168
168
|
from pulpcore.client.pulp_python.models.summary_response import SummaryResponse as SummaryResponse
|
|
169
169
|
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel as UnsetLabel
|
|
170
170
|
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse as UnsetLabelResponse
|
|
171
|
+
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
25
|
from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
|
|
25
26
|
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
|
@@ -901,7 +902,7 @@ class ContentPackagesApi:
|
|
|
901
902
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
902
903
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
903
904
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
904
|
-
pulp_id__in: Annotated[Optional[List[
|
|
905
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
905
906
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
906
907
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
907
908
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -977,7 +978,7 @@ class ContentPackagesApi:
|
|
|
977
978
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
978
979
|
:type pulp_href__in: List[str]
|
|
979
980
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
980
|
-
:type pulp_id__in: List[
|
|
981
|
+
:type pulp_id__in: List[UUID]
|
|
981
982
|
:param pulp_label_select: Filter labels by search string
|
|
982
983
|
:type pulp_label_select: str
|
|
983
984
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1116,7 +1117,7 @@ class ContentPackagesApi:
|
|
|
1116
1117
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
1117
1118
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1118
1119
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1119
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1120
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1120
1121
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1121
1122
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1122
1123
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -1192,7 +1193,7 @@ class ContentPackagesApi:
|
|
|
1192
1193
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1193
1194
|
:type pulp_href__in: List[str]
|
|
1194
1195
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1195
|
-
:type pulp_id__in: List[
|
|
1196
|
+
:type pulp_id__in: List[UUID]
|
|
1196
1197
|
:param pulp_label_select: Filter labels by search string
|
|
1197
1198
|
:type pulp_label_select: str
|
|
1198
1199
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1331,7 +1332,7 @@ class ContentPackagesApi:
|
|
|
1331
1332
|
packagetype__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where packagetype is in a comma-separated list of values")] = None,
|
|
1332
1333
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1333
1334
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1334
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1335
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1335
1336
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1336
1337
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1337
1338
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -1407,7 +1408,7 @@ class ContentPackagesApi:
|
|
|
1407
1408
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1408
1409
|
:type pulp_href__in: List[str]
|
|
1409
1410
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1410
|
-
:type pulp_id__in: List[
|
|
1411
|
+
:type pulp_id__in: List[UUID]
|
|
1411
1412
|
:param pulp_label_select: Filter labels by search string
|
|
1412
1413
|
:type pulp_label_select: str
|
|
1413
1414
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
25
|
from pulpcore.client.pulp_python.models.paginatedpython_package_provenance_response_list import PaginatedpythonPackageProvenanceResponseList
|
|
25
26
|
from pulpcore.client.pulp_python.models.python_package_provenance_response import PythonPackageProvenanceResponse
|
|
@@ -470,7 +471,7 @@ class ContentProvenanceApi:
|
|
|
470
471
|
package__in: Optional[List[StrictStr]] = None,
|
|
471
472
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
472
473
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
473
|
-
pulp_id__in: Annotated[Optional[List[
|
|
474
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
474
475
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
475
476
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
476
477
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -516,7 +517,7 @@ class ContentProvenanceApi:
|
|
|
516
517
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
517
518
|
:type pulp_href__in: List[str]
|
|
518
519
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
519
|
-
:type pulp_id__in: List[
|
|
520
|
+
:type pulp_id__in: List[UUID]
|
|
520
521
|
:param pulp_label_select: Filter labels by search string
|
|
521
522
|
:type pulp_label_select: str
|
|
522
523
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -609,7 +610,7 @@ class ContentProvenanceApi:
|
|
|
609
610
|
package__in: Optional[List[StrictStr]] = None,
|
|
610
611
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
611
612
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
612
|
-
pulp_id__in: Annotated[Optional[List[
|
|
613
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
613
614
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
614
615
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
615
616
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -655,7 +656,7 @@ class ContentProvenanceApi:
|
|
|
655
656
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
656
657
|
:type pulp_href__in: List[str]
|
|
657
658
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
658
|
-
:type pulp_id__in: List[
|
|
659
|
+
:type pulp_id__in: List[UUID]
|
|
659
660
|
:param pulp_label_select: Filter labels by search string
|
|
660
661
|
:type pulp_label_select: str
|
|
661
662
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -748,7 +749,7 @@ class ContentProvenanceApi:
|
|
|
748
749
|
package__in: Optional[List[StrictStr]] = None,
|
|
749
750
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
750
751
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
751
|
-
pulp_id__in: Annotated[Optional[List[
|
|
752
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
752
753
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
753
754
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
754
755
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -794,7 +795,7 @@ class ContentProvenanceApi:
|
|
|
794
795
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
795
796
|
:type pulp_href__in: List[str]
|
|
796
797
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
797
|
-
:type pulp_id__in: List[
|
|
798
|
+
:type pulp_id__in: List[UUID]
|
|
798
799
|
:param pulp_label_select: Filter labels by search string
|
|
799
800
|
:type pulp_label_select: str
|
|
800
801
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
25
|
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
25
26
|
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
@@ -954,7 +955,7 @@ class DistributionsPypiApi:
|
|
|
954
955
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
955
956
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
956
957
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
957
|
-
pulp_id__in: Annotated[Optional[List[
|
|
958
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
958
959
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
959
960
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
960
961
|
repository: Optional[StrictStr] = None,
|
|
@@ -1020,7 +1021,7 @@ class DistributionsPypiApi:
|
|
|
1020
1021
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1021
1022
|
:type pulp_href__in: List[str]
|
|
1022
1023
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1023
|
-
:type pulp_id__in: List[
|
|
1024
|
+
:type pulp_id__in: List[UUID]
|
|
1024
1025
|
:param pulp_label_select: Filter labels by search string
|
|
1025
1026
|
:type pulp_label_select: str
|
|
1026
1027
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1129,7 +1130,7 @@ class DistributionsPypiApi:
|
|
|
1129
1130
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1130
1131
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1131
1132
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1132
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1133
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1133
1134
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1134
1135
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1135
1136
|
repository: Optional[StrictStr] = None,
|
|
@@ -1195,7 +1196,7 @@ class DistributionsPypiApi:
|
|
|
1195
1196
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1196
1197
|
:type pulp_href__in: List[str]
|
|
1197
1198
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1198
|
-
:type pulp_id__in: List[
|
|
1199
|
+
:type pulp_id__in: List[UUID]
|
|
1199
1200
|
:param pulp_label_select: Filter labels by search string
|
|
1200
1201
|
:type pulp_label_select: str
|
|
1201
1202
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1304,7 +1305,7 @@ class DistributionsPypiApi:
|
|
|
1304
1305
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1305
1306
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1306
1307
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1307
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1308
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1308
1309
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1309
1310
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1310
1311
|
repository: Optional[StrictStr] = None,
|
|
@@ -1370,7 +1371,7 @@ class DistributionsPypiApi:
|
|
|
1370
1371
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1371
1372
|
:type pulp_href__in: List[str]
|
|
1372
1373
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1373
|
-
:type pulp_id__in: List[
|
|
1374
|
+
:type pulp_id__in: List[UUID]
|
|
1374
1375
|
:param pulp_label_select: Filter labels by search string
|
|
1375
1376
|
:type pulp_label_select: str
|
|
1376
1377
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -21,6 +21,7 @@ from datetime import datetime
|
|
|
21
21
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
22
22
|
from typing import List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
+
from uuid import UUID
|
|
24
25
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
25
26
|
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
26
27
|
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
@@ -948,7 +949,7 @@ class PublicationsPypiApi:
|
|
|
948
949
|
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
949
950
|
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
950
951
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
951
|
-
pulp_id__in: Annotated[Optional[List[
|
|
952
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
952
953
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
953
954
|
repository: Annotated[Optional[StrictStr], Field(description="Repository referenced by HREF/PRN")] = None,
|
|
954
955
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -1004,7 +1005,7 @@ class PublicationsPypiApi:
|
|
|
1004
1005
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1005
1006
|
:type pulp_href__in: List[str]
|
|
1006
1007
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1007
|
-
:type pulp_id__in: List[
|
|
1008
|
+
:type pulp_id__in: List[UUID]
|
|
1008
1009
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
1009
1010
|
:type q: str
|
|
1010
1011
|
:param repository: Repository referenced by HREF/PRN
|
|
@@ -1100,7 +1101,7 @@ class PublicationsPypiApi:
|
|
|
1100
1101
|
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
1101
1102
|
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
1102
1103
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1103
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1104
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1104
1105
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1105
1106
|
repository: Annotated[Optional[StrictStr], Field(description="Repository referenced by HREF/PRN")] = None,
|
|
1106
1107
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -1156,7 +1157,7 @@ class PublicationsPypiApi:
|
|
|
1156
1157
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1157
1158
|
:type pulp_href__in: List[str]
|
|
1158
1159
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1159
|
-
:type pulp_id__in: List[
|
|
1160
|
+
:type pulp_id__in: List[UUID]
|
|
1160
1161
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
1161
1162
|
:type q: str
|
|
1162
1163
|
:param repository: Repository referenced by HREF/PRN
|
|
@@ -1252,7 +1253,7 @@ class PublicationsPypiApi:
|
|
|
1252
1253
|
pulp_created__lte: Annotated[Optional[datetime], Field(description="Filter results where pulp_created is less than or equal to value")] = None,
|
|
1253
1254
|
pulp_created__range: Annotated[Optional[List[datetime]], Field(description="Filter results where pulp_created is between two comma separated values")] = None,
|
|
1254
1255
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1255
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1256
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1256
1257
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1257
1258
|
repository: Annotated[Optional[StrictStr], Field(description="Repository referenced by HREF/PRN")] = None,
|
|
1258
1259
|
repository_version: Optional[StrictStr] = None,
|
|
@@ -1308,7 +1309,7 @@ class PublicationsPypiApi:
|
|
|
1308
1309
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1309
1310
|
:type pulp_href__in: List[str]
|
|
1310
1311
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1311
|
-
:type pulp_id__in: List[
|
|
1312
|
+
:type pulp_id__in: List[UUID]
|
|
1312
1313
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
1313
1314
|
:type q: str
|
|
1314
1315
|
:param repository: Repository referenced by HREF/PRN
|
|
@@ -21,6 +21,7 @@ from datetime import datetime
|
|
|
21
21
|
from pydantic import Field, StrictBool, StrictBytes, StrictInt, StrictStr, field_validator
|
|
22
22
|
from typing import Any, List, Optional, Tuple, Union
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
|
+
from uuid import UUID
|
|
24
25
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
25
26
|
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
26
27
|
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
@@ -1272,7 +1273,7 @@ class RemotesPythonApi:
|
|
|
1272
1273
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1273
1274
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1274
1275
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1275
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1276
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1276
1277
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1277
1278
|
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
1278
1279
|
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
@@ -1332,7 +1333,7 @@ class RemotesPythonApi:
|
|
|
1332
1333
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1333
1334
|
:type pulp_href__in: List[str]
|
|
1334
1335
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1335
|
-
:type pulp_id__in: List[
|
|
1336
|
+
:type pulp_id__in: List[UUID]
|
|
1336
1337
|
:param pulp_label_select: Filter labels by search string
|
|
1337
1338
|
:type pulp_label_select: str
|
|
1338
1339
|
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
@@ -1443,7 +1444,7 @@ class RemotesPythonApi:
|
|
|
1443
1444
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1444
1445
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1445
1446
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1446
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1447
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1447
1448
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1448
1449
|
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
1449
1450
|
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
@@ -1503,7 +1504,7 @@ class RemotesPythonApi:
|
|
|
1503
1504
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1504
1505
|
:type pulp_href__in: List[str]
|
|
1505
1506
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1506
|
-
:type pulp_id__in: List[
|
|
1507
|
+
:type pulp_id__in: List[UUID]
|
|
1507
1508
|
:param pulp_label_select: Filter labels by search string
|
|
1508
1509
|
:type pulp_label_select: str
|
|
1509
1510
|
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
@@ -1614,7 +1615,7 @@ class RemotesPythonApi:
|
|
|
1614
1615
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1615
1616
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1616
1617
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1617
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1618
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1618
1619
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1619
1620
|
pulp_last_updated: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated matches value")] = None,
|
|
1620
1621
|
pulp_last_updated__gt: Annotated[Optional[datetime], Field(description="Filter results where pulp_last_updated is greater than value")] = None,
|
|
@@ -1674,7 +1675,7 @@ class RemotesPythonApi:
|
|
|
1674
1675
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1675
1676
|
:type pulp_href__in: List[str]
|
|
1676
1677
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1677
|
-
:type pulp_id__in: List[
|
|
1678
|
+
:type pulp_id__in: List[UUID]
|
|
1678
1679
|
:param pulp_label_select: Filter labels by search string
|
|
1679
1680
|
:type pulp_label_select: str
|
|
1680
1681
|
:param pulp_last_updated: Filter results where pulp_last_updated matches value
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
24
25
|
from pulpcore.client.pulp_python.models.my_permissions_response import MyPermissionsResponse
|
|
25
26
|
from pulpcore.client.pulp_python.models.nested_role import NestedRole
|
|
@@ -952,7 +953,7 @@ class RepositoriesPythonApi:
|
|
|
952
953
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
953
954
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
954
955
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
955
|
-
pulp_id__in: Annotated[Optional[List[
|
|
956
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
956
957
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
957
958
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
958
959
|
remote: Optional[StrictStr] = None,
|
|
@@ -1025,7 +1026,7 @@ class RepositoriesPythonApi:
|
|
|
1025
1026
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1026
1027
|
:type pulp_href__in: List[str]
|
|
1027
1028
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1028
|
-
:type pulp_id__in: List[
|
|
1029
|
+
:type pulp_id__in: List[UUID]
|
|
1029
1030
|
:param pulp_label_select: Filter labels by search string
|
|
1030
1031
|
:type pulp_label_select: str
|
|
1031
1032
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1171,7 +1172,7 @@ class RepositoriesPythonApi:
|
|
|
1171
1172
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1172
1173
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1173
1174
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1174
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1175
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1175
1176
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1176
1177
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1177
1178
|
remote: Optional[StrictStr] = None,
|
|
@@ -1244,7 +1245,7 @@ class RepositoriesPythonApi:
|
|
|
1244
1245
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1245
1246
|
:type pulp_href__in: List[str]
|
|
1246
1247
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1247
|
-
:type pulp_id__in: List[
|
|
1248
|
+
:type pulp_id__in: List[UUID]
|
|
1248
1249
|
:param pulp_label_select: Filter labels by search string
|
|
1249
1250
|
:type pulp_label_select: str
|
|
1250
1251
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -1390,7 +1391,7 @@ class RepositoriesPythonApi:
|
|
|
1390
1391
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1391
1392
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1392
1393
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1393
|
-
pulp_id__in: Annotated[Optional[List[
|
|
1394
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1394
1395
|
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
1395
1396
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1396
1397
|
remote: Optional[StrictStr] = None,
|
|
@@ -1463,7 +1464,7 @@ class RepositoriesPythonApi:
|
|
|
1463
1464
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1464
1465
|
:type pulp_href__in: List[str]
|
|
1465
1466
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1466
|
-
:type pulp_id__in: List[
|
|
1467
|
+
:type pulp_id__in: List[UUID]
|
|
1467
1468
|
:param pulp_label_select: Filter labels by search string
|
|
1468
1469
|
:type pulp_label_select: str
|
|
1469
1470
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
@@ -20,6 +20,7 @@ from typing_extensions import Annotated
|
|
|
20
20
|
from pydantic import Field, StrictBool, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
|
+
from uuid import UUID
|
|
23
24
|
from pulpcore.client.pulp_python.models.paginatedpython_python_blocklist_entry_response_list import PaginatedpythonPythonBlocklistEntryResponseList
|
|
24
25
|
from pulpcore.client.pulp_python.models.python_python_blocklist_entry import PythonPythonBlocklistEntry
|
|
25
26
|
from pulpcore.client.pulp_python.models.python_python_blocklist_entry_response import PythonPythonBlocklistEntryResponse
|
|
@@ -633,7 +634,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
633
634
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
634
635
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
635
636
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
636
|
-
pulp_id__in: Annotated[Optional[List[
|
|
637
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
637
638
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
638
639
|
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
639
640
|
version__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where version has a null value")] = None,
|
|
@@ -675,7 +676,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
675
676
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
676
677
|
:type pulp_href__in: List[str]
|
|
677
678
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
678
|
-
:type pulp_id__in: List[
|
|
679
|
+
:type pulp_id__in: List[UUID]
|
|
679
680
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
680
681
|
:type q: str
|
|
681
682
|
:param version: Filter results where version matches value
|
|
@@ -756,7 +757,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
756
757
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
757
758
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
758
759
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
759
|
-
pulp_id__in: Annotated[Optional[List[
|
|
760
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
760
761
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
761
762
|
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
762
763
|
version__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where version has a null value")] = None,
|
|
@@ -798,7 +799,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
798
799
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
799
800
|
:type pulp_href__in: List[str]
|
|
800
801
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
801
|
-
:type pulp_id__in: List[
|
|
802
|
+
:type pulp_id__in: List[UUID]
|
|
802
803
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
803
804
|
:type q: str
|
|
804
805
|
:param version: Filter results where version matches value
|
|
@@ -879,7 +880,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
879
880
|
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `filename` - Filename * `-filename` - Filename (descending) * `added_by` - Added by * `-added_by` - Added by (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
880
881
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
881
882
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
882
|
-
pulp_id__in: Annotated[Optional[List[
|
|
883
|
+
pulp_id__in: Annotated[Optional[List[UUID]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
883
884
|
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
884
885
|
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
885
886
|
version__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where version has a null value")] = None,
|
|
@@ -921,7 +922,7 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
921
922
|
:param pulp_href__in: Multiple values may be separated by commas.
|
|
922
923
|
:type pulp_href__in: List[str]
|
|
923
924
|
:param pulp_id__in: Multiple values may be separated by commas.
|
|
924
|
-
:type pulp_id__in: List[
|
|
925
|
+
:type pulp_id__in: List[UUID]
|
|
925
926
|
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
926
927
|
:type q: str
|
|
927
928
|
:param version: Filter results where version matches value
|
|
@@ -22,6 +22,7 @@ import mimetypes
|
|
|
22
22
|
import os
|
|
23
23
|
import re
|
|
24
24
|
import tempfile
|
|
25
|
+
import uuid
|
|
25
26
|
|
|
26
27
|
from urllib.parse import quote
|
|
27
28
|
from typing import Tuple, Optional, List, Dict, Union
|
|
@@ -91,7 +92,7 @@ class ApiClient:
|
|
|
91
92
|
self.default_headers[header_name] = header_value
|
|
92
93
|
self.cookie = cookie
|
|
93
94
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
95
|
+
self.user_agent = 'OpenAPI-Generator/3.32.0/python'
|
|
95
96
|
self.client_side_validation = configuration.client_side_validation
|
|
96
97
|
|
|
97
98
|
def __enter__(self):
|
|
@@ -312,7 +313,7 @@ class ApiClient:
|
|
|
312
313
|
return_data = self.__deserialize_file(response_data)
|
|
313
314
|
elif response_type is not None:
|
|
314
315
|
match = None
|
|
315
|
-
content_type = response_data.
|
|
316
|
+
content_type = response_data.headers.get('content-type')
|
|
316
317
|
if content_type is not None:
|
|
317
318
|
match = re.search(r"charset=([a-zA-Z\-\d]+)[\s;]?", content_type)
|
|
318
319
|
encoding = match.group(1) if match else "utf-8"
|
|
@@ -329,7 +330,7 @@ class ApiClient:
|
|
|
329
330
|
return ApiResponse(
|
|
330
331
|
status_code = response_data.status,
|
|
331
332
|
data = return_data,
|
|
332
|
-
headers = response_data.
|
|
333
|
+
headers = response_data.headers,
|
|
333
334
|
raw_data = response_data.data
|
|
334
335
|
)
|
|
335
336
|
|
|
@@ -357,6 +358,8 @@ class ApiClient:
|
|
|
357
358
|
return obj.get_secret_value()
|
|
358
359
|
elif isinstance(obj, self.PRIMITIVE_TYPES):
|
|
359
360
|
return obj
|
|
361
|
+
elif isinstance(obj, uuid.UUID):
|
|
362
|
+
return str(obj)
|
|
360
363
|
elif isinstance(obj, list):
|
|
361
364
|
return [
|
|
362
365
|
self.sanitize_for_serialization(sub_obj) for sub_obj in obj
|
|
@@ -409,7 +412,7 @@ class ApiClient:
|
|
|
409
412
|
data = json.loads(response_text)
|
|
410
413
|
except ValueError:
|
|
411
414
|
data = response_text
|
|
412
|
-
elif re.match(r'^application/(json|[\w
|
|
415
|
+
elif re.match(r'^application/(json|[\w!#$&.+\-^_]+\+json)\s*(;|$)', content_type, re.IGNORECASE):
|
|
413
416
|
if response_text == "":
|
|
414
417
|
data = ""
|
|
415
418
|
else:
|
|
@@ -458,13 +461,13 @@ class ApiClient:
|
|
|
458
461
|
|
|
459
462
|
if klass in self.PRIMITIVE_TYPES:
|
|
460
463
|
return self.__deserialize_primitive(data, klass)
|
|
461
|
-
elif klass
|
|
464
|
+
elif klass is object:
|
|
462
465
|
return self.__deserialize_object(data)
|
|
463
|
-
elif klass
|
|
466
|
+
elif klass is datetime.date:
|
|
464
467
|
return self.__deserialize_date(data)
|
|
465
|
-
elif klass
|
|
468
|
+
elif klass is datetime.datetime:
|
|
466
469
|
return self.__deserialize_datetime(data)
|
|
467
|
-
elif klass
|
|
470
|
+
elif klass is decimal.Decimal:
|
|
468
471
|
return decimal.Decimal(data)
|
|
469
472
|
elif issubclass(klass, Enum):
|
|
470
473
|
return self.__deserialize_enum(data, klass)
|
|
@@ -699,7 +702,7 @@ class ApiClient:
|
|
|
699
702
|
os.close(fd)
|
|
700
703
|
os.remove(path)
|
|
701
704
|
|
|
702
|
-
content_disposition = response.
|
|
705
|
+
content_disposition = response.headers.get("Content-Disposition")
|
|
703
706
|
if content_disposition:
|
|
704
707
|
m = re.search(
|
|
705
708
|
r'filename=[\'"]?([^\'"\s]+)[\'"]?',
|
|
@@ -165,6 +165,8 @@ class Configuration:
|
|
|
165
165
|
:param retries: Number of retries for API requests.
|
|
166
166
|
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
167
167
|
in PEM (str) or DER (bytes) format.
|
|
168
|
+
:param cert_file: the path to a client certificate file, for mTLS.
|
|
169
|
+
:param key_file: the path to a client key file, for mTLS.
|
|
168
170
|
|
|
169
171
|
:Example:
|
|
170
172
|
|
|
@@ -222,6 +224,8 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
222
224
|
ssl_ca_cert: Optional[str]=None,
|
|
223
225
|
retries: Optional[int] = None,
|
|
224
226
|
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
227
|
+
cert_file: Optional[str]=None,
|
|
228
|
+
key_file: Optional[str]=None,
|
|
225
229
|
*,
|
|
226
230
|
debug: Optional[bool] = None,
|
|
227
231
|
) -> None:
|
|
@@ -303,10 +307,10 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
303
307
|
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
304
308
|
certificate data.
|
|
305
309
|
"""
|
|
306
|
-
self.cert_file =
|
|
310
|
+
self.cert_file = cert_file
|
|
307
311
|
"""client certificate file
|
|
308
312
|
"""
|
|
309
|
-
self.key_file =
|
|
313
|
+
self.key_file = key_file
|
|
310
314
|
"""client key file
|
|
311
315
|
"""
|
|
312
316
|
self.assert_hostname = None
|
|
@@ -519,6 +523,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
519
523
|
password = ""
|
|
520
524
|
if self.password is not None:
|
|
521
525
|
password = self.password
|
|
526
|
+
|
|
522
527
|
return urllib3.util.make_headers(
|
|
523
528
|
basic_auth=username + ':' + password
|
|
524
529
|
).get('authorization')
|
|
@@ -556,7 +561,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
556
561
|
"OS: {env}\n"\
|
|
557
562
|
"Python Version: {pyversion}\n"\
|
|
558
563
|
"Version of the API: v3\n"\
|
|
559
|
-
"SDK Package Version: 3.
|
|
564
|
+
"SDK Package Version: 3.32.0".\
|
|
560
565
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
566
|
|
|
562
567
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -604,6 +609,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
604
609
|
variable_name, variable['default_value'])
|
|
605
610
|
|
|
606
611
|
if 'enum_values' in variable \
|
|
612
|
+
and variable['enum_values'] \
|
|
607
613
|
and used_value not in variable['enum_values']:
|
|
608
614
|
raise ValueError(
|
|
609
615
|
"The variable `{0}` in the host URL has invalid value "
|
|
@@ -129,7 +129,7 @@ class ApiException(OpenApiException):
|
|
|
129
129
|
self.body = http_resp.data.decode('utf-8')
|
|
130
130
|
except Exception:
|
|
131
131
|
pass
|
|
132
|
-
self.headers = http_resp.
|
|
132
|
+
self.headers = http_resp.headers
|
|
133
133
|
|
|
134
134
|
@classmethod
|
|
135
135
|
def from_response(
|
|
@@ -170,8 +170,11 @@ class ApiException(OpenApiException):
|
|
|
170
170
|
error_message += "HTTP response headers: {0}\n".format(
|
|
171
171
|
self.headers)
|
|
172
172
|
|
|
173
|
-
if self.
|
|
174
|
-
error_message += "HTTP response body: {0}\n".format(self.
|
|
173
|
+
if self.body:
|
|
174
|
+
error_message += "HTTP response body: {0}\n".format(self.body)
|
|
175
|
+
|
|
176
|
+
if self.data:
|
|
177
|
+
error_message += "HTTP response data: {0}\n".format(self.data)
|
|
175
178
|
|
|
176
179
|
return error_message
|
|
177
180
|
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
Do not edit the class manually.
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
# import models into model package
|
|
18
17
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
19
18
|
from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
|
|
@@ -64,3 +63,4 @@ from pulpcore.client.pulp_python.models.set_label_response import SetLabelRespon
|
|
|
64
63
|
from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
|
65
64
|
from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
|
|
66
65
|
from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
|
|
66
|
+
|
|
@@ -75,6 +75,7 @@ class PythonPackageProvenanceResponse(BaseModel):
|
|
|
75
75
|
* OpenAPI `readOnly` fields are excluded.
|
|
76
76
|
* OpenAPI `readOnly` fields are excluded.
|
|
77
77
|
* OpenAPI `readOnly` fields are excluded.
|
|
78
|
+
* OpenAPI `readOnly` fields are excluded.
|
|
78
79
|
"""
|
|
79
80
|
excluded_fields: Set[str] = set([
|
|
80
81
|
"pulp_href",
|
|
@@ -82,6 +83,7 @@ class PythonPackageProvenanceResponse(BaseModel):
|
|
|
82
83
|
"pulp_created",
|
|
83
84
|
"pulp_last_updated",
|
|
84
85
|
"vuln_report",
|
|
86
|
+
"provenance",
|
|
85
87
|
"sha256",
|
|
86
88
|
])
|
|
87
89
|
|
|
@@ -49,12 +49,21 @@ class RESTResponse(io.IOBase):
|
|
|
49
49
|
self.data = self.response.data
|
|
50
50
|
return self.data
|
|
51
51
|
|
|
52
|
+
@property
|
|
53
|
+
def headers(self):
|
|
54
|
+
"""Returns a dictionary of response headers."""
|
|
55
|
+
# Workaround: convert HTTPHeaderDict to a plain dict to preserve multi-valued
|
|
56
|
+
# headers (e.g. Set-Cookie). Without this, duplicate keys are lost.
|
|
57
|
+
# We dealt with the same problem in the past in pulpcore test_login.py
|
|
58
|
+
# _fix_response_headers (for getheaders instead of headers).
|
|
59
|
+
return dict(self.response.headers)
|
|
60
|
+
|
|
52
61
|
def getheaders(self):
|
|
53
|
-
"""Returns a dictionary of the response headers."""
|
|
62
|
+
"""Returns a dictionary of the response headers; use ``headers`` instead."""
|
|
54
63
|
return self.response.headers
|
|
55
64
|
|
|
56
65
|
def getheader(self, name, default=None):
|
|
57
|
-
"""Returns a given response header."""
|
|
66
|
+
"""Returns a given response header; use ``headers.get()`` instead."""
|
|
58
67
|
return self.response.headers.get(name, default)
|
|
59
68
|
|
|
60
69
|
|
|
File without changes
|