crc-pulpcore-client 20250819.1__py3-none-any.whl → 20250821.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.
Potentially problematic release.
This version of crc-pulpcore-client might be problematic. Click here for more details.
- crc-pulpcore-client/api_client.py +1 -1
- crc-pulpcore-client/configuration.py +3 -3
- crc-pulpcore-client/models/artifact_distribution_response.py +13 -13
- {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/METADATA +1 -1
- crc_pulpcore_client-20250821.1.dist-info/RECORD +234 -0
- crc_pulpcore_client-20250821.1.dist-info/top_level.txt +1 -0
- crc_pulpcore_client-20250819.1.dist-info/RECORD +0 -464
- crc_pulpcore_client-20250819.1.dist-info/top_level.txt +0 -2
- services-pulpcore-client/__init__.py +0 -2
- services-pulpcore-client/api/__init__.py +0 -53
- services-pulpcore-client/api/access_policies_api.py +0 -1864
- services-pulpcore-client/api/artifacts_api.py +0 -1615
- services-pulpcore-client/api/content_api.py +0 -598
- services-pulpcore-client/api/content_openpgp_publickey_api.py +0 -1887
- services-pulpcore-client/api/content_openpgp_publicsubkey_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_signature_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_userattribute_api.py +0 -1518
- services-pulpcore-client/api/content_openpgp_userid_api.py +0 -1655
- services-pulpcore-client/api/contentguards_api.py +0 -667
- services-pulpcore-client/api/contentguards_composite_api.py +0 -3401
- services-pulpcore-client/api/contentguards_content_redirect_api.py +0 -3401
- services-pulpcore-client/api/contentguards_header_api.py +0 -3401
- services-pulpcore-client/api/contentguards_rbac_api.py +0 -3401
- services-pulpcore-client/api/distributions_api.py +0 -822
- services-pulpcore-client/api/distributions_artifacts_api.py +0 -1103
- services-pulpcore-client/api/distributions_openpgp_api.py +0 -2676
- services-pulpcore-client/api/domains_api.py +0 -3106
- services-pulpcore-client/api/exporters_filesystem_api.py +0 -2157
- services-pulpcore-client/api/exporters_filesystem_exports_api.py +0 -1288
- services-pulpcore-client/api/exporters_pulp_api.py +0 -2157
- services-pulpcore-client/api/exporters_pulp_exports_api.py +0 -1288
- services-pulpcore-client/api/groups_api.py +0 -3368
- services-pulpcore-client/api/groups_roles_api.py +0 -1496
- services-pulpcore-client/api/groups_users_api.py +0 -972
- services-pulpcore-client/api/importers_pulp_api.py +0 -2149
- services-pulpcore-client/api/importers_pulp_import_check_api.py +0 -350
- services-pulpcore-client/api/importers_pulp_imports_api.py +0 -1288
- services-pulpcore-client/api/livez_api.py +0 -329
- services-pulpcore-client/api/login_api.py +0 -897
- services-pulpcore-client/api/orphans_api.py +0 -319
- services-pulpcore-client/api/orphans_cleanup_api.py +0 -350
- services-pulpcore-client/api/publications_api.py +0 -765
- services-pulpcore-client/api/remotes_api.py +0 -850
- services-pulpcore-client/api/repair_api.py +0 -350
- services-pulpcore-client/api/repositories_api.py +0 -872
- services-pulpcore-client/api/repositories_openpgp_keyring_api.py +0 -4546
- services-pulpcore-client/api/repositories_reclaim_space_api.py +0 -350
- services-pulpcore-client/api/repository_versions_api.py +0 -764
- services-pulpcore-client/api/roles_api.py +0 -2269
- services-pulpcore-client/api/signing_services_api.py +0 -811
- services-pulpcore-client/api/status_api.py +0 -337
- services-pulpcore-client/api/task_groups_api.py +0 -1012
- services-pulpcore-client/api/task_schedules_api.py +0 -2114
- services-pulpcore-client/api/tasks_api.py +0 -4299
- services-pulpcore-client/api/uploads_api.py +0 -3346
- services-pulpcore-client/api/upstream_pulps_api.py +0 -4001
- services-pulpcore-client/api/users_api.py +0 -2373
- services-pulpcore-client/api/users_roles_api.py +0 -1496
- services-pulpcore-client/api/workers_api.py +0 -1148
- services-pulpcore-client/api_client.py +0 -798
- services-pulpcore-client/api_response.py +0 -21
- services-pulpcore-client/configuration.py +0 -628
- services-pulpcore-client/exceptions.py +0 -200
- services-pulpcore-client/models/__init__.py +0 -189
- services-pulpcore-client/models/access_policy.py +0 -94
- services-pulpcore-client/models/access_policy_response.py +0 -119
- services-pulpcore-client/models/api_app_status_response.py +0 -99
- services-pulpcore-client/models/artifact_distribution_response.py +0 -126
- services-pulpcore-client/models/artifact_response.py +0 -149
- services-pulpcore-client/models/async_operation_response.py +0 -88
- services-pulpcore-client/models/composite_content_guard.py +0 -98
- services-pulpcore-client/models/composite_content_guard_response.py +0 -114
- services-pulpcore-client/models/content_app_status_response.py +0 -99
- services-pulpcore-client/models/content_guard_response.py +0 -112
- services-pulpcore-client/models/content_redirect_content_guard.py +0 -96
- services-pulpcore-client/models/content_redirect_content_guard_response.py +0 -112
- services-pulpcore-client/models/content_settings_response.py +0 -95
- services-pulpcore-client/models/content_summary_response.py +0 -92
- services-pulpcore-client/models/database_connection_response.py +0 -88
- services-pulpcore-client/models/distribution_response.py +0 -133
- services-pulpcore-client/models/domain.py +0 -114
- services-pulpcore-client/models/domain_backend_migrator.py +0 -91
- services-pulpcore-client/models/domain_response.py +0 -131
- services-pulpcore-client/models/evaluation_response.py +0 -92
- services-pulpcore-client/models/filesystem_export.py +0 -99
- services-pulpcore-client/models/filesystem_export_response.py +0 -118
- services-pulpcore-client/models/filesystem_exporter.py +0 -94
- services-pulpcore-client/models/filesystem_exporter_response.py +0 -110
- services-pulpcore-client/models/generic_remote_response.py +0 -199
- services-pulpcore-client/models/generic_remote_response_hidden_fields_inner.py +0 -90
- services-pulpcore-client/models/generic_remote_response_policy_enum.py +0 -39
- services-pulpcore-client/models/group.py +0 -89
- services-pulpcore-client/models/group_progress_report_response.py +0 -111
- services-pulpcore-client/models/group_response.py +0 -101
- services-pulpcore-client/models/group_role.py +0 -110
- services-pulpcore-client/models/group_role_response.py +0 -134
- services-pulpcore-client/models/group_user.py +0 -89
- services-pulpcore-client/models/group_user_response.py +0 -97
- services-pulpcore-client/models/header_content_guard.py +0 -107
- services-pulpcore-client/models/header_content_guard_response.py +0 -123
- services-pulpcore-client/models/import_response.py +0 -107
- services-pulpcore-client/models/login_response.py +0 -98
- services-pulpcore-client/models/method_enum.py +0 -39
- services-pulpcore-client/models/minimal_task_response.py +0 -125
- services-pulpcore-client/models/multiple_artifact_content_response.py +0 -107
- services-pulpcore-client/models/my_permissions_response.py +0 -88
- services-pulpcore-client/models/nested_open_pgp_public_subkey.py +0 -92
- services-pulpcore-client/models/nested_open_pgp_public_subkey_response.py +0 -104
- services-pulpcore-client/models/nested_open_pgp_signature.py +0 -120
- services-pulpcore-client/models/nested_open_pgp_signature_response.py +0 -124
- services-pulpcore-client/models/nested_open_pgp_user_attribute.py +0 -89
- services-pulpcore-client/models/nested_open_pgp_user_attribute_response.py +0 -101
- services-pulpcore-client/models/nested_open_pgp_user_id.py +0 -89
- services-pulpcore-client/models/nested_open_pgp_user_id_response.py +0 -100
- services-pulpcore-client/models/nested_role.py +0 -93
- services-pulpcore-client/models/nested_role_response.py +0 -92
- services-pulpcore-client/models/object_roles_response.py +0 -96
- services-pulpcore-client/models/open_pgp_distribution.py +0 -116
- services-pulpcore-client/models/open_pgp_distribution_response.py +0 -140
- services-pulpcore-client/models/open_pgp_keyring.py +0 -112
- services-pulpcore-client/models/open_pgp_keyring_response.py +0 -137
- services-pulpcore-client/models/open_pgp_public_key_response.py +0 -150
- services-pulpcore-client/models/open_pgp_public_subkey_response.py +0 -126
- services-pulpcore-client/models/open_pgp_signature_response.py +0 -146
- services-pulpcore-client/models/open_pgp_user_attribute_response.py +0 -124
- services-pulpcore-client/models/open_pgp_user_id_response.py +0 -123
- services-pulpcore-client/models/orphans_cleanup.py +0 -96
- services-pulpcore-client/models/paginated_access_policy_response_list.py +0 -112
- services-pulpcore-client/models/paginated_artifact_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_artifact_response_list.py +0 -112
- services-pulpcore-client/models/paginated_composite_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_content_redirect_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_domain_response_list.py +0 -112
- services-pulpcore-client/models/paginated_filesystem_export_response_list.py +0 -112
- services-pulpcore-client/models/paginated_filesystem_exporter_response_list.py +0 -112
- services-pulpcore-client/models/paginated_generic_remote_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_group_user_response_list.py +0 -112
- services-pulpcore-client/models/paginated_header_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_import_response_list.py +0 -112
- services-pulpcore-client/models/paginated_multiple_artifact_content_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_distribution_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_keyring_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_public_key_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_public_subkey_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_signature_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_user_attribute_response_list.py +0 -112
- services-pulpcore-client/models/paginated_open_pgp_user_id_response_list.py +0 -112
- services-pulpcore-client/models/paginated_publication_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_export_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_exporter_response_list.py +0 -112
- services-pulpcore-client/models/paginated_pulp_importer_response_list.py +0 -112
- services-pulpcore-client/models/paginated_rbac_content_guard_response_list.py +0 -112
- services-pulpcore-client/models/paginated_repository_response_list.py +0 -112
- services-pulpcore-client/models/paginated_repository_version_response_list.py +0 -112
- services-pulpcore-client/models/paginated_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_signing_service_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_group_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_response_list.py +0 -112
- services-pulpcore-client/models/paginated_task_schedule_response_list.py +0 -112
- services-pulpcore-client/models/paginated_upload_response_list.py +0 -112
- services-pulpcore-client/models/paginated_upstream_pulp_response_list.py +0 -112
- services-pulpcore-client/models/paginated_user_response_list.py +0 -112
- services-pulpcore-client/models/paginated_user_role_response_list.py +0 -112
- services-pulpcore-client/models/paginated_worker_response_list.py +0 -112
- services-pulpcore-client/models/patched_access_policy.py +0 -94
- services-pulpcore-client/models/patched_composite_content_guard.py +0 -98
- services-pulpcore-client/models/patched_content_redirect_content_guard.py +0 -96
- services-pulpcore-client/models/patched_domain.py +0 -117
- services-pulpcore-client/models/patched_filesystem_exporter.py +0 -94
- services-pulpcore-client/models/patched_group.py +0 -89
- services-pulpcore-client/models/patched_header_content_guard.py +0 -107
- services-pulpcore-client/models/patched_open_pgp_distribution.py +0 -116
- services-pulpcore-client/models/patched_open_pgp_keyring.py +0 -112
- services-pulpcore-client/models/patched_pulp_exporter.py +0 -100
- services-pulpcore-client/models/patched_pulp_importer.py +0 -91
- services-pulpcore-client/models/patched_rbac_content_guard.py +0 -96
- services-pulpcore-client/models/patched_role.py +0 -98
- services-pulpcore-client/models/patched_task_cancel.py +0 -89
- services-pulpcore-client/models/patched_upstream_pulp.py +0 -147
- services-pulpcore-client/models/patched_user.py +0 -106
- services-pulpcore-client/models/policy357_enum.py +0 -39
- services-pulpcore-client/models/profile_artifact_response.py +0 -88
- services-pulpcore-client/models/progress_report_response.py +0 -115
- services-pulpcore-client/models/publication_response.py +0 -107
- services-pulpcore-client/models/pulp_export.py +0 -104
- services-pulpcore-client/models/pulp_export_response.py +0 -126
- services-pulpcore-client/models/pulp_exporter.py +0 -100
- services-pulpcore-client/models/pulp_exporter_response.py +0 -116
- services-pulpcore-client/models/pulp_import.py +0 -93
- services-pulpcore-client/models/pulp_import_check.py +0 -93
- services-pulpcore-client/models/pulp_import_check_response.py +0 -102
- services-pulpcore-client/models/pulp_importer.py +0 -91
- services-pulpcore-client/models/pulp_importer_response.py +0 -107
- services-pulpcore-client/models/purge.py +0 -92
- services-pulpcore-client/models/rbac_content_guard.py +0 -96
- services-pulpcore-client/models/rbac_content_guard_response.py +0 -136
- services-pulpcore-client/models/reclaim_space.py +0 -90
- services-pulpcore-client/models/redis_connection_response.py +0 -88
- services-pulpcore-client/models/repair.py +0 -88
- services-pulpcore-client/models/repository_add_remove_content.py +0 -93
- services-pulpcore-client/models/repository_response.py +0 -137
- services-pulpcore-client/models/repository_version_response.py +0 -121
- services-pulpcore-client/models/role.py +0 -98
- services-pulpcore-client/models/role_response.py +0 -118
- services-pulpcore-client/models/set_label.py +0 -103
- services-pulpcore-client/models/set_label_response.py +0 -103
- services-pulpcore-client/models/signing_service_response.py +0 -111
- services-pulpcore-client/models/states_enum.py +0 -40
- services-pulpcore-client/models/status_response.py +0 -152
- services-pulpcore-client/models/storage_class_enum.py +0 -40
- services-pulpcore-client/models/storage_response.py +0 -108
- services-pulpcore-client/models/task_group_operation_response.py +0 -88
- services-pulpcore-client/models/task_group_response.py +0 -150
- services-pulpcore-client/models/task_response.py +0 -167
- services-pulpcore-client/models/task_schedule_response.py +0 -127
- services-pulpcore-client/models/unset_label.py +0 -96
- services-pulpcore-client/models/unset_label_response.py +0 -100
- services-pulpcore-client/models/upload.py +0 -88
- services-pulpcore-client/models/upload_chunk_response.py +0 -94
- services-pulpcore-client/models/upload_commit.py +0 -89
- services-pulpcore-client/models/upload_detail_response.py +0 -121
- services-pulpcore-client/models/upload_response.py +0 -109
- services-pulpcore-client/models/upstream_pulp.py +0 -147
- services-pulpcore-client/models/upstream_pulp_response.py +0 -158
- services-pulpcore-client/models/user.py +0 -106
- services-pulpcore-client/models/user_group.py +0 -89
- services-pulpcore-client/models/user_group_response.py +0 -97
- services-pulpcore-client/models/user_response.py +0 -140
- services-pulpcore-client/models/user_role.py +0 -110
- services-pulpcore-client/models/user_role_response.py +0 -134
- services-pulpcore-client/models/version_response.py +0 -96
- services-pulpcore-client/models/worker_response.py +0 -119
- services-pulpcore-client/py.typed +0 -0
- services-pulpcore-client/rest.py +0 -258
- {crc_pulpcore_client-20250819.1.dist-info → crc_pulpcore_client-20250821.1.dist-info}/WHEEL +0 -0
|
@@ -1,598 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Pulp 3 API
|
|
5
|
-
|
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: v3
|
|
9
|
-
Contact: pulp-list@redhat.com
|
|
10
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
-
|
|
12
|
-
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
14
|
-
|
|
15
|
-
import warnings
|
|
16
|
-
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
-
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
-
from typing_extensions import Annotated
|
|
19
|
-
|
|
20
|
-
from pydantic import Field, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
-
from typing import List, Optional, Union
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
|
-
from services-pulpcore-client.models.paginated_multiple_artifact_content_response_list import PaginatedMultipleArtifactContentResponseList
|
|
24
|
-
|
|
25
|
-
from services-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
26
|
-
from services-pulpcore-client.api_response import ApiResponse
|
|
27
|
-
from services-pulpcore-client.rest import RESTResponseType
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
class ContentApi:
|
|
31
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
32
|
-
Ref: https://openapi-generator.tech
|
|
33
|
-
|
|
34
|
-
Do not edit the class manually.
|
|
35
|
-
"""
|
|
36
|
-
|
|
37
|
-
def __init__(self, api_client=None) -> None:
|
|
38
|
-
if api_client is None:
|
|
39
|
-
api_client = ApiClient.get_default()
|
|
40
|
-
self.api_client = api_client
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@validate_call
|
|
44
|
-
def list(
|
|
45
|
-
self,
|
|
46
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
47
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
48
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
49
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
50
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
51
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
52
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
53
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
54
|
-
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
55
|
-
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
56
|
-
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
57
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
58
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
59
|
-
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
60
|
-
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
61
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
62
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
63
|
-
pulp_domain: StrictStr = "default",
|
|
64
|
-
_request_timeout: Union[
|
|
65
|
-
None,
|
|
66
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
67
|
-
Tuple[
|
|
68
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
69
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
70
|
-
]
|
|
71
|
-
] = None,
|
|
72
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
73
|
-
_content_type: Optional[StrictStr] = None,
|
|
74
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
75
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
76
|
-
) -> PaginatedMultipleArtifactContentResponseList:
|
|
77
|
-
"""List content
|
|
78
|
-
|
|
79
|
-
Endpoint to list all content.
|
|
80
|
-
|
|
81
|
-
:param pulp_domain: (required)
|
|
82
|
-
:type pulp_domain: str
|
|
83
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
84
|
-
:type x_task_diagnostics: List[str]
|
|
85
|
-
:param limit: Number of results to return per page.
|
|
86
|
-
:type limit: int
|
|
87
|
-
:param offset: The initial index from which to return the results.
|
|
88
|
-
:type offset: int
|
|
89
|
-
:param ordering: Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
90
|
-
:type ordering: List[str]
|
|
91
|
-
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
92
|
-
:type orphaned_for: float
|
|
93
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
94
|
-
:type prn__in: List[str]
|
|
95
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
96
|
-
:type pulp_href__in: List[str]
|
|
97
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
98
|
-
:type pulp_id__in: List[str]
|
|
99
|
-
:param pulp_label_select: Filter labels by search string
|
|
100
|
-
:type pulp_label_select: str
|
|
101
|
-
:param pulp_type: Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
102
|
-
:type pulp_type: str
|
|
103
|
-
:param pulp_type__in: Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
104
|
-
:type pulp_type__in: List[str]
|
|
105
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
106
|
-
:type q: str
|
|
107
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
108
|
-
:type repository_version: str
|
|
109
|
-
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
110
|
-
:type repository_version_added: str
|
|
111
|
-
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
112
|
-
:type repository_version_removed: str
|
|
113
|
-
:param fields: A list of fields to include in the response.
|
|
114
|
-
:type fields: List[str]
|
|
115
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
116
|
-
:type exclude_fields: List[str]
|
|
117
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
118
|
-
number provided, it will be total request
|
|
119
|
-
timeout. It can also be a pair (tuple) of
|
|
120
|
-
(connection, read) timeouts.
|
|
121
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
122
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
123
|
-
request; this effectively ignores the
|
|
124
|
-
authentication in the spec for a single request.
|
|
125
|
-
:type _request_auth: dict, optional
|
|
126
|
-
:param _content_type: force content-type for the request.
|
|
127
|
-
:type _content_type: str, Optional
|
|
128
|
-
:param _headers: set to override the headers for a single
|
|
129
|
-
request; this effectively ignores the headers
|
|
130
|
-
in the spec for a single request.
|
|
131
|
-
:type _headers: dict, optional
|
|
132
|
-
:param _host_index: set to override the host_index for a single
|
|
133
|
-
request; this effectively ignores the host_index
|
|
134
|
-
in the spec for a single request.
|
|
135
|
-
:type _host_index: int, optional
|
|
136
|
-
:return: Returns the result object.
|
|
137
|
-
""" # noqa: E501
|
|
138
|
-
|
|
139
|
-
_param = self._list_serialize(
|
|
140
|
-
pulp_domain=pulp_domain,
|
|
141
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
142
|
-
limit=limit,
|
|
143
|
-
offset=offset,
|
|
144
|
-
ordering=ordering,
|
|
145
|
-
orphaned_for=orphaned_for,
|
|
146
|
-
prn__in=prn__in,
|
|
147
|
-
pulp_href__in=pulp_href__in,
|
|
148
|
-
pulp_id__in=pulp_id__in,
|
|
149
|
-
pulp_label_select=pulp_label_select,
|
|
150
|
-
pulp_type=pulp_type,
|
|
151
|
-
pulp_type__in=pulp_type__in,
|
|
152
|
-
q=q,
|
|
153
|
-
repository_version=repository_version,
|
|
154
|
-
repository_version_added=repository_version_added,
|
|
155
|
-
repository_version_removed=repository_version_removed,
|
|
156
|
-
fields=fields,
|
|
157
|
-
exclude_fields=exclude_fields,
|
|
158
|
-
_request_auth=_request_auth,
|
|
159
|
-
_content_type=_content_type,
|
|
160
|
-
_headers=_headers,
|
|
161
|
-
_host_index=_host_index
|
|
162
|
-
)
|
|
163
|
-
|
|
164
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
165
|
-
'200': "PaginatedMultipleArtifactContentResponseList",
|
|
166
|
-
}
|
|
167
|
-
response_data = self.api_client.call_api(
|
|
168
|
-
*_param,
|
|
169
|
-
_request_timeout=_request_timeout
|
|
170
|
-
)
|
|
171
|
-
response_data.read()
|
|
172
|
-
return self.api_client.response_deserialize(
|
|
173
|
-
response_data=response_data,
|
|
174
|
-
response_types_map=_response_types_map,
|
|
175
|
-
).data
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
@validate_call
|
|
179
|
-
def list_with_http_info(
|
|
180
|
-
self,
|
|
181
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
182
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
183
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
184
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
185
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
186
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
187
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
188
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
189
|
-
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
190
|
-
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
191
|
-
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
192
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
193
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
194
|
-
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
195
|
-
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
196
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
197
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
198
|
-
pulp_domain: StrictStr = "default",
|
|
199
|
-
_request_timeout: Union[
|
|
200
|
-
None,
|
|
201
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
202
|
-
Tuple[
|
|
203
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
204
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
205
|
-
]
|
|
206
|
-
] = None,
|
|
207
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
208
|
-
_content_type: Optional[StrictStr] = None,
|
|
209
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
210
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
211
|
-
) -> ApiResponse[PaginatedMultipleArtifactContentResponseList]:
|
|
212
|
-
"""List content
|
|
213
|
-
|
|
214
|
-
Endpoint to list all content.
|
|
215
|
-
|
|
216
|
-
:param pulp_domain: (required)
|
|
217
|
-
:type pulp_domain: str
|
|
218
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
219
|
-
:type x_task_diagnostics: List[str]
|
|
220
|
-
:param limit: Number of results to return per page.
|
|
221
|
-
:type limit: int
|
|
222
|
-
:param offset: The initial index from which to return the results.
|
|
223
|
-
:type offset: int
|
|
224
|
-
:param ordering: Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
225
|
-
:type ordering: List[str]
|
|
226
|
-
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
227
|
-
:type orphaned_for: float
|
|
228
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
229
|
-
:type prn__in: List[str]
|
|
230
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
231
|
-
:type pulp_href__in: List[str]
|
|
232
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
233
|
-
:type pulp_id__in: List[str]
|
|
234
|
-
:param pulp_label_select: Filter labels by search string
|
|
235
|
-
:type pulp_label_select: str
|
|
236
|
-
:param pulp_type: Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
237
|
-
:type pulp_type: str
|
|
238
|
-
:param pulp_type__in: Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
239
|
-
:type pulp_type__in: List[str]
|
|
240
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
241
|
-
:type q: str
|
|
242
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
243
|
-
:type repository_version: str
|
|
244
|
-
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
245
|
-
:type repository_version_added: str
|
|
246
|
-
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
247
|
-
:type repository_version_removed: str
|
|
248
|
-
:param fields: A list of fields to include in the response.
|
|
249
|
-
:type fields: List[str]
|
|
250
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
251
|
-
:type exclude_fields: List[str]
|
|
252
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
253
|
-
number provided, it will be total request
|
|
254
|
-
timeout. It can also be a pair (tuple) of
|
|
255
|
-
(connection, read) timeouts.
|
|
256
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
257
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
258
|
-
request; this effectively ignores the
|
|
259
|
-
authentication in the spec for a single request.
|
|
260
|
-
:type _request_auth: dict, optional
|
|
261
|
-
:param _content_type: force content-type for the request.
|
|
262
|
-
:type _content_type: str, Optional
|
|
263
|
-
:param _headers: set to override the headers for a single
|
|
264
|
-
request; this effectively ignores the headers
|
|
265
|
-
in the spec for a single request.
|
|
266
|
-
:type _headers: dict, optional
|
|
267
|
-
:param _host_index: set to override the host_index for a single
|
|
268
|
-
request; this effectively ignores the host_index
|
|
269
|
-
in the spec for a single request.
|
|
270
|
-
:type _host_index: int, optional
|
|
271
|
-
:return: Returns the result object.
|
|
272
|
-
""" # noqa: E501
|
|
273
|
-
|
|
274
|
-
_param = self._list_serialize(
|
|
275
|
-
pulp_domain=pulp_domain,
|
|
276
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
277
|
-
limit=limit,
|
|
278
|
-
offset=offset,
|
|
279
|
-
ordering=ordering,
|
|
280
|
-
orphaned_for=orphaned_for,
|
|
281
|
-
prn__in=prn__in,
|
|
282
|
-
pulp_href__in=pulp_href__in,
|
|
283
|
-
pulp_id__in=pulp_id__in,
|
|
284
|
-
pulp_label_select=pulp_label_select,
|
|
285
|
-
pulp_type=pulp_type,
|
|
286
|
-
pulp_type__in=pulp_type__in,
|
|
287
|
-
q=q,
|
|
288
|
-
repository_version=repository_version,
|
|
289
|
-
repository_version_added=repository_version_added,
|
|
290
|
-
repository_version_removed=repository_version_removed,
|
|
291
|
-
fields=fields,
|
|
292
|
-
exclude_fields=exclude_fields,
|
|
293
|
-
_request_auth=_request_auth,
|
|
294
|
-
_content_type=_content_type,
|
|
295
|
-
_headers=_headers,
|
|
296
|
-
_host_index=_host_index
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
300
|
-
'200': "PaginatedMultipleArtifactContentResponseList",
|
|
301
|
-
}
|
|
302
|
-
response_data = self.api_client.call_api(
|
|
303
|
-
*_param,
|
|
304
|
-
_request_timeout=_request_timeout
|
|
305
|
-
)
|
|
306
|
-
response_data.read()
|
|
307
|
-
return self.api_client.response_deserialize(
|
|
308
|
-
response_data=response_data,
|
|
309
|
-
response_types_map=_response_types_map,
|
|
310
|
-
)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
@validate_call
|
|
314
|
-
def list_without_preload_content(
|
|
315
|
-
self,
|
|
316
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
317
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
318
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
319
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
320
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
321
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
322
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
323
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
324
|
-
pulp_label_select: Annotated[Optional[StrictStr], Field(description="Filter labels by search string")] = None,
|
|
325
|
-
pulp_type: Annotated[Optional[StrictStr], Field(description="Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
326
|
-
pulp_type__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file")] = None,
|
|
327
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
328
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
329
|
-
repository_version_added: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
330
|
-
repository_version_removed: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
331
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
332
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
333
|
-
pulp_domain: StrictStr = "default",
|
|
334
|
-
_request_timeout: Union[
|
|
335
|
-
None,
|
|
336
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
337
|
-
Tuple[
|
|
338
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
339
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
340
|
-
]
|
|
341
|
-
] = None,
|
|
342
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
343
|
-
_content_type: Optional[StrictStr] = None,
|
|
344
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
345
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
346
|
-
) -> RESTResponseType:
|
|
347
|
-
"""List content
|
|
348
|
-
|
|
349
|
-
Endpoint to list all content.
|
|
350
|
-
|
|
351
|
-
:param pulp_domain: (required)
|
|
352
|
-
:type pulp_domain: str
|
|
353
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
354
|
-
:type x_task_diagnostics: List[str]
|
|
355
|
-
:param limit: Number of results to return per page.
|
|
356
|
-
:type limit: int
|
|
357
|
-
:param offset: The initial index from which to return the results.
|
|
358
|
-
:type offset: int
|
|
359
|
-
:param ordering: Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
|
360
|
-
:type ordering: List[str]
|
|
361
|
-
:param orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
362
|
-
:type orphaned_for: float
|
|
363
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
364
|
-
:type prn__in: List[str]
|
|
365
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
366
|
-
:type pulp_href__in: List[str]
|
|
367
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
368
|
-
:type pulp_id__in: List[str]
|
|
369
|
-
:param pulp_label_select: Filter labels by search string
|
|
370
|
-
:type pulp_label_select: str
|
|
371
|
-
:param pulp_type: Pulp type * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
372
|
-
:type pulp_type: str
|
|
373
|
-
:param pulp_type__in: Multiple values may be separated by commas. * `core.publishedmetadata` - core.publishedmetadata * `core.openpgp_publickey` - core.openpgp_publickey * `core.openpgp_publicsubkey` - core.openpgp_publicsubkey * `core.openpgp_userid` - core.openpgp_userid * `core.openpgp_userattribute` - core.openpgp_userattribute * `core.openpgp_signature` - core.openpgp_signature * `container.blob` - container.blob * `container.manifest` - container.manifest * `container.tag` - container.tag * `container.signature` - container.signature * `gem.gem` - gem.gem * `hugging_face.hugging-face` - hugging_face.hugging-face * `maven.artifact` - maven.artifact * `maven.metadata` - maven.metadata * `npm.package` - npm.package * `ostree.object` - ostree.object * `ostree.commit` - ostree.commit * `ostree.refs` - ostree.refs * `ostree.content` - ostree.content * `ostree.config` - ostree.config * `ostree.summary` - ostree.summary * `python.python` - python.python * `rpm.advisory` - rpm.advisory * `rpm.packagegroup` - rpm.packagegroup * `rpm.packagecategory` - rpm.packagecategory * `rpm.packageenvironment` - rpm.packageenvironment * `rpm.packagelangpacks` - rpm.packagelangpacks * `rpm.repo_metadata_file` - rpm.repo_metadata_file * `rpm.distribution_tree` - rpm.distribution_tree * `rpm.package` - rpm.package * `rpm.modulemd` - rpm.modulemd * `rpm.modulemd_defaults` - rpm.modulemd_defaults * `rpm.modulemd_obsolete` - rpm.modulemd_obsolete * `file.file` - file.file
|
|
374
|
-
:type pulp_type__in: List[str]
|
|
375
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
376
|
-
:type q: str
|
|
377
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
378
|
-
:type repository_version: str
|
|
379
|
-
:param repository_version_added: Repository Version referenced by HREF/PRN
|
|
380
|
-
:type repository_version_added: str
|
|
381
|
-
:param repository_version_removed: Repository Version referenced by HREF/PRN
|
|
382
|
-
:type repository_version_removed: str
|
|
383
|
-
:param fields: A list of fields to include in the response.
|
|
384
|
-
:type fields: List[str]
|
|
385
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
386
|
-
:type exclude_fields: List[str]
|
|
387
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
388
|
-
number provided, it will be total request
|
|
389
|
-
timeout. It can also be a pair (tuple) of
|
|
390
|
-
(connection, read) timeouts.
|
|
391
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
392
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
393
|
-
request; this effectively ignores the
|
|
394
|
-
authentication in the spec for a single request.
|
|
395
|
-
:type _request_auth: dict, optional
|
|
396
|
-
:param _content_type: force content-type for the request.
|
|
397
|
-
:type _content_type: str, Optional
|
|
398
|
-
:param _headers: set to override the headers for a single
|
|
399
|
-
request; this effectively ignores the headers
|
|
400
|
-
in the spec for a single request.
|
|
401
|
-
:type _headers: dict, optional
|
|
402
|
-
:param _host_index: set to override the host_index for a single
|
|
403
|
-
request; this effectively ignores the host_index
|
|
404
|
-
in the spec for a single request.
|
|
405
|
-
:type _host_index: int, optional
|
|
406
|
-
:return: Returns the result object.
|
|
407
|
-
""" # noqa: E501
|
|
408
|
-
|
|
409
|
-
_param = self._list_serialize(
|
|
410
|
-
pulp_domain=pulp_domain,
|
|
411
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
412
|
-
limit=limit,
|
|
413
|
-
offset=offset,
|
|
414
|
-
ordering=ordering,
|
|
415
|
-
orphaned_for=orphaned_for,
|
|
416
|
-
prn__in=prn__in,
|
|
417
|
-
pulp_href__in=pulp_href__in,
|
|
418
|
-
pulp_id__in=pulp_id__in,
|
|
419
|
-
pulp_label_select=pulp_label_select,
|
|
420
|
-
pulp_type=pulp_type,
|
|
421
|
-
pulp_type__in=pulp_type__in,
|
|
422
|
-
q=q,
|
|
423
|
-
repository_version=repository_version,
|
|
424
|
-
repository_version_added=repository_version_added,
|
|
425
|
-
repository_version_removed=repository_version_removed,
|
|
426
|
-
fields=fields,
|
|
427
|
-
exclude_fields=exclude_fields,
|
|
428
|
-
_request_auth=_request_auth,
|
|
429
|
-
_content_type=_content_type,
|
|
430
|
-
_headers=_headers,
|
|
431
|
-
_host_index=_host_index
|
|
432
|
-
)
|
|
433
|
-
|
|
434
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
435
|
-
'200': "PaginatedMultipleArtifactContentResponseList",
|
|
436
|
-
}
|
|
437
|
-
response_data = self.api_client.call_api(
|
|
438
|
-
*_param,
|
|
439
|
-
_request_timeout=_request_timeout
|
|
440
|
-
)
|
|
441
|
-
return response_data.response
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
def _list_serialize(
|
|
445
|
-
self,
|
|
446
|
-
pulp_domain,
|
|
447
|
-
x_task_diagnostics,
|
|
448
|
-
limit,
|
|
449
|
-
offset,
|
|
450
|
-
ordering,
|
|
451
|
-
orphaned_for,
|
|
452
|
-
prn__in,
|
|
453
|
-
pulp_href__in,
|
|
454
|
-
pulp_id__in,
|
|
455
|
-
pulp_label_select,
|
|
456
|
-
pulp_type,
|
|
457
|
-
pulp_type__in,
|
|
458
|
-
q,
|
|
459
|
-
repository_version,
|
|
460
|
-
repository_version_added,
|
|
461
|
-
repository_version_removed,
|
|
462
|
-
fields,
|
|
463
|
-
exclude_fields,
|
|
464
|
-
_request_auth,
|
|
465
|
-
_content_type,
|
|
466
|
-
_headers,
|
|
467
|
-
_host_index,
|
|
468
|
-
) -> RequestSerialized:
|
|
469
|
-
|
|
470
|
-
_host = None
|
|
471
|
-
|
|
472
|
-
_collection_formats: Dict[str, str] = {
|
|
473
|
-
'X-Task-Diagnostics': 'csv',
|
|
474
|
-
'ordering': 'csv',
|
|
475
|
-
'prn__in': 'csv',
|
|
476
|
-
'pulp_href__in': 'csv',
|
|
477
|
-
'pulp_id__in': 'csv',
|
|
478
|
-
'pulp_type__in': 'csv',
|
|
479
|
-
'fields': 'multi',
|
|
480
|
-
'exclude_fields': 'multi',
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
_path_params: Dict[str, str] = {}
|
|
484
|
-
_query_params: List[Tuple[str, str]] = []
|
|
485
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
486
|
-
_form_params: List[Tuple[str, str]] = []
|
|
487
|
-
_files: Dict[
|
|
488
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
489
|
-
] = {}
|
|
490
|
-
_body_params: Optional[bytes] = None
|
|
491
|
-
|
|
492
|
-
# process the path parameters
|
|
493
|
-
if pulp_domain is not None:
|
|
494
|
-
_path_params['pulp_domain'] = pulp_domain
|
|
495
|
-
# process the query parameters
|
|
496
|
-
if limit is not None:
|
|
497
|
-
|
|
498
|
-
_query_params.append(('limit', limit))
|
|
499
|
-
|
|
500
|
-
if offset is not None:
|
|
501
|
-
|
|
502
|
-
_query_params.append(('offset', offset))
|
|
503
|
-
|
|
504
|
-
if ordering is not None:
|
|
505
|
-
|
|
506
|
-
_query_params.append(('ordering', ordering))
|
|
507
|
-
|
|
508
|
-
if orphaned_for is not None:
|
|
509
|
-
|
|
510
|
-
_query_params.append(('orphaned_for', orphaned_for))
|
|
511
|
-
|
|
512
|
-
if prn__in is not None:
|
|
513
|
-
|
|
514
|
-
_query_params.append(('prn__in', prn__in))
|
|
515
|
-
|
|
516
|
-
if pulp_href__in is not None:
|
|
517
|
-
|
|
518
|
-
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
519
|
-
|
|
520
|
-
if pulp_id__in is not None:
|
|
521
|
-
|
|
522
|
-
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
523
|
-
|
|
524
|
-
if pulp_label_select is not None:
|
|
525
|
-
|
|
526
|
-
_query_params.append(('pulp_label_select', pulp_label_select))
|
|
527
|
-
|
|
528
|
-
if pulp_type is not None:
|
|
529
|
-
|
|
530
|
-
_query_params.append(('pulp_type', pulp_type))
|
|
531
|
-
|
|
532
|
-
if pulp_type__in is not None:
|
|
533
|
-
|
|
534
|
-
_query_params.append(('pulp_type__in', pulp_type__in))
|
|
535
|
-
|
|
536
|
-
if q is not None:
|
|
537
|
-
|
|
538
|
-
_query_params.append(('q', q))
|
|
539
|
-
|
|
540
|
-
if repository_version is not None:
|
|
541
|
-
|
|
542
|
-
_query_params.append(('repository_version', repository_version))
|
|
543
|
-
|
|
544
|
-
if repository_version_added is not None:
|
|
545
|
-
|
|
546
|
-
_query_params.append(('repository_version_added', repository_version_added))
|
|
547
|
-
|
|
548
|
-
if repository_version_removed is not None:
|
|
549
|
-
|
|
550
|
-
_query_params.append(('repository_version_removed', repository_version_removed))
|
|
551
|
-
|
|
552
|
-
if fields is not None:
|
|
553
|
-
|
|
554
|
-
_query_params.append(('fields', fields))
|
|
555
|
-
|
|
556
|
-
if exclude_fields is not None:
|
|
557
|
-
|
|
558
|
-
_query_params.append(('exclude_fields', exclude_fields))
|
|
559
|
-
|
|
560
|
-
# process the header parameters
|
|
561
|
-
if x_task_diagnostics is not None:
|
|
562
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
563
|
-
# process the form parameters
|
|
564
|
-
# process the body parameter
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
# set the HTTP header `Accept`
|
|
568
|
-
if 'Accept' not in _header_params:
|
|
569
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
570
|
-
[
|
|
571
|
-
'application/json'
|
|
572
|
-
]
|
|
573
|
-
)
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
# authentication setting
|
|
577
|
-
_auth_settings: List[str] = [
|
|
578
|
-
'json_header_remote_authentication',
|
|
579
|
-
'basicAuth',
|
|
580
|
-
'cookieAuth'
|
|
581
|
-
]
|
|
582
|
-
|
|
583
|
-
return self.api_client.param_serialize(
|
|
584
|
-
method='GET',
|
|
585
|
-
resource_path='/api/pulp/{pulp_domain}/api/v3/content/',
|
|
586
|
-
path_params=_path_params,
|
|
587
|
-
query_params=_query_params,
|
|
588
|
-
header_params=_header_params,
|
|
589
|
-
body=_body_params,
|
|
590
|
-
post_params=_form_params,
|
|
591
|
-
files=_files,
|
|
592
|
-
auth_settings=_auth_settings,
|
|
593
|
-
collection_formats=_collection_formats,
|
|
594
|
-
_host=_host,
|
|
595
|
-
_request_auth=_request_auth
|
|
596
|
-
)
|
|
597
|
-
|
|
598
|
-
|