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,1615 +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, StrictBytes, StrictFloat, StrictInt, StrictStr, field_validator
|
|
21
|
-
from typing import List, Optional, Tuple, Union
|
|
22
|
-
from typing_extensions import Annotated
|
|
23
|
-
from services-pulpcore-client.models.artifact_response import ArtifactResponse
|
|
24
|
-
from services-pulpcore-client.models.paginated_artifact_response_list import PaginatedArtifactResponseList
|
|
25
|
-
|
|
26
|
-
from services-pulpcore-client.api_client import ApiClient, RequestSerialized
|
|
27
|
-
from services-pulpcore-client.api_response import ApiResponse
|
|
28
|
-
from services-pulpcore-client.rest import RESTResponseType
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
class ArtifactsApi:
|
|
32
|
-
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
33
|
-
Ref: https://openapi-generator.tech
|
|
34
|
-
|
|
35
|
-
Do not edit the class manually.
|
|
36
|
-
"""
|
|
37
|
-
|
|
38
|
-
def __init__(self, api_client=None) -> None:
|
|
39
|
-
if api_client is None:
|
|
40
|
-
api_client = ApiClient.get_default()
|
|
41
|
-
self.api_client = api_client
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
@validate_call
|
|
45
|
-
def create(
|
|
46
|
-
self,
|
|
47
|
-
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
48
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
49
|
-
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
50
|
-
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
51
|
-
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
52
|
-
sha224: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-224 checksum of the file if available.")] = None,
|
|
53
|
-
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the file if available.")] = None,
|
|
54
|
-
sha384: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-384 checksum of the file if available.")] = None,
|
|
55
|
-
sha512: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-512 checksum of the file if available.")] = None,
|
|
56
|
-
pulp_domain: StrictStr = "default",
|
|
57
|
-
_request_timeout: Union[
|
|
58
|
-
None,
|
|
59
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
60
|
-
Tuple[
|
|
61
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
62
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
63
|
-
]
|
|
64
|
-
] = None,
|
|
65
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
66
|
-
_content_type: Optional[StrictStr] = None,
|
|
67
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
68
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
69
|
-
) -> ArtifactResponse:
|
|
70
|
-
"""Create an artifact
|
|
71
|
-
|
|
72
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
73
|
-
|
|
74
|
-
:param pulp_domain: (required)
|
|
75
|
-
:type pulp_domain: str
|
|
76
|
-
:param file: The stored file. (required)
|
|
77
|
-
:type file: bytearray
|
|
78
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
79
|
-
:type x_task_diagnostics: List[str]
|
|
80
|
-
:param size: The size of the file in bytes.
|
|
81
|
-
:type size: int
|
|
82
|
-
:param md5: The MD5 checksum of the file if available.
|
|
83
|
-
:type md5: str
|
|
84
|
-
:param sha1: The SHA-1 checksum of the file if available.
|
|
85
|
-
:type sha1: str
|
|
86
|
-
:param sha224: The SHA-224 checksum of the file if available.
|
|
87
|
-
:type sha224: str
|
|
88
|
-
:param sha256: The SHA-256 checksum of the file if available.
|
|
89
|
-
:type sha256: str
|
|
90
|
-
:param sha384: The SHA-384 checksum of the file if available.
|
|
91
|
-
:type sha384: str
|
|
92
|
-
:param sha512: The SHA-512 checksum of the file if available.
|
|
93
|
-
:type sha512: str
|
|
94
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
95
|
-
number provided, it will be total request
|
|
96
|
-
timeout. It can also be a pair (tuple) of
|
|
97
|
-
(connection, read) timeouts.
|
|
98
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
99
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
100
|
-
request; this effectively ignores the
|
|
101
|
-
authentication in the spec for a single request.
|
|
102
|
-
:type _request_auth: dict, optional
|
|
103
|
-
:param _content_type: force content-type for the request.
|
|
104
|
-
:type _content_type: str, Optional
|
|
105
|
-
:param _headers: set to override the headers for a single
|
|
106
|
-
request; this effectively ignores the headers
|
|
107
|
-
in the spec for a single request.
|
|
108
|
-
:type _headers: dict, optional
|
|
109
|
-
:param _host_index: set to override the host_index for a single
|
|
110
|
-
request; this effectively ignores the host_index
|
|
111
|
-
in the spec for a single request.
|
|
112
|
-
:type _host_index: int, optional
|
|
113
|
-
:return: Returns the result object.
|
|
114
|
-
""" # noqa: E501
|
|
115
|
-
|
|
116
|
-
_param = self._create_serialize(
|
|
117
|
-
pulp_domain=pulp_domain,
|
|
118
|
-
file=file,
|
|
119
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
120
|
-
size=size,
|
|
121
|
-
md5=md5,
|
|
122
|
-
sha1=sha1,
|
|
123
|
-
sha224=sha224,
|
|
124
|
-
sha256=sha256,
|
|
125
|
-
sha384=sha384,
|
|
126
|
-
sha512=sha512,
|
|
127
|
-
_request_auth=_request_auth,
|
|
128
|
-
_content_type=_content_type,
|
|
129
|
-
_headers=_headers,
|
|
130
|
-
_host_index=_host_index
|
|
131
|
-
)
|
|
132
|
-
|
|
133
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
134
|
-
'201': "ArtifactResponse",
|
|
135
|
-
}
|
|
136
|
-
response_data = self.api_client.call_api(
|
|
137
|
-
*_param,
|
|
138
|
-
_request_timeout=_request_timeout
|
|
139
|
-
)
|
|
140
|
-
response_data.read()
|
|
141
|
-
return self.api_client.response_deserialize(
|
|
142
|
-
response_data=response_data,
|
|
143
|
-
response_types_map=_response_types_map,
|
|
144
|
-
).data
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
@validate_call
|
|
148
|
-
def create_with_http_info(
|
|
149
|
-
self,
|
|
150
|
-
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
151
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
152
|
-
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
153
|
-
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
154
|
-
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
155
|
-
sha224: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-224 checksum of the file if available.")] = None,
|
|
156
|
-
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the file if available.")] = None,
|
|
157
|
-
sha384: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-384 checksum of the file if available.")] = None,
|
|
158
|
-
sha512: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-512 checksum of the file if available.")] = None,
|
|
159
|
-
pulp_domain: StrictStr = "default",
|
|
160
|
-
_request_timeout: Union[
|
|
161
|
-
None,
|
|
162
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
163
|
-
Tuple[
|
|
164
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
165
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
166
|
-
]
|
|
167
|
-
] = None,
|
|
168
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
169
|
-
_content_type: Optional[StrictStr] = None,
|
|
170
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
171
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
172
|
-
) -> ApiResponse[ArtifactResponse]:
|
|
173
|
-
"""Create an artifact
|
|
174
|
-
|
|
175
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
176
|
-
|
|
177
|
-
:param pulp_domain: (required)
|
|
178
|
-
:type pulp_domain: str
|
|
179
|
-
:param file: The stored file. (required)
|
|
180
|
-
:type file: bytearray
|
|
181
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
182
|
-
:type x_task_diagnostics: List[str]
|
|
183
|
-
:param size: The size of the file in bytes.
|
|
184
|
-
:type size: int
|
|
185
|
-
:param md5: The MD5 checksum of the file if available.
|
|
186
|
-
:type md5: str
|
|
187
|
-
:param sha1: The SHA-1 checksum of the file if available.
|
|
188
|
-
:type sha1: str
|
|
189
|
-
:param sha224: The SHA-224 checksum of the file if available.
|
|
190
|
-
:type sha224: str
|
|
191
|
-
:param sha256: The SHA-256 checksum of the file if available.
|
|
192
|
-
:type sha256: str
|
|
193
|
-
:param sha384: The SHA-384 checksum of the file if available.
|
|
194
|
-
:type sha384: str
|
|
195
|
-
:param sha512: The SHA-512 checksum of the file if available.
|
|
196
|
-
:type sha512: str
|
|
197
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
198
|
-
number provided, it will be total request
|
|
199
|
-
timeout. It can also be a pair (tuple) of
|
|
200
|
-
(connection, read) timeouts.
|
|
201
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
202
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
203
|
-
request; this effectively ignores the
|
|
204
|
-
authentication in the spec for a single request.
|
|
205
|
-
:type _request_auth: dict, optional
|
|
206
|
-
:param _content_type: force content-type for the request.
|
|
207
|
-
:type _content_type: str, Optional
|
|
208
|
-
:param _headers: set to override the headers for a single
|
|
209
|
-
request; this effectively ignores the headers
|
|
210
|
-
in the spec for a single request.
|
|
211
|
-
:type _headers: dict, optional
|
|
212
|
-
:param _host_index: set to override the host_index for a single
|
|
213
|
-
request; this effectively ignores the host_index
|
|
214
|
-
in the spec for a single request.
|
|
215
|
-
:type _host_index: int, optional
|
|
216
|
-
:return: Returns the result object.
|
|
217
|
-
""" # noqa: E501
|
|
218
|
-
|
|
219
|
-
_param = self._create_serialize(
|
|
220
|
-
pulp_domain=pulp_domain,
|
|
221
|
-
file=file,
|
|
222
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
223
|
-
size=size,
|
|
224
|
-
md5=md5,
|
|
225
|
-
sha1=sha1,
|
|
226
|
-
sha224=sha224,
|
|
227
|
-
sha256=sha256,
|
|
228
|
-
sha384=sha384,
|
|
229
|
-
sha512=sha512,
|
|
230
|
-
_request_auth=_request_auth,
|
|
231
|
-
_content_type=_content_type,
|
|
232
|
-
_headers=_headers,
|
|
233
|
-
_host_index=_host_index
|
|
234
|
-
)
|
|
235
|
-
|
|
236
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
237
|
-
'201': "ArtifactResponse",
|
|
238
|
-
}
|
|
239
|
-
response_data = self.api_client.call_api(
|
|
240
|
-
*_param,
|
|
241
|
-
_request_timeout=_request_timeout
|
|
242
|
-
)
|
|
243
|
-
response_data.read()
|
|
244
|
-
return self.api_client.response_deserialize(
|
|
245
|
-
response_data=response_data,
|
|
246
|
-
response_types_map=_response_types_map,
|
|
247
|
-
)
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
@validate_call
|
|
251
|
-
def create_without_preload_content(
|
|
252
|
-
self,
|
|
253
|
-
file: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="The stored file.")],
|
|
254
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
255
|
-
size: Annotated[Optional[StrictInt], Field(description="The size of the file in bytes.")] = None,
|
|
256
|
-
md5: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The MD5 checksum of the file if available.")] = None,
|
|
257
|
-
sha1: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-1 checksum of the file if available.")] = None,
|
|
258
|
-
sha224: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-224 checksum of the file if available.")] = None,
|
|
259
|
-
sha256: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-256 checksum of the file if available.")] = None,
|
|
260
|
-
sha384: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-384 checksum of the file if available.")] = None,
|
|
261
|
-
sha512: Annotated[Optional[Annotated[str, Field(min_length=1, strict=True)]], Field(description="The SHA-512 checksum of the file if available.")] = None,
|
|
262
|
-
pulp_domain: StrictStr = "default",
|
|
263
|
-
_request_timeout: Union[
|
|
264
|
-
None,
|
|
265
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
266
|
-
Tuple[
|
|
267
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
268
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
269
|
-
]
|
|
270
|
-
] = None,
|
|
271
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
272
|
-
_content_type: Optional[StrictStr] = None,
|
|
273
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
274
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
275
|
-
) -> RESTResponseType:
|
|
276
|
-
"""Create an artifact
|
|
277
|
-
|
|
278
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
279
|
-
|
|
280
|
-
:param pulp_domain: (required)
|
|
281
|
-
:type pulp_domain: str
|
|
282
|
-
:param file: The stored file. (required)
|
|
283
|
-
:type file: bytearray
|
|
284
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
285
|
-
:type x_task_diagnostics: List[str]
|
|
286
|
-
:param size: The size of the file in bytes.
|
|
287
|
-
:type size: int
|
|
288
|
-
:param md5: The MD5 checksum of the file if available.
|
|
289
|
-
:type md5: str
|
|
290
|
-
:param sha1: The SHA-1 checksum of the file if available.
|
|
291
|
-
:type sha1: str
|
|
292
|
-
:param sha224: The SHA-224 checksum of the file if available.
|
|
293
|
-
:type sha224: str
|
|
294
|
-
:param sha256: The SHA-256 checksum of the file if available.
|
|
295
|
-
:type sha256: str
|
|
296
|
-
:param sha384: The SHA-384 checksum of the file if available.
|
|
297
|
-
:type sha384: str
|
|
298
|
-
:param sha512: The SHA-512 checksum of the file if available.
|
|
299
|
-
:type sha512: str
|
|
300
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
301
|
-
number provided, it will be total request
|
|
302
|
-
timeout. It can also be a pair (tuple) of
|
|
303
|
-
(connection, read) timeouts.
|
|
304
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
305
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
306
|
-
request; this effectively ignores the
|
|
307
|
-
authentication in the spec for a single request.
|
|
308
|
-
:type _request_auth: dict, optional
|
|
309
|
-
:param _content_type: force content-type for the request.
|
|
310
|
-
:type _content_type: str, Optional
|
|
311
|
-
:param _headers: set to override the headers for a single
|
|
312
|
-
request; this effectively ignores the headers
|
|
313
|
-
in the spec for a single request.
|
|
314
|
-
:type _headers: dict, optional
|
|
315
|
-
:param _host_index: set to override the host_index for a single
|
|
316
|
-
request; this effectively ignores the host_index
|
|
317
|
-
in the spec for a single request.
|
|
318
|
-
:type _host_index: int, optional
|
|
319
|
-
:return: Returns the result object.
|
|
320
|
-
""" # noqa: E501
|
|
321
|
-
|
|
322
|
-
_param = self._create_serialize(
|
|
323
|
-
pulp_domain=pulp_domain,
|
|
324
|
-
file=file,
|
|
325
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
326
|
-
size=size,
|
|
327
|
-
md5=md5,
|
|
328
|
-
sha1=sha1,
|
|
329
|
-
sha224=sha224,
|
|
330
|
-
sha256=sha256,
|
|
331
|
-
sha384=sha384,
|
|
332
|
-
sha512=sha512,
|
|
333
|
-
_request_auth=_request_auth,
|
|
334
|
-
_content_type=_content_type,
|
|
335
|
-
_headers=_headers,
|
|
336
|
-
_host_index=_host_index
|
|
337
|
-
)
|
|
338
|
-
|
|
339
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
340
|
-
'201': "ArtifactResponse",
|
|
341
|
-
}
|
|
342
|
-
response_data = self.api_client.call_api(
|
|
343
|
-
*_param,
|
|
344
|
-
_request_timeout=_request_timeout
|
|
345
|
-
)
|
|
346
|
-
return response_data.response
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
def _create_serialize(
|
|
350
|
-
self,
|
|
351
|
-
pulp_domain,
|
|
352
|
-
file,
|
|
353
|
-
x_task_diagnostics,
|
|
354
|
-
size,
|
|
355
|
-
md5,
|
|
356
|
-
sha1,
|
|
357
|
-
sha224,
|
|
358
|
-
sha256,
|
|
359
|
-
sha384,
|
|
360
|
-
sha512,
|
|
361
|
-
_request_auth,
|
|
362
|
-
_content_type,
|
|
363
|
-
_headers,
|
|
364
|
-
_host_index,
|
|
365
|
-
) -> RequestSerialized:
|
|
366
|
-
|
|
367
|
-
_host = None
|
|
368
|
-
|
|
369
|
-
_collection_formats: Dict[str, str] = {
|
|
370
|
-
'X-Task-Diagnostics': 'csv',
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
_path_params: Dict[str, str] = {}
|
|
374
|
-
_query_params: List[Tuple[str, str]] = []
|
|
375
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
376
|
-
_form_params: List[Tuple[str, str]] = []
|
|
377
|
-
_files: Dict[
|
|
378
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
379
|
-
] = {}
|
|
380
|
-
_body_params: Optional[bytes] = None
|
|
381
|
-
|
|
382
|
-
# process the path parameters
|
|
383
|
-
if pulp_domain is not None:
|
|
384
|
-
_path_params['pulp_domain'] = pulp_domain
|
|
385
|
-
# process the query parameters
|
|
386
|
-
# process the header parameters
|
|
387
|
-
if x_task_diagnostics is not None:
|
|
388
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
389
|
-
# process the form parameters
|
|
390
|
-
if file is not None:
|
|
391
|
-
_files['file'] = file
|
|
392
|
-
if size is not None:
|
|
393
|
-
_form_params.append(('size', size))
|
|
394
|
-
if md5 is not None:
|
|
395
|
-
_form_params.append(('md5', md5))
|
|
396
|
-
if sha1 is not None:
|
|
397
|
-
_form_params.append(('sha1', sha1))
|
|
398
|
-
if sha224 is not None:
|
|
399
|
-
_form_params.append(('sha224', sha224))
|
|
400
|
-
if sha256 is not None:
|
|
401
|
-
_form_params.append(('sha256', sha256))
|
|
402
|
-
if sha384 is not None:
|
|
403
|
-
_form_params.append(('sha384', sha384))
|
|
404
|
-
if sha512 is not None:
|
|
405
|
-
_form_params.append(('sha512', sha512))
|
|
406
|
-
# process the body parameter
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
# set the HTTP header `Accept`
|
|
410
|
-
if 'Accept' not in _header_params:
|
|
411
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
412
|
-
[
|
|
413
|
-
'application/json'
|
|
414
|
-
]
|
|
415
|
-
)
|
|
416
|
-
|
|
417
|
-
# set the HTTP header `Content-Type`
|
|
418
|
-
if _content_type:
|
|
419
|
-
_header_params['Content-Type'] = _content_type
|
|
420
|
-
else:
|
|
421
|
-
_default_content_type = (
|
|
422
|
-
self.api_client.select_header_content_type(
|
|
423
|
-
[
|
|
424
|
-
'multipart/form-data',
|
|
425
|
-
'application/x-www-form-urlencoded'
|
|
426
|
-
]
|
|
427
|
-
)
|
|
428
|
-
)
|
|
429
|
-
if _default_content_type is not None:
|
|
430
|
-
_header_params['Content-Type'] = _default_content_type
|
|
431
|
-
|
|
432
|
-
# authentication setting
|
|
433
|
-
_auth_settings: List[str] = [
|
|
434
|
-
'json_header_remote_authentication',
|
|
435
|
-
'basicAuth',
|
|
436
|
-
'cookieAuth'
|
|
437
|
-
]
|
|
438
|
-
|
|
439
|
-
return self.api_client.param_serialize(
|
|
440
|
-
method='POST',
|
|
441
|
-
resource_path='/api/pulp/{pulp_domain}/api/v3/artifacts/',
|
|
442
|
-
path_params=_path_params,
|
|
443
|
-
query_params=_query_params,
|
|
444
|
-
header_params=_header_params,
|
|
445
|
-
body=_body_params,
|
|
446
|
-
post_params=_form_params,
|
|
447
|
-
files=_files,
|
|
448
|
-
auth_settings=_auth_settings,
|
|
449
|
-
collection_formats=_collection_formats,
|
|
450
|
-
_host=_host,
|
|
451
|
-
_request_auth=_request_auth
|
|
452
|
-
)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
@validate_call
|
|
458
|
-
def delete(
|
|
459
|
-
self,
|
|
460
|
-
artifact_href: StrictStr,
|
|
461
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
462
|
-
_request_timeout: Union[
|
|
463
|
-
None,
|
|
464
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
465
|
-
Tuple[
|
|
466
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
467
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
468
|
-
]
|
|
469
|
-
] = None,
|
|
470
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
471
|
-
_content_type: Optional[StrictStr] = None,
|
|
472
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
473
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
474
|
-
) -> None:
|
|
475
|
-
"""Delete an artifact
|
|
476
|
-
|
|
477
|
-
Remove Artifact only if it is not associated with any Content.
|
|
478
|
-
|
|
479
|
-
:param artifact_href: (required)
|
|
480
|
-
:type artifact_href: str
|
|
481
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
482
|
-
:type x_task_diagnostics: List[str]
|
|
483
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
484
|
-
number provided, it will be total request
|
|
485
|
-
timeout. It can also be a pair (tuple) of
|
|
486
|
-
(connection, read) timeouts.
|
|
487
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
488
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
489
|
-
request; this effectively ignores the
|
|
490
|
-
authentication in the spec for a single request.
|
|
491
|
-
:type _request_auth: dict, optional
|
|
492
|
-
:param _content_type: force content-type for the request.
|
|
493
|
-
:type _content_type: str, Optional
|
|
494
|
-
:param _headers: set to override the headers for a single
|
|
495
|
-
request; this effectively ignores the headers
|
|
496
|
-
in the spec for a single request.
|
|
497
|
-
:type _headers: dict, optional
|
|
498
|
-
:param _host_index: set to override the host_index for a single
|
|
499
|
-
request; this effectively ignores the host_index
|
|
500
|
-
in the spec for a single request.
|
|
501
|
-
:type _host_index: int, optional
|
|
502
|
-
:return: Returns the result object.
|
|
503
|
-
""" # noqa: E501
|
|
504
|
-
|
|
505
|
-
_param = self._delete_serialize(
|
|
506
|
-
artifact_href=artifact_href,
|
|
507
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
508
|
-
_request_auth=_request_auth,
|
|
509
|
-
_content_type=_content_type,
|
|
510
|
-
_headers=_headers,
|
|
511
|
-
_host_index=_host_index
|
|
512
|
-
)
|
|
513
|
-
|
|
514
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
515
|
-
'204': None,
|
|
516
|
-
}
|
|
517
|
-
response_data = self.api_client.call_api(
|
|
518
|
-
*_param,
|
|
519
|
-
_request_timeout=_request_timeout
|
|
520
|
-
)
|
|
521
|
-
response_data.read()
|
|
522
|
-
return self.api_client.response_deserialize(
|
|
523
|
-
response_data=response_data,
|
|
524
|
-
response_types_map=_response_types_map,
|
|
525
|
-
).data
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
@validate_call
|
|
529
|
-
def delete_with_http_info(
|
|
530
|
-
self,
|
|
531
|
-
artifact_href: StrictStr,
|
|
532
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
533
|
-
_request_timeout: Union[
|
|
534
|
-
None,
|
|
535
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
536
|
-
Tuple[
|
|
537
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
538
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
539
|
-
]
|
|
540
|
-
] = None,
|
|
541
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
542
|
-
_content_type: Optional[StrictStr] = None,
|
|
543
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
544
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
545
|
-
) -> ApiResponse[None]:
|
|
546
|
-
"""Delete an artifact
|
|
547
|
-
|
|
548
|
-
Remove Artifact only if it is not associated with any Content.
|
|
549
|
-
|
|
550
|
-
:param artifact_href: (required)
|
|
551
|
-
:type artifact_href: str
|
|
552
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
553
|
-
:type x_task_diagnostics: List[str]
|
|
554
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
555
|
-
number provided, it will be total request
|
|
556
|
-
timeout. It can also be a pair (tuple) of
|
|
557
|
-
(connection, read) timeouts.
|
|
558
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
559
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
560
|
-
request; this effectively ignores the
|
|
561
|
-
authentication in the spec for a single request.
|
|
562
|
-
:type _request_auth: dict, optional
|
|
563
|
-
:param _content_type: force content-type for the request.
|
|
564
|
-
:type _content_type: str, Optional
|
|
565
|
-
:param _headers: set to override the headers for a single
|
|
566
|
-
request; this effectively ignores the headers
|
|
567
|
-
in the spec for a single request.
|
|
568
|
-
:type _headers: dict, optional
|
|
569
|
-
:param _host_index: set to override the host_index for a single
|
|
570
|
-
request; this effectively ignores the host_index
|
|
571
|
-
in the spec for a single request.
|
|
572
|
-
:type _host_index: int, optional
|
|
573
|
-
:return: Returns the result object.
|
|
574
|
-
""" # noqa: E501
|
|
575
|
-
|
|
576
|
-
_param = self._delete_serialize(
|
|
577
|
-
artifact_href=artifact_href,
|
|
578
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
579
|
-
_request_auth=_request_auth,
|
|
580
|
-
_content_type=_content_type,
|
|
581
|
-
_headers=_headers,
|
|
582
|
-
_host_index=_host_index
|
|
583
|
-
)
|
|
584
|
-
|
|
585
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
586
|
-
'204': None,
|
|
587
|
-
}
|
|
588
|
-
response_data = self.api_client.call_api(
|
|
589
|
-
*_param,
|
|
590
|
-
_request_timeout=_request_timeout
|
|
591
|
-
)
|
|
592
|
-
response_data.read()
|
|
593
|
-
return self.api_client.response_deserialize(
|
|
594
|
-
response_data=response_data,
|
|
595
|
-
response_types_map=_response_types_map,
|
|
596
|
-
)
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
@validate_call
|
|
600
|
-
def delete_without_preload_content(
|
|
601
|
-
self,
|
|
602
|
-
artifact_href: StrictStr,
|
|
603
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
604
|
-
_request_timeout: Union[
|
|
605
|
-
None,
|
|
606
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
607
|
-
Tuple[
|
|
608
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
609
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
610
|
-
]
|
|
611
|
-
] = None,
|
|
612
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
613
|
-
_content_type: Optional[StrictStr] = None,
|
|
614
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
615
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
616
|
-
) -> RESTResponseType:
|
|
617
|
-
"""Delete an artifact
|
|
618
|
-
|
|
619
|
-
Remove Artifact only if it is not associated with any Content.
|
|
620
|
-
|
|
621
|
-
:param artifact_href: (required)
|
|
622
|
-
:type artifact_href: str
|
|
623
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
624
|
-
:type x_task_diagnostics: List[str]
|
|
625
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
626
|
-
number provided, it will be total request
|
|
627
|
-
timeout. It can also be a pair (tuple) of
|
|
628
|
-
(connection, read) timeouts.
|
|
629
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
630
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
631
|
-
request; this effectively ignores the
|
|
632
|
-
authentication in the spec for a single request.
|
|
633
|
-
:type _request_auth: dict, optional
|
|
634
|
-
:param _content_type: force content-type for the request.
|
|
635
|
-
:type _content_type: str, Optional
|
|
636
|
-
:param _headers: set to override the headers for a single
|
|
637
|
-
request; this effectively ignores the headers
|
|
638
|
-
in the spec for a single request.
|
|
639
|
-
:type _headers: dict, optional
|
|
640
|
-
:param _host_index: set to override the host_index for a single
|
|
641
|
-
request; this effectively ignores the host_index
|
|
642
|
-
in the spec for a single request.
|
|
643
|
-
:type _host_index: int, optional
|
|
644
|
-
:return: Returns the result object.
|
|
645
|
-
""" # noqa: E501
|
|
646
|
-
|
|
647
|
-
_param = self._delete_serialize(
|
|
648
|
-
artifact_href=artifact_href,
|
|
649
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
650
|
-
_request_auth=_request_auth,
|
|
651
|
-
_content_type=_content_type,
|
|
652
|
-
_headers=_headers,
|
|
653
|
-
_host_index=_host_index
|
|
654
|
-
)
|
|
655
|
-
|
|
656
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
657
|
-
'204': None,
|
|
658
|
-
}
|
|
659
|
-
response_data = self.api_client.call_api(
|
|
660
|
-
*_param,
|
|
661
|
-
_request_timeout=_request_timeout
|
|
662
|
-
)
|
|
663
|
-
return response_data.response
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
def _delete_serialize(
|
|
667
|
-
self,
|
|
668
|
-
artifact_href,
|
|
669
|
-
x_task_diagnostics,
|
|
670
|
-
_request_auth,
|
|
671
|
-
_content_type,
|
|
672
|
-
_headers,
|
|
673
|
-
_host_index,
|
|
674
|
-
) -> RequestSerialized:
|
|
675
|
-
|
|
676
|
-
_host = None
|
|
677
|
-
|
|
678
|
-
_collection_formats: Dict[str, str] = {
|
|
679
|
-
'X-Task-Diagnostics': 'csv',
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
_path_params: Dict[str, str] = {}
|
|
683
|
-
_query_params: List[Tuple[str, str]] = []
|
|
684
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
685
|
-
_form_params: List[Tuple[str, str]] = []
|
|
686
|
-
_files: Dict[
|
|
687
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
688
|
-
] = {}
|
|
689
|
-
_body_params: Optional[bytes] = None
|
|
690
|
-
|
|
691
|
-
# process the path parameters
|
|
692
|
-
if artifact_href is not None:
|
|
693
|
-
_path_params['artifact_href'] = artifact_href
|
|
694
|
-
# process the query parameters
|
|
695
|
-
# process the header parameters
|
|
696
|
-
if x_task_diagnostics is not None:
|
|
697
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
698
|
-
# process the form parameters
|
|
699
|
-
# process the body parameter
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
# authentication setting
|
|
705
|
-
_auth_settings: List[str] = [
|
|
706
|
-
'json_header_remote_authentication',
|
|
707
|
-
'basicAuth',
|
|
708
|
-
'cookieAuth'
|
|
709
|
-
]
|
|
710
|
-
|
|
711
|
-
return self.api_client.param_serialize(
|
|
712
|
-
method='DELETE',
|
|
713
|
-
resource_path='{artifact_href}',
|
|
714
|
-
path_params=_path_params,
|
|
715
|
-
query_params=_query_params,
|
|
716
|
-
header_params=_header_params,
|
|
717
|
-
body=_body_params,
|
|
718
|
-
post_params=_form_params,
|
|
719
|
-
files=_files,
|
|
720
|
-
auth_settings=_auth_settings,
|
|
721
|
-
collection_formats=_collection_formats,
|
|
722
|
-
_host=_host,
|
|
723
|
-
_request_auth=_request_auth
|
|
724
|
-
)
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
@validate_call
|
|
730
|
-
def list(
|
|
731
|
-
self,
|
|
732
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
733
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
734
|
-
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
735
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
736
|
-
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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
737
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
738
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
739
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
740
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
741
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
742
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
743
|
-
sha1: Annotated[Optional[StrictStr], Field(description="Filter results where sha1 matches value")] = None,
|
|
744
|
-
sha224: Annotated[Optional[StrictStr], Field(description="Filter results where sha224 matches value")] = None,
|
|
745
|
-
sha256: Annotated[Optional[StrictStr], Field(description="Filter results where sha256 matches value")] = None,
|
|
746
|
-
sha384: Annotated[Optional[StrictStr], Field(description="Filter results where sha384 matches value")] = None,
|
|
747
|
-
sha512: Annotated[Optional[StrictStr], Field(description="Filter results where sha512 matches value")] = None,
|
|
748
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
749
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
750
|
-
pulp_domain: StrictStr = "default",
|
|
751
|
-
_request_timeout: Union[
|
|
752
|
-
None,
|
|
753
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
754
|
-
Tuple[
|
|
755
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
756
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
757
|
-
]
|
|
758
|
-
] = None,
|
|
759
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
760
|
-
_content_type: Optional[StrictStr] = None,
|
|
761
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
762
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
763
|
-
) -> PaginatedArtifactResponseList:
|
|
764
|
-
"""List artifacts
|
|
765
|
-
|
|
766
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
767
|
-
|
|
768
|
-
:param pulp_domain: (required)
|
|
769
|
-
:type pulp_domain: str
|
|
770
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
771
|
-
:type x_task_diagnostics: List[str]
|
|
772
|
-
:param limit: Number of results to return per page.
|
|
773
|
-
:type limit: int
|
|
774
|
-
:param md5: Filter results where md5 matches value
|
|
775
|
-
:type md5: str
|
|
776
|
-
:param offset: The initial index from which to return the results.
|
|
777
|
-
:type offset: int
|
|
778
|
-
: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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
779
|
-
:type ordering: List[str]
|
|
780
|
-
:param orphaned_for: Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
781
|
-
:type orphaned_for: float
|
|
782
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
783
|
-
:type prn__in: List[str]
|
|
784
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
785
|
-
:type pulp_href__in: List[str]
|
|
786
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
787
|
-
:type pulp_id__in: List[str]
|
|
788
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
789
|
-
:type q: str
|
|
790
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
791
|
-
:type repository_version: str
|
|
792
|
-
:param sha1: Filter results where sha1 matches value
|
|
793
|
-
:type sha1: str
|
|
794
|
-
:param sha224: Filter results where sha224 matches value
|
|
795
|
-
:type sha224: str
|
|
796
|
-
:param sha256: Filter results where sha256 matches value
|
|
797
|
-
:type sha256: str
|
|
798
|
-
:param sha384: Filter results where sha384 matches value
|
|
799
|
-
:type sha384: str
|
|
800
|
-
:param sha512: Filter results where sha512 matches value
|
|
801
|
-
:type sha512: str
|
|
802
|
-
:param fields: A list of fields to include in the response.
|
|
803
|
-
:type fields: List[str]
|
|
804
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
805
|
-
:type exclude_fields: List[str]
|
|
806
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
807
|
-
number provided, it will be total request
|
|
808
|
-
timeout. It can also be a pair (tuple) of
|
|
809
|
-
(connection, read) timeouts.
|
|
810
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
811
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
812
|
-
request; this effectively ignores the
|
|
813
|
-
authentication in the spec for a single request.
|
|
814
|
-
:type _request_auth: dict, optional
|
|
815
|
-
:param _content_type: force content-type for the request.
|
|
816
|
-
:type _content_type: str, Optional
|
|
817
|
-
:param _headers: set to override the headers for a single
|
|
818
|
-
request; this effectively ignores the headers
|
|
819
|
-
in the spec for a single request.
|
|
820
|
-
:type _headers: dict, optional
|
|
821
|
-
:param _host_index: set to override the host_index for a single
|
|
822
|
-
request; this effectively ignores the host_index
|
|
823
|
-
in the spec for a single request.
|
|
824
|
-
:type _host_index: int, optional
|
|
825
|
-
:return: Returns the result object.
|
|
826
|
-
""" # noqa: E501
|
|
827
|
-
|
|
828
|
-
_param = self._list_serialize(
|
|
829
|
-
pulp_domain=pulp_domain,
|
|
830
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
831
|
-
limit=limit,
|
|
832
|
-
md5=md5,
|
|
833
|
-
offset=offset,
|
|
834
|
-
ordering=ordering,
|
|
835
|
-
orphaned_for=orphaned_for,
|
|
836
|
-
prn__in=prn__in,
|
|
837
|
-
pulp_href__in=pulp_href__in,
|
|
838
|
-
pulp_id__in=pulp_id__in,
|
|
839
|
-
q=q,
|
|
840
|
-
repository_version=repository_version,
|
|
841
|
-
sha1=sha1,
|
|
842
|
-
sha224=sha224,
|
|
843
|
-
sha256=sha256,
|
|
844
|
-
sha384=sha384,
|
|
845
|
-
sha512=sha512,
|
|
846
|
-
fields=fields,
|
|
847
|
-
exclude_fields=exclude_fields,
|
|
848
|
-
_request_auth=_request_auth,
|
|
849
|
-
_content_type=_content_type,
|
|
850
|
-
_headers=_headers,
|
|
851
|
-
_host_index=_host_index
|
|
852
|
-
)
|
|
853
|
-
|
|
854
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
855
|
-
'200': "PaginatedArtifactResponseList",
|
|
856
|
-
}
|
|
857
|
-
response_data = self.api_client.call_api(
|
|
858
|
-
*_param,
|
|
859
|
-
_request_timeout=_request_timeout
|
|
860
|
-
)
|
|
861
|
-
response_data.read()
|
|
862
|
-
return self.api_client.response_deserialize(
|
|
863
|
-
response_data=response_data,
|
|
864
|
-
response_types_map=_response_types_map,
|
|
865
|
-
).data
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
@validate_call
|
|
869
|
-
def list_with_http_info(
|
|
870
|
-
self,
|
|
871
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
872
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
873
|
-
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
874
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
875
|
-
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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
876
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
877
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
878
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
879
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
880
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
881
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
882
|
-
sha1: Annotated[Optional[StrictStr], Field(description="Filter results where sha1 matches value")] = None,
|
|
883
|
-
sha224: Annotated[Optional[StrictStr], Field(description="Filter results where sha224 matches value")] = None,
|
|
884
|
-
sha256: Annotated[Optional[StrictStr], Field(description="Filter results where sha256 matches value")] = None,
|
|
885
|
-
sha384: Annotated[Optional[StrictStr], Field(description="Filter results where sha384 matches value")] = None,
|
|
886
|
-
sha512: Annotated[Optional[StrictStr], Field(description="Filter results where sha512 matches value")] = None,
|
|
887
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
888
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
889
|
-
pulp_domain: StrictStr = "default",
|
|
890
|
-
_request_timeout: Union[
|
|
891
|
-
None,
|
|
892
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
893
|
-
Tuple[
|
|
894
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
895
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
896
|
-
]
|
|
897
|
-
] = None,
|
|
898
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
899
|
-
_content_type: Optional[StrictStr] = None,
|
|
900
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
901
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
902
|
-
) -> ApiResponse[PaginatedArtifactResponseList]:
|
|
903
|
-
"""List artifacts
|
|
904
|
-
|
|
905
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
906
|
-
|
|
907
|
-
:param pulp_domain: (required)
|
|
908
|
-
:type pulp_domain: str
|
|
909
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
910
|
-
:type x_task_diagnostics: List[str]
|
|
911
|
-
:param limit: Number of results to return per page.
|
|
912
|
-
:type limit: int
|
|
913
|
-
:param md5: Filter results where md5 matches value
|
|
914
|
-
:type md5: str
|
|
915
|
-
:param offset: The initial index from which to return the results.
|
|
916
|
-
:type offset: int
|
|
917
|
-
: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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
918
|
-
:type ordering: List[str]
|
|
919
|
-
:param orphaned_for: Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
920
|
-
:type orphaned_for: float
|
|
921
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
922
|
-
:type prn__in: List[str]
|
|
923
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
924
|
-
:type pulp_href__in: List[str]
|
|
925
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
926
|
-
:type pulp_id__in: List[str]
|
|
927
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
928
|
-
:type q: str
|
|
929
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
930
|
-
:type repository_version: str
|
|
931
|
-
:param sha1: Filter results where sha1 matches value
|
|
932
|
-
:type sha1: str
|
|
933
|
-
:param sha224: Filter results where sha224 matches value
|
|
934
|
-
:type sha224: str
|
|
935
|
-
:param sha256: Filter results where sha256 matches value
|
|
936
|
-
:type sha256: str
|
|
937
|
-
:param sha384: Filter results where sha384 matches value
|
|
938
|
-
:type sha384: str
|
|
939
|
-
:param sha512: Filter results where sha512 matches value
|
|
940
|
-
:type sha512: str
|
|
941
|
-
:param fields: A list of fields to include in the response.
|
|
942
|
-
:type fields: List[str]
|
|
943
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
944
|
-
:type exclude_fields: List[str]
|
|
945
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
946
|
-
number provided, it will be total request
|
|
947
|
-
timeout. It can also be a pair (tuple) of
|
|
948
|
-
(connection, read) timeouts.
|
|
949
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
950
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
951
|
-
request; this effectively ignores the
|
|
952
|
-
authentication in the spec for a single request.
|
|
953
|
-
:type _request_auth: dict, optional
|
|
954
|
-
:param _content_type: force content-type for the request.
|
|
955
|
-
:type _content_type: str, Optional
|
|
956
|
-
:param _headers: set to override the headers for a single
|
|
957
|
-
request; this effectively ignores the headers
|
|
958
|
-
in the spec for a single request.
|
|
959
|
-
:type _headers: dict, optional
|
|
960
|
-
:param _host_index: set to override the host_index for a single
|
|
961
|
-
request; this effectively ignores the host_index
|
|
962
|
-
in the spec for a single request.
|
|
963
|
-
:type _host_index: int, optional
|
|
964
|
-
:return: Returns the result object.
|
|
965
|
-
""" # noqa: E501
|
|
966
|
-
|
|
967
|
-
_param = self._list_serialize(
|
|
968
|
-
pulp_domain=pulp_domain,
|
|
969
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
970
|
-
limit=limit,
|
|
971
|
-
md5=md5,
|
|
972
|
-
offset=offset,
|
|
973
|
-
ordering=ordering,
|
|
974
|
-
orphaned_for=orphaned_for,
|
|
975
|
-
prn__in=prn__in,
|
|
976
|
-
pulp_href__in=pulp_href__in,
|
|
977
|
-
pulp_id__in=pulp_id__in,
|
|
978
|
-
q=q,
|
|
979
|
-
repository_version=repository_version,
|
|
980
|
-
sha1=sha1,
|
|
981
|
-
sha224=sha224,
|
|
982
|
-
sha256=sha256,
|
|
983
|
-
sha384=sha384,
|
|
984
|
-
sha512=sha512,
|
|
985
|
-
fields=fields,
|
|
986
|
-
exclude_fields=exclude_fields,
|
|
987
|
-
_request_auth=_request_auth,
|
|
988
|
-
_content_type=_content_type,
|
|
989
|
-
_headers=_headers,
|
|
990
|
-
_host_index=_host_index
|
|
991
|
-
)
|
|
992
|
-
|
|
993
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
994
|
-
'200': "PaginatedArtifactResponseList",
|
|
995
|
-
}
|
|
996
|
-
response_data = self.api_client.call_api(
|
|
997
|
-
*_param,
|
|
998
|
-
_request_timeout=_request_timeout
|
|
999
|
-
)
|
|
1000
|
-
response_data.read()
|
|
1001
|
-
return self.api_client.response_deserialize(
|
|
1002
|
-
response_data=response_data,
|
|
1003
|
-
response_types_map=_response_types_map,
|
|
1004
|
-
)
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
@validate_call
|
|
1008
|
-
def list_without_preload_content(
|
|
1009
|
-
self,
|
|
1010
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1011
|
-
limit: Annotated[Optional[StrictInt], Field(description="Number of results to return per page.")] = None,
|
|
1012
|
-
md5: Annotated[Optional[StrictStr], Field(description="Filter results where md5 matches value")] = None,
|
|
1013
|
-
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
1014
|
-
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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
1015
|
-
orphaned_for: Annotated[Optional[Union[StrictFloat, StrictInt]], Field(description="Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.")] = None,
|
|
1016
|
-
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1017
|
-
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1018
|
-
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
1019
|
-
q: Annotated[Optional[StrictStr], Field(description="Filter results by using NOT, AND and OR operations on other filters")] = None,
|
|
1020
|
-
repository_version: Annotated[Optional[StrictStr], Field(description="Repository Version referenced by HREF/PRN")] = None,
|
|
1021
|
-
sha1: Annotated[Optional[StrictStr], Field(description="Filter results where sha1 matches value")] = None,
|
|
1022
|
-
sha224: Annotated[Optional[StrictStr], Field(description="Filter results where sha224 matches value")] = None,
|
|
1023
|
-
sha256: Annotated[Optional[StrictStr], Field(description="Filter results where sha256 matches value")] = None,
|
|
1024
|
-
sha384: Annotated[Optional[StrictStr], Field(description="Filter results where sha384 matches value")] = None,
|
|
1025
|
-
sha512: Annotated[Optional[StrictStr], Field(description="Filter results where sha512 matches value")] = None,
|
|
1026
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1027
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1028
|
-
pulp_domain: StrictStr = "default",
|
|
1029
|
-
_request_timeout: Union[
|
|
1030
|
-
None,
|
|
1031
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1032
|
-
Tuple[
|
|
1033
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1034
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1035
|
-
]
|
|
1036
|
-
] = None,
|
|
1037
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1038
|
-
_content_type: Optional[StrictStr] = None,
|
|
1039
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1040
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1041
|
-
) -> RESTResponseType:
|
|
1042
|
-
"""List artifacts
|
|
1043
|
-
|
|
1044
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
1045
|
-
|
|
1046
|
-
:param pulp_domain: (required)
|
|
1047
|
-
:type pulp_domain: str
|
|
1048
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1049
|
-
:type x_task_diagnostics: List[str]
|
|
1050
|
-
:param limit: Number of results to return per page.
|
|
1051
|
-
:type limit: int
|
|
1052
|
-
:param md5: Filter results where md5 matches value
|
|
1053
|
-
:type md5: str
|
|
1054
|
-
:param offset: The initial index from which to return the results.
|
|
1055
|
-
:type offset: int
|
|
1056
|
-
: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) * `file` - File * `-file` - File (descending) * `size` - Size * `-size` - Size (descending) * `md5` - Md5 * `-md5` - Md5 (descending) * `sha1` - Sha1 * `-sha1` - Sha1 (descending) * `sha224` - Sha224 * `-sha224` - Sha224 (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `sha384` - Sha384 * `-sha384` - Sha384 (descending) * `sha512` - Sha512 * `-sha512` - Sha512 (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
1057
|
-
:type ordering: List[str]
|
|
1058
|
-
:param orphaned_for: Minutes Artifacts have been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
|
1059
|
-
:type orphaned_for: float
|
|
1060
|
-
:param prn__in: Multiple values may be separated by commas.
|
|
1061
|
-
:type prn__in: List[str]
|
|
1062
|
-
:param pulp_href__in: Multiple values may be separated by commas.
|
|
1063
|
-
:type pulp_href__in: List[str]
|
|
1064
|
-
:param pulp_id__in: Multiple values may be separated by commas.
|
|
1065
|
-
:type pulp_id__in: List[str]
|
|
1066
|
-
:param q: Filter results by using NOT, AND and OR operations on other filters
|
|
1067
|
-
:type q: str
|
|
1068
|
-
:param repository_version: Repository Version referenced by HREF/PRN
|
|
1069
|
-
:type repository_version: str
|
|
1070
|
-
:param sha1: Filter results where sha1 matches value
|
|
1071
|
-
:type sha1: str
|
|
1072
|
-
:param sha224: Filter results where sha224 matches value
|
|
1073
|
-
:type sha224: str
|
|
1074
|
-
:param sha256: Filter results where sha256 matches value
|
|
1075
|
-
:type sha256: str
|
|
1076
|
-
:param sha384: Filter results where sha384 matches value
|
|
1077
|
-
:type sha384: str
|
|
1078
|
-
:param sha512: Filter results where sha512 matches value
|
|
1079
|
-
:type sha512: str
|
|
1080
|
-
:param fields: A list of fields to include in the response.
|
|
1081
|
-
:type fields: List[str]
|
|
1082
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1083
|
-
:type exclude_fields: List[str]
|
|
1084
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1085
|
-
number provided, it will be total request
|
|
1086
|
-
timeout. It can also be a pair (tuple) of
|
|
1087
|
-
(connection, read) timeouts.
|
|
1088
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1089
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1090
|
-
request; this effectively ignores the
|
|
1091
|
-
authentication in the spec for a single request.
|
|
1092
|
-
:type _request_auth: dict, optional
|
|
1093
|
-
:param _content_type: force content-type for the request.
|
|
1094
|
-
:type _content_type: str, Optional
|
|
1095
|
-
:param _headers: set to override the headers for a single
|
|
1096
|
-
request; this effectively ignores the headers
|
|
1097
|
-
in the spec for a single request.
|
|
1098
|
-
:type _headers: dict, optional
|
|
1099
|
-
:param _host_index: set to override the host_index for a single
|
|
1100
|
-
request; this effectively ignores the host_index
|
|
1101
|
-
in the spec for a single request.
|
|
1102
|
-
:type _host_index: int, optional
|
|
1103
|
-
:return: Returns the result object.
|
|
1104
|
-
""" # noqa: E501
|
|
1105
|
-
|
|
1106
|
-
_param = self._list_serialize(
|
|
1107
|
-
pulp_domain=pulp_domain,
|
|
1108
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1109
|
-
limit=limit,
|
|
1110
|
-
md5=md5,
|
|
1111
|
-
offset=offset,
|
|
1112
|
-
ordering=ordering,
|
|
1113
|
-
orphaned_for=orphaned_for,
|
|
1114
|
-
prn__in=prn__in,
|
|
1115
|
-
pulp_href__in=pulp_href__in,
|
|
1116
|
-
pulp_id__in=pulp_id__in,
|
|
1117
|
-
q=q,
|
|
1118
|
-
repository_version=repository_version,
|
|
1119
|
-
sha1=sha1,
|
|
1120
|
-
sha224=sha224,
|
|
1121
|
-
sha256=sha256,
|
|
1122
|
-
sha384=sha384,
|
|
1123
|
-
sha512=sha512,
|
|
1124
|
-
fields=fields,
|
|
1125
|
-
exclude_fields=exclude_fields,
|
|
1126
|
-
_request_auth=_request_auth,
|
|
1127
|
-
_content_type=_content_type,
|
|
1128
|
-
_headers=_headers,
|
|
1129
|
-
_host_index=_host_index
|
|
1130
|
-
)
|
|
1131
|
-
|
|
1132
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1133
|
-
'200': "PaginatedArtifactResponseList",
|
|
1134
|
-
}
|
|
1135
|
-
response_data = self.api_client.call_api(
|
|
1136
|
-
*_param,
|
|
1137
|
-
_request_timeout=_request_timeout
|
|
1138
|
-
)
|
|
1139
|
-
return response_data.response
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
def _list_serialize(
|
|
1143
|
-
self,
|
|
1144
|
-
pulp_domain,
|
|
1145
|
-
x_task_diagnostics,
|
|
1146
|
-
limit,
|
|
1147
|
-
md5,
|
|
1148
|
-
offset,
|
|
1149
|
-
ordering,
|
|
1150
|
-
orphaned_for,
|
|
1151
|
-
prn__in,
|
|
1152
|
-
pulp_href__in,
|
|
1153
|
-
pulp_id__in,
|
|
1154
|
-
q,
|
|
1155
|
-
repository_version,
|
|
1156
|
-
sha1,
|
|
1157
|
-
sha224,
|
|
1158
|
-
sha256,
|
|
1159
|
-
sha384,
|
|
1160
|
-
sha512,
|
|
1161
|
-
fields,
|
|
1162
|
-
exclude_fields,
|
|
1163
|
-
_request_auth,
|
|
1164
|
-
_content_type,
|
|
1165
|
-
_headers,
|
|
1166
|
-
_host_index,
|
|
1167
|
-
) -> RequestSerialized:
|
|
1168
|
-
|
|
1169
|
-
_host = None
|
|
1170
|
-
|
|
1171
|
-
_collection_formats: Dict[str, str] = {
|
|
1172
|
-
'X-Task-Diagnostics': 'csv',
|
|
1173
|
-
'ordering': 'csv',
|
|
1174
|
-
'prn__in': 'csv',
|
|
1175
|
-
'pulp_href__in': 'csv',
|
|
1176
|
-
'pulp_id__in': 'csv',
|
|
1177
|
-
'fields': 'multi',
|
|
1178
|
-
'exclude_fields': 'multi',
|
|
1179
|
-
}
|
|
1180
|
-
|
|
1181
|
-
_path_params: Dict[str, str] = {}
|
|
1182
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1183
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1184
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1185
|
-
_files: Dict[
|
|
1186
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1187
|
-
] = {}
|
|
1188
|
-
_body_params: Optional[bytes] = None
|
|
1189
|
-
|
|
1190
|
-
# process the path parameters
|
|
1191
|
-
if pulp_domain is not None:
|
|
1192
|
-
_path_params['pulp_domain'] = pulp_domain
|
|
1193
|
-
# process the query parameters
|
|
1194
|
-
if limit is not None:
|
|
1195
|
-
|
|
1196
|
-
_query_params.append(('limit', limit))
|
|
1197
|
-
|
|
1198
|
-
if md5 is not None:
|
|
1199
|
-
|
|
1200
|
-
_query_params.append(('md5', md5))
|
|
1201
|
-
|
|
1202
|
-
if offset is not None:
|
|
1203
|
-
|
|
1204
|
-
_query_params.append(('offset', offset))
|
|
1205
|
-
|
|
1206
|
-
if ordering is not None:
|
|
1207
|
-
|
|
1208
|
-
_query_params.append(('ordering', ordering))
|
|
1209
|
-
|
|
1210
|
-
if orphaned_for is not None:
|
|
1211
|
-
|
|
1212
|
-
_query_params.append(('orphaned_for', orphaned_for))
|
|
1213
|
-
|
|
1214
|
-
if prn__in is not None:
|
|
1215
|
-
|
|
1216
|
-
_query_params.append(('prn__in', prn__in))
|
|
1217
|
-
|
|
1218
|
-
if pulp_href__in is not None:
|
|
1219
|
-
|
|
1220
|
-
_query_params.append(('pulp_href__in', pulp_href__in))
|
|
1221
|
-
|
|
1222
|
-
if pulp_id__in is not None:
|
|
1223
|
-
|
|
1224
|
-
_query_params.append(('pulp_id__in', pulp_id__in))
|
|
1225
|
-
|
|
1226
|
-
if q is not None:
|
|
1227
|
-
|
|
1228
|
-
_query_params.append(('q', q))
|
|
1229
|
-
|
|
1230
|
-
if repository_version is not None:
|
|
1231
|
-
|
|
1232
|
-
_query_params.append(('repository_version', repository_version))
|
|
1233
|
-
|
|
1234
|
-
if sha1 is not None:
|
|
1235
|
-
|
|
1236
|
-
_query_params.append(('sha1', sha1))
|
|
1237
|
-
|
|
1238
|
-
if sha224 is not None:
|
|
1239
|
-
|
|
1240
|
-
_query_params.append(('sha224', sha224))
|
|
1241
|
-
|
|
1242
|
-
if sha256 is not None:
|
|
1243
|
-
|
|
1244
|
-
_query_params.append(('sha256', sha256))
|
|
1245
|
-
|
|
1246
|
-
if sha384 is not None:
|
|
1247
|
-
|
|
1248
|
-
_query_params.append(('sha384', sha384))
|
|
1249
|
-
|
|
1250
|
-
if sha512 is not None:
|
|
1251
|
-
|
|
1252
|
-
_query_params.append(('sha512', sha512))
|
|
1253
|
-
|
|
1254
|
-
if fields is not None:
|
|
1255
|
-
|
|
1256
|
-
_query_params.append(('fields', fields))
|
|
1257
|
-
|
|
1258
|
-
if exclude_fields is not None:
|
|
1259
|
-
|
|
1260
|
-
_query_params.append(('exclude_fields', exclude_fields))
|
|
1261
|
-
|
|
1262
|
-
# process the header parameters
|
|
1263
|
-
if x_task_diagnostics is not None:
|
|
1264
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1265
|
-
# process the form parameters
|
|
1266
|
-
# process the body parameter
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
# set the HTTP header `Accept`
|
|
1270
|
-
if 'Accept' not in _header_params:
|
|
1271
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1272
|
-
[
|
|
1273
|
-
'application/json'
|
|
1274
|
-
]
|
|
1275
|
-
)
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
# authentication setting
|
|
1279
|
-
_auth_settings: List[str] = [
|
|
1280
|
-
'json_header_remote_authentication',
|
|
1281
|
-
'basicAuth',
|
|
1282
|
-
'cookieAuth'
|
|
1283
|
-
]
|
|
1284
|
-
|
|
1285
|
-
return self.api_client.param_serialize(
|
|
1286
|
-
method='GET',
|
|
1287
|
-
resource_path='/api/pulp/{pulp_domain}/api/v3/artifacts/',
|
|
1288
|
-
path_params=_path_params,
|
|
1289
|
-
query_params=_query_params,
|
|
1290
|
-
header_params=_header_params,
|
|
1291
|
-
body=_body_params,
|
|
1292
|
-
post_params=_form_params,
|
|
1293
|
-
files=_files,
|
|
1294
|
-
auth_settings=_auth_settings,
|
|
1295
|
-
collection_formats=_collection_formats,
|
|
1296
|
-
_host=_host,
|
|
1297
|
-
_request_auth=_request_auth
|
|
1298
|
-
)
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
@validate_call
|
|
1304
|
-
def read(
|
|
1305
|
-
self,
|
|
1306
|
-
artifact_href: StrictStr,
|
|
1307
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1308
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1309
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1310
|
-
_request_timeout: Union[
|
|
1311
|
-
None,
|
|
1312
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1313
|
-
Tuple[
|
|
1314
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1315
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1316
|
-
]
|
|
1317
|
-
] = None,
|
|
1318
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1319
|
-
_content_type: Optional[StrictStr] = None,
|
|
1320
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1321
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1322
|
-
) -> ArtifactResponse:
|
|
1323
|
-
"""Inspect an artifact
|
|
1324
|
-
|
|
1325
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
1326
|
-
|
|
1327
|
-
:param artifact_href: (required)
|
|
1328
|
-
:type artifact_href: str
|
|
1329
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1330
|
-
:type x_task_diagnostics: List[str]
|
|
1331
|
-
:param fields: A list of fields to include in the response.
|
|
1332
|
-
:type fields: List[str]
|
|
1333
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1334
|
-
:type exclude_fields: List[str]
|
|
1335
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1336
|
-
number provided, it will be total request
|
|
1337
|
-
timeout. It can also be a pair (tuple) of
|
|
1338
|
-
(connection, read) timeouts.
|
|
1339
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1340
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1341
|
-
request; this effectively ignores the
|
|
1342
|
-
authentication in the spec for a single request.
|
|
1343
|
-
:type _request_auth: dict, optional
|
|
1344
|
-
:param _content_type: force content-type for the request.
|
|
1345
|
-
:type _content_type: str, Optional
|
|
1346
|
-
:param _headers: set to override the headers for a single
|
|
1347
|
-
request; this effectively ignores the headers
|
|
1348
|
-
in the spec for a single request.
|
|
1349
|
-
:type _headers: dict, optional
|
|
1350
|
-
:param _host_index: set to override the host_index for a single
|
|
1351
|
-
request; this effectively ignores the host_index
|
|
1352
|
-
in the spec for a single request.
|
|
1353
|
-
:type _host_index: int, optional
|
|
1354
|
-
:return: Returns the result object.
|
|
1355
|
-
""" # noqa: E501
|
|
1356
|
-
|
|
1357
|
-
_param = self._read_serialize(
|
|
1358
|
-
artifact_href=artifact_href,
|
|
1359
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1360
|
-
fields=fields,
|
|
1361
|
-
exclude_fields=exclude_fields,
|
|
1362
|
-
_request_auth=_request_auth,
|
|
1363
|
-
_content_type=_content_type,
|
|
1364
|
-
_headers=_headers,
|
|
1365
|
-
_host_index=_host_index
|
|
1366
|
-
)
|
|
1367
|
-
|
|
1368
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1369
|
-
'200': "ArtifactResponse",
|
|
1370
|
-
}
|
|
1371
|
-
response_data = self.api_client.call_api(
|
|
1372
|
-
*_param,
|
|
1373
|
-
_request_timeout=_request_timeout
|
|
1374
|
-
)
|
|
1375
|
-
response_data.read()
|
|
1376
|
-
return self.api_client.response_deserialize(
|
|
1377
|
-
response_data=response_data,
|
|
1378
|
-
response_types_map=_response_types_map,
|
|
1379
|
-
).data
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
@validate_call
|
|
1383
|
-
def read_with_http_info(
|
|
1384
|
-
self,
|
|
1385
|
-
artifact_href: StrictStr,
|
|
1386
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1387
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1388
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1389
|
-
_request_timeout: Union[
|
|
1390
|
-
None,
|
|
1391
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1392
|
-
Tuple[
|
|
1393
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1394
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1395
|
-
]
|
|
1396
|
-
] = None,
|
|
1397
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1398
|
-
_content_type: Optional[StrictStr] = None,
|
|
1399
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1400
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1401
|
-
) -> ApiResponse[ArtifactResponse]:
|
|
1402
|
-
"""Inspect an artifact
|
|
1403
|
-
|
|
1404
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
1405
|
-
|
|
1406
|
-
:param artifact_href: (required)
|
|
1407
|
-
:type artifact_href: str
|
|
1408
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1409
|
-
:type x_task_diagnostics: List[str]
|
|
1410
|
-
:param fields: A list of fields to include in the response.
|
|
1411
|
-
:type fields: List[str]
|
|
1412
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1413
|
-
:type exclude_fields: List[str]
|
|
1414
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1415
|
-
number provided, it will be total request
|
|
1416
|
-
timeout. It can also be a pair (tuple) of
|
|
1417
|
-
(connection, read) timeouts.
|
|
1418
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1419
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1420
|
-
request; this effectively ignores the
|
|
1421
|
-
authentication in the spec for a single request.
|
|
1422
|
-
:type _request_auth: dict, optional
|
|
1423
|
-
:param _content_type: force content-type for the request.
|
|
1424
|
-
:type _content_type: str, Optional
|
|
1425
|
-
:param _headers: set to override the headers for a single
|
|
1426
|
-
request; this effectively ignores the headers
|
|
1427
|
-
in the spec for a single request.
|
|
1428
|
-
:type _headers: dict, optional
|
|
1429
|
-
:param _host_index: set to override the host_index for a single
|
|
1430
|
-
request; this effectively ignores the host_index
|
|
1431
|
-
in the spec for a single request.
|
|
1432
|
-
:type _host_index: int, optional
|
|
1433
|
-
:return: Returns the result object.
|
|
1434
|
-
""" # noqa: E501
|
|
1435
|
-
|
|
1436
|
-
_param = self._read_serialize(
|
|
1437
|
-
artifact_href=artifact_href,
|
|
1438
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1439
|
-
fields=fields,
|
|
1440
|
-
exclude_fields=exclude_fields,
|
|
1441
|
-
_request_auth=_request_auth,
|
|
1442
|
-
_content_type=_content_type,
|
|
1443
|
-
_headers=_headers,
|
|
1444
|
-
_host_index=_host_index
|
|
1445
|
-
)
|
|
1446
|
-
|
|
1447
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1448
|
-
'200': "ArtifactResponse",
|
|
1449
|
-
}
|
|
1450
|
-
response_data = self.api_client.call_api(
|
|
1451
|
-
*_param,
|
|
1452
|
-
_request_timeout=_request_timeout
|
|
1453
|
-
)
|
|
1454
|
-
response_data.read()
|
|
1455
|
-
return self.api_client.response_deserialize(
|
|
1456
|
-
response_data=response_data,
|
|
1457
|
-
response_types_map=_response_types_map,
|
|
1458
|
-
)
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
@validate_call
|
|
1462
|
-
def read_without_preload_content(
|
|
1463
|
-
self,
|
|
1464
|
-
artifact_href: StrictStr,
|
|
1465
|
-
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
1466
|
-
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
1467
|
-
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
1468
|
-
_request_timeout: Union[
|
|
1469
|
-
None,
|
|
1470
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1471
|
-
Tuple[
|
|
1472
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1473
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1474
|
-
]
|
|
1475
|
-
] = None,
|
|
1476
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1477
|
-
_content_type: Optional[StrictStr] = None,
|
|
1478
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1479
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1480
|
-
) -> RESTResponseType:
|
|
1481
|
-
"""Inspect an artifact
|
|
1482
|
-
|
|
1483
|
-
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
1484
|
-
|
|
1485
|
-
:param artifact_href: (required)
|
|
1486
|
-
:type artifact_href: str
|
|
1487
|
-
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
1488
|
-
:type x_task_diagnostics: List[str]
|
|
1489
|
-
:param fields: A list of fields to include in the response.
|
|
1490
|
-
:type fields: List[str]
|
|
1491
|
-
:param exclude_fields: A list of fields to exclude from the response.
|
|
1492
|
-
:type exclude_fields: List[str]
|
|
1493
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1494
|
-
number provided, it will be total request
|
|
1495
|
-
timeout. It can also be a pair (tuple) of
|
|
1496
|
-
(connection, read) timeouts.
|
|
1497
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1498
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1499
|
-
request; this effectively ignores the
|
|
1500
|
-
authentication in the spec for a single request.
|
|
1501
|
-
:type _request_auth: dict, optional
|
|
1502
|
-
:param _content_type: force content-type for the request.
|
|
1503
|
-
:type _content_type: str, Optional
|
|
1504
|
-
:param _headers: set to override the headers for a single
|
|
1505
|
-
request; this effectively ignores the headers
|
|
1506
|
-
in the spec for a single request.
|
|
1507
|
-
:type _headers: dict, optional
|
|
1508
|
-
:param _host_index: set to override the host_index for a single
|
|
1509
|
-
request; this effectively ignores the host_index
|
|
1510
|
-
in the spec for a single request.
|
|
1511
|
-
:type _host_index: int, optional
|
|
1512
|
-
:return: Returns the result object.
|
|
1513
|
-
""" # noqa: E501
|
|
1514
|
-
|
|
1515
|
-
_param = self._read_serialize(
|
|
1516
|
-
artifact_href=artifact_href,
|
|
1517
|
-
x_task_diagnostics=x_task_diagnostics,
|
|
1518
|
-
fields=fields,
|
|
1519
|
-
exclude_fields=exclude_fields,
|
|
1520
|
-
_request_auth=_request_auth,
|
|
1521
|
-
_content_type=_content_type,
|
|
1522
|
-
_headers=_headers,
|
|
1523
|
-
_host_index=_host_index
|
|
1524
|
-
)
|
|
1525
|
-
|
|
1526
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1527
|
-
'200': "ArtifactResponse",
|
|
1528
|
-
}
|
|
1529
|
-
response_data = self.api_client.call_api(
|
|
1530
|
-
*_param,
|
|
1531
|
-
_request_timeout=_request_timeout
|
|
1532
|
-
)
|
|
1533
|
-
return response_data.response
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
def _read_serialize(
|
|
1537
|
-
self,
|
|
1538
|
-
artifact_href,
|
|
1539
|
-
x_task_diagnostics,
|
|
1540
|
-
fields,
|
|
1541
|
-
exclude_fields,
|
|
1542
|
-
_request_auth,
|
|
1543
|
-
_content_type,
|
|
1544
|
-
_headers,
|
|
1545
|
-
_host_index,
|
|
1546
|
-
) -> RequestSerialized:
|
|
1547
|
-
|
|
1548
|
-
_host = None
|
|
1549
|
-
|
|
1550
|
-
_collection_formats: Dict[str, str] = {
|
|
1551
|
-
'X-Task-Diagnostics': 'csv',
|
|
1552
|
-
'fields': 'multi',
|
|
1553
|
-
'exclude_fields': 'multi',
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
_path_params: Dict[str, str] = {}
|
|
1557
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1558
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1559
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1560
|
-
_files: Dict[
|
|
1561
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1562
|
-
] = {}
|
|
1563
|
-
_body_params: Optional[bytes] = None
|
|
1564
|
-
|
|
1565
|
-
# process the path parameters
|
|
1566
|
-
if artifact_href is not None:
|
|
1567
|
-
_path_params['artifact_href'] = artifact_href
|
|
1568
|
-
# process the query parameters
|
|
1569
|
-
if fields is not None:
|
|
1570
|
-
|
|
1571
|
-
_query_params.append(('fields', fields))
|
|
1572
|
-
|
|
1573
|
-
if exclude_fields is not None:
|
|
1574
|
-
|
|
1575
|
-
_query_params.append(('exclude_fields', exclude_fields))
|
|
1576
|
-
|
|
1577
|
-
# process the header parameters
|
|
1578
|
-
if x_task_diagnostics is not None:
|
|
1579
|
-
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
1580
|
-
# process the form parameters
|
|
1581
|
-
# process the body parameter
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
# set the HTTP header `Accept`
|
|
1585
|
-
if 'Accept' not in _header_params:
|
|
1586
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1587
|
-
[
|
|
1588
|
-
'application/json'
|
|
1589
|
-
]
|
|
1590
|
-
)
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
# authentication setting
|
|
1594
|
-
_auth_settings: List[str] = [
|
|
1595
|
-
'json_header_remote_authentication',
|
|
1596
|
-
'basicAuth',
|
|
1597
|
-
'cookieAuth'
|
|
1598
|
-
]
|
|
1599
|
-
|
|
1600
|
-
return self.api_client.param_serialize(
|
|
1601
|
-
method='GET',
|
|
1602
|
-
resource_path='{artifact_href}',
|
|
1603
|
-
path_params=_path_params,
|
|
1604
|
-
query_params=_query_params,
|
|
1605
|
-
header_params=_header_params,
|
|
1606
|
-
body=_body_params,
|
|
1607
|
-
post_params=_form_params,
|
|
1608
|
-
files=_files,
|
|
1609
|
-
auth_settings=_auth_settings,
|
|
1610
|
-
collection_formats=_collection_formats,
|
|
1611
|
-
_host=_host,
|
|
1612
|
-
_request_auth=_request_auth
|
|
1613
|
-
)
|
|
1614
|
-
|
|
1615
|
-
|