pulp-python-client 3.29.0__py3-none-any.whl → 3.30.1__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.29.0.dist-info → pulp_python_client-3.30.1.dist-info}/METADATA +4 -3
- {pulp_python_client-3.29.0.dist-info → pulp_python_client-3.30.1.dist-info}/RECORD +11 -11
- pulpcore/client/pulp_python/__init__.py +1 -1
- pulpcore/client/pulp_python/api/content_packages_api.py +31 -1
- pulpcore/client/pulp_python/api/content_provenance_api.py +15 -0
- pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py +141 -1
- pulpcore/client/pulp_python/api_client.py +1 -1
- pulpcore/client/pulp_python/configuration.py +1 -1
- pulpcore/client/pulp_python/models/repository_add_remove_content.py +3 -2
- {pulp_python_client-3.29.0.dist-info → pulp_python_client-3.30.1.dist-info}/WHEEL +0 -0
- {pulp_python_client-3.29.0.dist-info → pulp_python_client-3.30.1.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.30.1
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -24,7 +24,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
24
24
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
25
25
|
|
|
26
26
|
- API version: v3
|
|
27
|
-
- Package version: 3.
|
|
27
|
+
- Package version: 3.30.1
|
|
28
28
|
- Generator version: 7.14.0
|
|
29
29
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
30
30
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -107,6 +107,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
107
107
|
relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
|
|
108
108
|
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
109
109
|
repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
|
|
110
|
+
overwrite = True # bool | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. (optional)
|
|
110
111
|
pulp_labels = None # Dict[str, Optional[str]] | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. (optional)
|
|
111
112
|
artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
|
|
112
113
|
file = None # bytearray | An uploaded file that may be turned into the content unit. (optional)
|
|
@@ -144,7 +145,7 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
|
|
|
144
145
|
|
|
145
146
|
try:
|
|
146
147
|
# Create a python package content
|
|
147
|
-
api_response = api_instance.create(relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
148
|
+
api_response = api_instance.create(relative_path, x_task_diagnostics=x_task_diagnostics, repository=repository, overwrite=overwrite, pulp_labels=pulp_labels, artifact=artifact, file=file, upload=upload, file_url=file_url, downloader_config=downloader_config, author=author, author_email=author_email, description=description, home_page=home_page, keywords=keywords, license=license, platform=platform, summary=summary, classifiers=classifiers, download_url=download_url, supported_platform=supported_platform, maintainer=maintainer, maintainer_email=maintainer_email, obsoletes_dist=obsoletes_dist, project_url=project_url, project_urls=project_urls, provides_dist=provides_dist, requires_external=requires_external, requires_dist=requires_dist, requires_python=requires_python, description_content_type=description_content_type, provides_extras=provides_extras, dynamic=dynamic, license_expression=license_expression, license_file=license_file, sha256=sha256, metadata_sha256=metadata_sha256, attestations=attestations)
|
|
148
149
|
print("The response of ContentPackagesApi->create:\n")
|
|
149
150
|
pprint(api_response)
|
|
150
151
|
except ApiException as e:
|
|
@@ -1,15 +1,15 @@
|
|
|
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=h_97Lb1pXs9oqbE-x6ACgcdt_bzjbBIruosZ9PwCioM,11263
|
|
4
|
+
pulpcore/client/pulp_python/api_client.py,sha256=WRlBhipki04jTFQCa1AU_n_vN6amo0p-ky2zYt8aUTo,27772
|
|
5
5
|
pulpcore/client/pulp_python/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_python/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_python/configuration.py,sha256=QNt_Q552C4zatrF9L96jKOvRGQPrgOGACiX3EvuVBak,19588
|
|
7
7
|
pulpcore/client/pulp_python/exceptions.py,sha256=UUQyfmHrA0wKpyniO8D6jgIOSee4k0dBIImRgs74ERw,6456
|
|
8
8
|
pulpcore/client/pulp_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulp_python/rest.py,sha256=6sLIAY0kZZoh8inygjKObUkLhf-icE4ljhyb00i8nZ0,9466
|
|
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=
|
|
11
|
+
pulpcore/client/pulp_python/api/content_packages_api.py,sha256=3YaDLzMHz2PVX8ZgE1UZvaYBcdUwFRUcIsiYz3Rv1aU,202957
|
|
12
|
+
pulpcore/client/pulp_python/api/content_provenance_api.py,sha256=6qGB-wc0ctieg2X8U6_OG4ytURELLk4EKz0F4JCluSQ,93402
|
|
13
13
|
pulpcore/client/pulp_python/api/distributions_pypi_api.py,sha256=IExUvZCAgvQD4kagmIi897M-T_uHXuMQaZgqsQDATWg,183639
|
|
14
14
|
pulpcore/client/pulp_python/api/publications_pypi_api.py,sha256=7sQeO5y3Td5vJcQhi5P7eSBuvXP2UHqhrVCTcJ2ia-g,131620
|
|
15
15
|
pulpcore/client/pulp_python/api/pypi_api.py,sha256=YV0qe3htsZrysNA8nyQwV-te9hxZgrZ89aMin8HQV70,13944
|
|
@@ -19,7 +19,7 @@ pulpcore/client/pulp_python/api/pypi_provenance_api.py,sha256=E9-vmrOejeeYrsPtzM
|
|
|
19
19
|
pulpcore/client/pulp_python/api/pypi_simple_api.py,sha256=YHYcYwVgwsPn5a1u6vbYmrs2MztY319kWOisgnrKbYk,47579
|
|
20
20
|
pulpcore/client/pulp_python/api/remotes_python_api.py,sha256=4miaULBiTHnGwHHk9Vr3OlJZW2azQCq7D3HHbbkJPy4,210230
|
|
21
21
|
pulpcore/client/pulp_python/api/repositories_python_api.py,sha256=kykIzHIdypYCc9MvyujaDgIK_FJD6qBq9WRbu5J7wOI,237464
|
|
22
|
-
pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py,sha256=
|
|
22
|
+
pulpcore/client/pulp_python/api/repositories_python_blocklist_entries_api.py,sha256=rqjOq3u2cJPZn78QC5wbM3XBCkbUhpw5BqZ9WoAyb5s,67587
|
|
23
23
|
pulpcore/client/pulp_python/api/repositories_python_versions_api.py,sha256=D_5kQzCVMrIcpXQFB0lbDfRoUmV9URH93vbmOHzza30,90236
|
|
24
24
|
pulpcore/client/pulp_python/models/__init__.py,sha256=Bfbo9JD3H08nrTSKq8qOnAUwB7Ihp3h-3wIBORY1M6c,5377
|
|
25
25
|
pulpcore/client/pulp_python/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
|
|
@@ -63,7 +63,7 @@ pulpcore/client/pulp_python/models/python_python_repository_response.py,sha256=z
|
|
|
63
63
|
pulpcore/client/pulp_python/models/remote_network_config.py,sha256=wy727M9zoBT8_NeuNgWJMsDlxgrZKa1w9_mDKbHkQ-s,9849
|
|
64
64
|
pulpcore/client/pulp_python/models/remote_network_config_response.py,sha256=C7jw8k2mhKtgaIjdEgSzfMERl-sZsxKhQn0lpgYRhMI,7616
|
|
65
65
|
pulpcore/client/pulp_python/models/repair.py,sha256=-jAKvUUzykn-n5O5jYGJy40JF0PRI32rJA8lojwQV-o,2635
|
|
66
|
-
pulpcore/client/pulp_python/models/repository_add_remove_content.py,sha256=
|
|
66
|
+
pulpcore/client/pulp_python/models/repository_add_remove_content.py,sha256=53cbQC5qftRxoDIThM_mZdzYa6b4-QWZxDm_cbJZ-4o,3885
|
|
67
67
|
pulpcore/client/pulp_python/models/repository_sync_url.py,sha256=y9f0iSPJo6COmOle2D1ZX4uNP33wP1EhcYcSJPoxoYI,2831
|
|
68
68
|
pulpcore/client/pulp_python/models/repository_version_response.py,sha256=61EliyO0vSjACFY6VUYfG08Zs4bnIXkGcdo48MALsuI,4799
|
|
69
69
|
pulpcore/client/pulp_python/models/set_label.py,sha256=RUyFNW3RAhBGopbdzeL4g0cMmXJ3Gw4mHA68On7wx9g,2763
|
|
@@ -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.30.1.dist-info/METADATA,sha256=d1z5hQ39h9YU6h3zlPL1-uVxqpfEXlCV4NlkJElBb_U,23970
|
|
75
|
+
pulp_python_client-3.30.1.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
76
|
+
pulp_python_client-3.30.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
77
|
+
pulp_python_client-3.30.1.dist-info/RECORD,,
|
|
@@ -17,7 +17,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
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
23
|
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
|
@@ -52,6 +52,7 @@ class ContentPackagesApi:
|
|
|
52
52
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
53
53
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
54
54
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
55
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
55
56
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
56
57
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
57
58
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -109,6 +110,8 @@ class ContentPackagesApi:
|
|
|
109
110
|
:type x_task_diagnostics: List[str]
|
|
110
111
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
111
112
|
:type repository: str
|
|
113
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
114
|
+
:type overwrite: bool
|
|
112
115
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
113
116
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
114
117
|
:param artifact: Artifact file representing the physical content
|
|
@@ -203,6 +206,7 @@ class ContentPackagesApi:
|
|
|
203
206
|
relative_path=relative_path,
|
|
204
207
|
x_task_diagnostics=x_task_diagnostics,
|
|
205
208
|
repository=repository,
|
|
209
|
+
overwrite=overwrite,
|
|
206
210
|
pulp_labels=pulp_labels,
|
|
207
211
|
artifact=artifact,
|
|
208
212
|
file=file,
|
|
@@ -263,6 +267,7 @@ class ContentPackagesApi:
|
|
|
263
267
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
264
268
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
265
269
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
270
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
266
271
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
267
272
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
268
273
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -320,6 +325,8 @@ class ContentPackagesApi:
|
|
|
320
325
|
:type x_task_diagnostics: List[str]
|
|
321
326
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
322
327
|
:type repository: str
|
|
328
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
329
|
+
:type overwrite: bool
|
|
323
330
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
324
331
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
325
332
|
:param artifact: Artifact file representing the physical content
|
|
@@ -414,6 +421,7 @@ class ContentPackagesApi:
|
|
|
414
421
|
relative_path=relative_path,
|
|
415
422
|
x_task_diagnostics=x_task_diagnostics,
|
|
416
423
|
repository=repository,
|
|
424
|
+
overwrite=overwrite,
|
|
417
425
|
pulp_labels=pulp_labels,
|
|
418
426
|
artifact=artifact,
|
|
419
427
|
file=file,
|
|
@@ -474,6 +482,7 @@ class ContentPackagesApi:
|
|
|
474
482
|
relative_path: Annotated[str, Field(min_length=1, strict=True, description="Path where the artifact is located relative to distributions base_path")],
|
|
475
483
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
476
484
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
485
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
477
486
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
478
487
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
479
488
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -531,6 +540,8 @@ class ContentPackagesApi:
|
|
|
531
540
|
:type x_task_diagnostics: List[str]
|
|
532
541
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
533
542
|
:type repository: str
|
|
543
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
544
|
+
:type overwrite: bool
|
|
534
545
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
535
546
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
536
547
|
:param artifact: Artifact file representing the physical content
|
|
@@ -625,6 +636,7 @@ class ContentPackagesApi:
|
|
|
625
636
|
relative_path=relative_path,
|
|
626
637
|
x_task_diagnostics=x_task_diagnostics,
|
|
627
638
|
repository=repository,
|
|
639
|
+
overwrite=overwrite,
|
|
628
640
|
pulp_labels=pulp_labels,
|
|
629
641
|
artifact=artifact,
|
|
630
642
|
file=file,
|
|
@@ -680,6 +692,7 @@ class ContentPackagesApi:
|
|
|
680
692
|
relative_path,
|
|
681
693
|
x_task_diagnostics,
|
|
682
694
|
repository,
|
|
695
|
+
overwrite,
|
|
683
696
|
pulp_labels,
|
|
684
697
|
artifact,
|
|
685
698
|
file,
|
|
@@ -743,6 +756,8 @@ class ContentPackagesApi:
|
|
|
743
756
|
# process the form parameters
|
|
744
757
|
if repository is not None:
|
|
745
758
|
_form_params.append(('repository', repository))
|
|
759
|
+
if overwrite is not None:
|
|
760
|
+
_form_params.append(('overwrite', overwrite))
|
|
746
761
|
if pulp_labels is not None:
|
|
747
762
|
_form_params.append(('pulp_labels', pulp_labels))
|
|
748
763
|
if artifact is not None:
|
|
@@ -2702,6 +2717,7 @@ class ContentPackagesApi:
|
|
|
2702
2717
|
def upload(
|
|
2703
2718
|
self,
|
|
2704
2719
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2720
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
2705
2721
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
2706
2722
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
2707
2723
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -2755,6 +2771,8 @@ class ContentPackagesApi:
|
|
|
2755
2771
|
|
|
2756
2772
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2757
2773
|
:type x_task_diagnostics: List[str]
|
|
2774
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
2775
|
+
:type overwrite: bool
|
|
2758
2776
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
2759
2777
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
2760
2778
|
:param artifact: Artifact file representing the physical content
|
|
@@ -2847,6 +2865,7 @@ class ContentPackagesApi:
|
|
|
2847
2865
|
|
|
2848
2866
|
_param = self._upload_serialize(
|
|
2849
2867
|
x_task_diagnostics=x_task_diagnostics,
|
|
2868
|
+
overwrite=overwrite,
|
|
2850
2869
|
pulp_labels=pulp_labels,
|
|
2851
2870
|
artifact=artifact,
|
|
2852
2871
|
file=file,
|
|
@@ -2905,6 +2924,7 @@ class ContentPackagesApi:
|
|
|
2905
2924
|
def upload_with_http_info(
|
|
2906
2925
|
self,
|
|
2907
2926
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
2927
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
2908
2928
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
2909
2929
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
2910
2930
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -2958,6 +2978,8 @@ class ContentPackagesApi:
|
|
|
2958
2978
|
|
|
2959
2979
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
2960
2980
|
:type x_task_diagnostics: List[str]
|
|
2981
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
2982
|
+
:type overwrite: bool
|
|
2961
2983
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
2962
2984
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
2963
2985
|
:param artifact: Artifact file representing the physical content
|
|
@@ -3050,6 +3072,7 @@ class ContentPackagesApi:
|
|
|
3050
3072
|
|
|
3051
3073
|
_param = self._upload_serialize(
|
|
3052
3074
|
x_task_diagnostics=x_task_diagnostics,
|
|
3075
|
+
overwrite=overwrite,
|
|
3053
3076
|
pulp_labels=pulp_labels,
|
|
3054
3077
|
artifact=artifact,
|
|
3055
3078
|
file=file,
|
|
@@ -3108,6 +3131,7 @@ class ContentPackagesApi:
|
|
|
3108
3131
|
def upload_without_preload_content(
|
|
3109
3132
|
self,
|
|
3110
3133
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
3134
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
3111
3135
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
3112
3136
|
artifact: Annotated[Optional[StrictStr], Field(description="Artifact file representing the physical content")] = None,
|
|
3113
3137
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
@@ -3161,6 +3185,8 @@ class ContentPackagesApi:
|
|
|
3161
3185
|
|
|
3162
3186
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
3163
3187
|
:type x_task_diagnostics: List[str]
|
|
3188
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
3189
|
+
:type overwrite: bool
|
|
3164
3190
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
3165
3191
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
3166
3192
|
:param artifact: Artifact file representing the physical content
|
|
@@ -3253,6 +3279,7 @@ class ContentPackagesApi:
|
|
|
3253
3279
|
|
|
3254
3280
|
_param = self._upload_serialize(
|
|
3255
3281
|
x_task_diagnostics=x_task_diagnostics,
|
|
3282
|
+
overwrite=overwrite,
|
|
3256
3283
|
pulp_labels=pulp_labels,
|
|
3257
3284
|
artifact=artifact,
|
|
3258
3285
|
file=file,
|
|
@@ -3306,6 +3333,7 @@ class ContentPackagesApi:
|
|
|
3306
3333
|
def _upload_serialize(
|
|
3307
3334
|
self,
|
|
3308
3335
|
x_task_diagnostics,
|
|
3336
|
+
overwrite,
|
|
3309
3337
|
pulp_labels,
|
|
3310
3338
|
artifact,
|
|
3311
3339
|
file,
|
|
@@ -3367,6 +3395,8 @@ class ContentPackagesApi:
|
|
|
3367
3395
|
if x_task_diagnostics is not None:
|
|
3368
3396
|
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
3369
3397
|
# process the form parameters
|
|
3398
|
+
if overwrite is not None:
|
|
3399
|
+
_form_params.append(('overwrite', overwrite))
|
|
3370
3400
|
if pulp_labels is not None:
|
|
3371
3401
|
_form_params.append(('pulp_labels', pulp_labels))
|
|
3372
3402
|
if artifact is not None:
|
|
@@ -52,6 +52,7 @@ class ContentProvenanceApi:
|
|
|
52
52
|
package: Annotated[StrictStr, Field(description="The package that the provenance is for.")],
|
|
53
53
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
54
54
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
55
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
55
56
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
56
57
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
57
58
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
@@ -81,6 +82,8 @@ class ContentProvenanceApi:
|
|
|
81
82
|
:type x_task_diagnostics: List[str]
|
|
82
83
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
83
84
|
:type repository: str
|
|
85
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
86
|
+
:type overwrite: bool
|
|
84
87
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
85
88
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
86
89
|
:param file: An uploaded file that may be turned into the content unit.
|
|
@@ -119,6 +122,7 @@ class ContentProvenanceApi:
|
|
|
119
122
|
package=package,
|
|
120
123
|
x_task_diagnostics=x_task_diagnostics,
|
|
121
124
|
repository=repository,
|
|
125
|
+
overwrite=overwrite,
|
|
122
126
|
pulp_labels=pulp_labels,
|
|
123
127
|
file=file,
|
|
124
128
|
upload=upload,
|
|
@@ -151,6 +155,7 @@ class ContentProvenanceApi:
|
|
|
151
155
|
package: Annotated[StrictStr, Field(description="The package that the provenance is for.")],
|
|
152
156
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
153
157
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
158
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
154
159
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
155
160
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
156
161
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
@@ -180,6 +185,8 @@ class ContentProvenanceApi:
|
|
|
180
185
|
:type x_task_diagnostics: List[str]
|
|
181
186
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
182
187
|
:type repository: str
|
|
188
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
189
|
+
:type overwrite: bool
|
|
183
190
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
184
191
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
185
192
|
:param file: An uploaded file that may be turned into the content unit.
|
|
@@ -218,6 +225,7 @@ class ContentProvenanceApi:
|
|
|
218
225
|
package=package,
|
|
219
226
|
x_task_diagnostics=x_task_diagnostics,
|
|
220
227
|
repository=repository,
|
|
228
|
+
overwrite=overwrite,
|
|
221
229
|
pulp_labels=pulp_labels,
|
|
222
230
|
file=file,
|
|
223
231
|
upload=upload,
|
|
@@ -250,6 +258,7 @@ class ContentProvenanceApi:
|
|
|
250
258
|
package: Annotated[StrictStr, Field(description="The package that the provenance is for.")],
|
|
251
259
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
252
260
|
repository: Annotated[Optional[StrictStr], Field(description="A URI of a repository the new content unit should be associated with.")] = None,
|
|
261
|
+
overwrite: Annotated[Optional[StrictBool], Field(description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.")] = None,
|
|
253
262
|
pulp_labels: Annotated[Optional[Dict[str, Optional[StrictStr]]], Field(description="A dictionary of arbitrary key/value pairs used to describe a specific Content instance.")] = None,
|
|
254
263
|
file: Annotated[Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]], Field(description="An uploaded file that may be turned into the content unit.")] = None,
|
|
255
264
|
upload: Annotated[Optional[StrictStr], Field(description="An uncommitted upload that may be turned into the content unit.")] = None,
|
|
@@ -279,6 +288,8 @@ class ContentProvenanceApi:
|
|
|
279
288
|
:type x_task_diagnostics: List[str]
|
|
280
289
|
:param repository: A URI of a repository the new content unit should be associated with.
|
|
281
290
|
:type repository: str
|
|
291
|
+
:param overwrite: When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true.
|
|
292
|
+
:type overwrite: bool
|
|
282
293
|
:param pulp_labels: A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
283
294
|
:type pulp_labels: Dict[str, Optional[str]]
|
|
284
295
|
:param file: An uploaded file that may be turned into the content unit.
|
|
@@ -317,6 +328,7 @@ class ContentProvenanceApi:
|
|
|
317
328
|
package=package,
|
|
318
329
|
x_task_diagnostics=x_task_diagnostics,
|
|
319
330
|
repository=repository,
|
|
331
|
+
overwrite=overwrite,
|
|
320
332
|
pulp_labels=pulp_labels,
|
|
321
333
|
file=file,
|
|
322
334
|
upload=upload,
|
|
@@ -344,6 +356,7 @@ class ContentProvenanceApi:
|
|
|
344
356
|
package,
|
|
345
357
|
x_task_diagnostics,
|
|
346
358
|
repository,
|
|
359
|
+
overwrite,
|
|
347
360
|
pulp_labels,
|
|
348
361
|
file,
|
|
349
362
|
upload,
|
|
@@ -379,6 +392,8 @@ class ContentProvenanceApi:
|
|
|
379
392
|
# process the form parameters
|
|
380
393
|
if repository is not None:
|
|
381
394
|
_form_params.append(('repository', repository))
|
|
395
|
+
if overwrite is not None:
|
|
396
|
+
_form_params.append(('overwrite', overwrite))
|
|
382
397
|
if pulp_labels is not None:
|
|
383
398
|
_form_params.append(('pulp_labels', pulp_labels))
|
|
384
399
|
if file is not None:
|
|
@@ -17,7 +17,7 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
17
17
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
18
|
from typing_extensions import Annotated
|
|
19
19
|
|
|
20
|
-
from pydantic import Field, StrictInt, StrictStr
|
|
20
|
+
from pydantic import Field, StrictInt, StrictStr, field_validator
|
|
21
21
|
from typing import List, Optional
|
|
22
22
|
from typing_extensions import Annotated
|
|
23
23
|
from pulpcore.client.pulp_python.models.paginatedpython_python_blocklist_entry_response_list import PaginatedpythonPythonBlocklistEntryResponseList
|
|
@@ -626,8 +626,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
626
626
|
self,
|
|
627
627
|
python_python_repository_href: StrictStr,
|
|
628
628
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
629
|
+
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
629
630
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
631
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
630
632
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
633
|
+
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
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
635
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
636
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
637
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
638
|
+
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
631
639
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
632
640
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
633
641
|
_request_timeout: Union[
|
|
@@ -651,10 +659,26 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
651
659
|
:type python_python_repository_href: str
|
|
652
660
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
653
661
|
:type x_task_diagnostics: List[str]
|
|
662
|
+
:param filename: Filter results where filename matches value
|
|
663
|
+
:type filename: str
|
|
654
664
|
:param limit: Number of results to return per page.
|
|
655
665
|
:type limit: int
|
|
666
|
+
:param name: Filter results where name matches value
|
|
667
|
+
:type name: str
|
|
656
668
|
:param offset: The initial index from which to return the results.
|
|
657
669
|
:type offset: int
|
|
670
|
+
:param ordering: 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)
|
|
671
|
+
:type ordering: List[str]
|
|
672
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
673
|
+
:type prn__in: List[str]
|
|
674
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
675
|
+
:type pulp_href__in: List[str]
|
|
676
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
677
|
+
:type pulp_id__in: List[str]
|
|
678
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
679
|
+
:type q: str
|
|
680
|
+
:param version: Filter results where version matches value
|
|
681
|
+
:type version: str
|
|
658
682
|
:param fields: A list of fields to include in the response.
|
|
659
683
|
:type fields: List[str]
|
|
660
684
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -684,8 +708,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
684
708
|
_param = self._list_serialize(
|
|
685
709
|
python_python_repository_href=python_python_repository_href,
|
|
686
710
|
x_task_diagnostics=x_task_diagnostics,
|
|
711
|
+
filename=filename,
|
|
687
712
|
limit=limit,
|
|
713
|
+
name=name,
|
|
688
714
|
offset=offset,
|
|
715
|
+
ordering=ordering,
|
|
716
|
+
prn__in=prn__in,
|
|
717
|
+
pulp_href__in=pulp_href__in,
|
|
718
|
+
pulp_id__in=pulp_id__in,
|
|
719
|
+
q=q,
|
|
720
|
+
version=version,
|
|
689
721
|
fields=fields,
|
|
690
722
|
exclude_fields=exclude_fields,
|
|
691
723
|
_request_auth=_request_auth,
|
|
@@ -713,8 +745,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
713
745
|
self,
|
|
714
746
|
python_python_repository_href: StrictStr,
|
|
715
747
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
748
|
+
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
716
749
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
750
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
717
751
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
752
|
+
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,
|
|
753
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
754
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
755
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
756
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
757
|
+
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
718
758
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
719
759
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
720
760
|
_request_timeout: Union[
|
|
@@ -738,10 +778,26 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
738
778
|
:type python_python_repository_href: str
|
|
739
779
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
740
780
|
:type x_task_diagnostics: List[str]
|
|
781
|
+
:param filename: Filter results where filename matches value
|
|
782
|
+
:type filename: str
|
|
741
783
|
:param limit: Number of results to return per page.
|
|
742
784
|
:type limit: int
|
|
785
|
+
:param name: Filter results where name matches value
|
|
786
|
+
:type name: str
|
|
743
787
|
:param offset: The initial index from which to return the results.
|
|
744
788
|
:type offset: int
|
|
789
|
+
:param ordering: 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)
|
|
790
|
+
:type ordering: List[str]
|
|
791
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
792
|
+
:type prn__in: List[str]
|
|
793
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
794
|
+
:type pulp_href__in: List[str]
|
|
795
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
796
|
+
:type pulp_id__in: List[str]
|
|
797
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
798
|
+
:type q: str
|
|
799
|
+
:param version: Filter results where version matches value
|
|
800
|
+
:type version: str
|
|
745
801
|
:param fields: A list of fields to include in the response.
|
|
746
802
|
:type fields: List[str]
|
|
747
803
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -771,8 +827,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
771
827
|
_param = self._list_serialize(
|
|
772
828
|
python_python_repository_href=python_python_repository_href,
|
|
773
829
|
x_task_diagnostics=x_task_diagnostics,
|
|
830
|
+
filename=filename,
|
|
774
831
|
limit=limit,
|
|
832
|
+
name=name,
|
|
775
833
|
offset=offset,
|
|
834
|
+
ordering=ordering,
|
|
835
|
+
prn__in=prn__in,
|
|
836
|
+
pulp_href__in=pulp_href__in,
|
|
837
|
+
pulp_id__in=pulp_id__in,
|
|
838
|
+
q=q,
|
|
839
|
+
version=version,
|
|
776
840
|
fields=fields,
|
|
777
841
|
exclude_fields=exclude_fields,
|
|
778
842
|
_request_auth=_request_auth,
|
|
@@ -800,8 +864,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
800
864
|
self,
|
|
801
865
|
python_python_repository_href: StrictStr,
|
|
802
866
|
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
867
|
+
filename: Annotated[Optional[StrictStr], Field(description="Filter results where filename matches value")] = None,
|
|
803
868
|
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
869
|
+
name: Annotated[Optional[StrictStr], Field(description="Filter results where name matches value")] = None,
|
|
804
870
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
871
|
+
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,
|
|
872
|
+
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
873
|
+
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
874
|
+
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
875
|
+
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
876
|
+
version: Annotated[Optional[StrictStr], Field(description="Filter results where version matches value")] = None,
|
|
805
877
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
806
878
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
807
879
|
_request_timeout: Union[
|
|
@@ -825,10 +897,26 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
825
897
|
:type python_python_repository_href: str
|
|
826
898
|
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
827
899
|
:type x_task_diagnostics: List[str]
|
|
900
|
+
:param filename: Filter results where filename matches value
|
|
901
|
+
:type filename: str
|
|
828
902
|
:param limit: Number of results to return per page.
|
|
829
903
|
:type limit: int
|
|
904
|
+
:param name: Filter results where name matches value
|
|
905
|
+
:type name: str
|
|
830
906
|
:param offset: The initial index from which to return the results.
|
|
831
907
|
:type offset: int
|
|
908
|
+
:param ordering: 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)
|
|
909
|
+
:type ordering: List[str]
|
|
910
|
+
:param prn__in: Multiple values may be separated by commas.
|
|
911
|
+
:type prn__in: List[str]
|
|
912
|
+
:param pulp_href__in: Multiple values may be separated by commas.
|
|
913
|
+
:type pulp_href__in: List[str]
|
|
914
|
+
:param pulp_id__in: Multiple values may be separated by commas.
|
|
915
|
+
:type pulp_id__in: List[str]
|
|
916
|
+
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
917
|
+
:type q: str
|
|
918
|
+
:param version: Filter results where version matches value
|
|
919
|
+
:type version: str
|
|
832
920
|
:param fields: A list of fields to include in the response.
|
|
833
921
|
:type fields: List[str]
|
|
834
922
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -858,8 +946,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
858
946
|
_param = self._list_serialize(
|
|
859
947
|
python_python_repository_href=python_python_repository_href,
|
|
860
948
|
x_task_diagnostics=x_task_diagnostics,
|
|
949
|
+
filename=filename,
|
|
861
950
|
limit=limit,
|
|
951
|
+
name=name,
|
|
862
952
|
offset=offset,
|
|
953
|
+
ordering=ordering,
|
|
954
|
+
prn__in=prn__in,
|
|
955
|
+
pulp_href__in=pulp_href__in,
|
|
956
|
+
pulp_id__in=pulp_id__in,
|
|
957
|
+
q=q,
|
|
958
|
+
version=version,
|
|
863
959
|
fields=fields,
|
|
864
960
|
exclude_fields=exclude_fields,
|
|
865
961
|
_request_auth=_request_auth,
|
|
@@ -882,8 +978,16 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
882
978
|
self,
|
|
883
979
|
python_python_repository_href,
|
|
884
980
|
x_task_diagnostics,
|
|
981
|
+
filename,
|
|
885
982
|
limit,
|
|
983
|
+
name,
|
|
886
984
|
offset,
|
|
985
|
+
ordering,
|
|
986
|
+
prn__in,
|
|
987
|
+
pulp_href__in,
|
|
988
|
+
pulp_id__in,
|
|
989
|
+
q,
|
|
990
|
+
version,
|
|
887
991
|
fields,
|
|
888
992
|
exclude_fields,
|
|
889
993
|
_request_auth,
|
|
@@ -896,6 +1000,10 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
896
1000
|
|
|
897
1001
|
_collection_formats: Dict[str, str] = {
|
|
898
1002
|
'X-Task-Diagnostics': 'csv',
|
|
1003
|
+
'ordering': 'csv',
|
|
1004
|
+
'prn__in': 'csv',
|
|
1005
|
+
'pulp_href__in': 'csv',
|
|
1006
|
+
'pulp_id__in': 'csv',
|
|
899
1007
|
'fields': 'multi',
|
|
900
1008
|
'exclude_fields': 'multi',
|
|
901
1009
|
}
|
|
@@ -913,14 +1021,46 @@ class RepositoriesPythonBlocklistEntriesApi:
|
|
|
913
1021
|
if python_python_repository_href is not None:
|
|
914
1022
|
_path_params['python_python_repository_href'] = python_python_repository_href
|
|
915
1023
|
# process the query parameters
|
|
1024
|
+
if filename is not None:
|
|
1025
|
+
|
|
1026
|
+
_query_params.append(('filename', filename))
|
|
1027
|
+
|
|
916
1028
|
if limit is not None:
|
|
917
1029
|
|
|
918
1030
|
_query_params.append(('limit', limit))
|
|
919
1031
|
|
|
1032
|
+
if name is not None:
|
|
1033
|
+
|
|
1034
|
+
_query_params.append(('name', name))
|
|
1035
|
+
|
|
920
1036
|
if offset is not None:
|
|
921
1037
|
|
|
922
1038
|
_query_params.append(('offset', offset))
|
|
923
1039
|
|
|
1040
|
+
if ordering is not None:
|
|
1041
|
+
|
|
1042
|
+
_query_params.append(('ordering', ordering))
|
|
1043
|
+
|
|
1044
|
+
if prn__in is not None:
|
|
1045
|
+
|
|
1046
|
+
_query_params.append(('prn__in', prn__in))
|
|
1047
|
+
|
|
1048
|
+
if pulp_href__in is not None:
|
|
1049
|
+
|
|
1050
|
+
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
1051
|
+
|
|
1052
|
+
if pulp_id__in is not None:
|
|
1053
|
+
|
|
1054
|
+
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
1055
|
+
|
|
1056
|
+
if q is not None:
|
|
1057
|
+
|
|
1058
|
+
_query_params.append(('q', q))
|
|
1059
|
+
|
|
1060
|
+
if version is not None:
|
|
1061
|
+
|
|
1062
|
+
_query_params.append(('version', version))
|
|
1063
|
+
|
|
924
1064
|
if fields is not None:
|
|
925
1065
|
|
|
926
1066
|
_query_params.append(('fields', fields))
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.30.1/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -556,7 +556,7 @@ conf = pulpcore.client.pulp_python.Configuration(
|
|
|
556
556
|
"OS: {env}\n"\
|
|
557
557
|
"Python Version: {pyversion}\n"\
|
|
558
558
|
"Version of the API: v3\n"\
|
|
559
|
-
"SDK Package Version: 3.
|
|
559
|
+
"SDK Package Version: 3.30.1".\
|
|
560
560
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
561
|
|
|
562
562
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -18,7 +18,7 @@ import pprint
|
|
|
18
18
|
import re # noqa: F401
|
|
19
19
|
import json
|
|
20
20
|
|
|
21
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
23
|
from typing_extensions import Annotated
|
|
24
24
|
from typing import Optional, Set
|
|
@@ -31,7 +31,8 @@ class RepositoryAddRemoveContent(BaseModel):
|
|
|
31
31
|
add_content_units: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = Field(default=None, description="A list of content units to add to a new repository version. This content is added after remove_content_units are removed.")
|
|
32
32
|
remove_content_units: Optional[List[Annotated[str, Field(min_length=1, strict=True)]]] = Field(default=None, description="A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added.")
|
|
33
33
|
base_version: Optional[StrictStr] = Field(default=None, description="A repository version whose content will be used as the initial set of content for the new repository version")
|
|
34
|
-
|
|
34
|
+
overwrite: Optional[StrictBool] = Field(default=True, description="When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true.")
|
|
35
|
+
__properties: ClassVar[List[str]] = ["add_content_units", "remove_content_units", "base_version", "overwrite"]
|
|
35
36
|
|
|
36
37
|
model_config = ConfigDict(
|
|
37
38
|
populate_by_name=True,
|
|
File without changes
|
|
File without changes
|