pulpcore-client 3.88.0__py3-none-any.whl → 3.89.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 pulpcore-client might be problematic. Click here for more details.
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/access_policy.py +1 -14
- pulpcore/client/pulpcore/models/access_policy_response.py +1 -20
- pulpcore/client/pulpcore/models/app_status_response.py +1 -13
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +11 -31
- pulpcore/client/pulpcore/models/artifact_response.py +1 -22
- pulpcore/client/pulpcore/models/async_operation_response.py +1 -11
- pulpcore/client/pulpcore/models/composite_content_guard.py +1 -13
- pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -17
- pulpcore/client/pulpcore/models/content_guard_response.py +1 -16
- pulpcore/client/pulpcore/models/content_redirect_content_guard.py +1 -12
- pulpcore/client/pulpcore/models/content_redirect_content_guard_response.py +1 -16
- pulpcore/client/pulpcore/models/content_settings_response.py +1 -12
- pulpcore/client/pulpcore/models/content_summary_response.py +1 -13
- pulpcore/client/pulpcore/models/database_connection_response.py +1 -11
- pulpcore/client/pulpcore/models/distribution_response.py +1 -22
- pulpcore/client/pulpcore/models/domain.py +1 -17
- pulpcore/client/pulpcore/models/domain_backend_migrator.py +1 -12
- pulpcore/client/pulpcore/models/domain_response.py +1 -21
- pulpcore/client/pulpcore/models/evaluation_response.py +1 -13
- pulpcore/client/pulpcore/models/filesystem_export.py +1 -14
- pulpcore/client/pulpcore/models/filesystem_export_response.py +1 -17
- pulpcore/client/pulpcore/models/filesystem_exporter.py +1 -13
- pulpcore/client/pulpcore/models/filesystem_exporter_response.py +1 -17
- pulpcore/client/pulpcore/models/generic_remote_response.py +1 -31
- pulpcore/client/pulpcore/models/generic_remote_response_hidden_fields_inner.py +1 -12
- pulpcore/client/pulpcore/models/group.py +1 -11
- pulpcore/client/pulpcore/models/group_progress_report_response.py +1 -15
- pulpcore/client/pulpcore/models/group_response.py +1 -14
- pulpcore/client/pulpcore/models/group_role.py +1 -14
- pulpcore/client/pulpcore/models/group_role_response.py +1 -20
- pulpcore/client/pulpcore/models/group_user.py +1 -11
- pulpcore/client/pulpcore/models/group_user_response.py +1 -13
- pulpcore/client/pulpcore/models/header_content_guard.py +1 -15
- pulpcore/client/pulpcore/models/header_content_guard_response.py +1 -19
- pulpcore/client/pulpcore/models/import_response.py +1 -16
- pulpcore/client/pulpcore/models/login_response.py +1 -13
- pulpcore/client/pulpcore/models/minimal_task_response.py +1 -20
- pulpcore/client/pulpcore/models/multiple_artifact_content_response.py +1 -17
- pulpcore/client/pulpcore/models/my_permissions_response.py +1 -11
- pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey.py +1 -12
- pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey_response.py +1 -13
- pulpcore/client/pulpcore/models/nested_open_pgp_signature.py +1 -16
- pulpcore/client/pulpcore/models/nested_open_pgp_signature_response.py +1 -17
- pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute.py +1 -11
- pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute_response.py +1 -12
- pulpcore/client/pulpcore/models/nested_open_pgp_user_id.py +1 -11
- pulpcore/client/pulpcore/models/nested_open_pgp_user_id_response.py +1 -12
- pulpcore/client/pulpcore/models/nested_role.py +1 -13
- pulpcore/client/pulpcore/models/nested_role_response.py +1 -13
- pulpcore/client/pulpcore/models/object_roles_response.py +1 -11
- pulpcore/client/pulpcore/models/open_pgp_distribution.py +1 -17
- pulpcore/client/pulpcore/models/open_pgp_distribution_response.py +1 -23
- pulpcore/client/pulpcore/models/open_pgp_keyring.py +1 -15
- pulpcore/client/pulpcore/models/open_pgp_keyring_response.py +1 -21
- pulpcore/client/pulpcore/models/open_pgp_public_key_response.py +1 -21
- pulpcore/client/pulpcore/models/open_pgp_public_subkey_response.py +1 -20
- pulpcore/client/pulpcore/models/open_pgp_signature_response.py +1 -24
- pulpcore/client/pulpcore/models/open_pgp_user_attribute_response.py +1 -19
- pulpcore/client/pulpcore/models/open_pgp_user_id_response.py +1 -19
- pulpcore/client/pulpcore/models/orphans_cleanup.py +1 -12
- pulpcore/client/pulpcore/models/paginated_access_policy_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_artifact_distribution_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_artifact_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_composite_content_guard_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_content_guard_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_content_redirect_content_guard_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_distribution_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_domain_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_filesystem_export_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_filesystem_exporter_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_generic_remote_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_group_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_group_role_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_group_user_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_header_content_guard_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_import_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_multiple_artifact_content_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_distribution_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_keyring_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_public_key_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_public_subkey_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_signature_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_user_attribute_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_open_pgp_user_id_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_publication_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_pulp_export_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_pulp_exporter_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_pulp_importer_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_rbac_content_guard_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_repository_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_repository_version_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_role_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_signing_service_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_task_group_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_task_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_task_schedule_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_upload_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_upstream_pulp_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_user_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_user_role_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_vulnerability_report_response_list.py +1 -14
- pulpcore/client/pulpcore/models/paginated_worker_response_list.py +1 -14
- pulpcore/client/pulpcore/models/patched_access_policy.py +1 -14
- pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -13
- pulpcore/client/pulpcore/models/patched_content_redirect_content_guard.py +1 -12
- pulpcore/client/pulpcore/models/patched_domain.py +1 -17
- pulpcore/client/pulpcore/models/patched_filesystem_exporter.py +1 -13
- pulpcore/client/pulpcore/models/patched_group.py +1 -11
- pulpcore/client/pulpcore/models/patched_header_content_guard.py +1 -15
- pulpcore/client/pulpcore/models/patched_open_pgp_distribution.py +1 -17
- pulpcore/client/pulpcore/models/patched_open_pgp_keyring.py +1 -15
- pulpcore/client/pulpcore/models/patched_pulp_exporter.py +1 -14
- pulpcore/client/pulpcore/models/patched_pulp_importer.py +1 -12
- pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -12
- pulpcore/client/pulpcore/models/patched_role.py +1 -13
- pulpcore/client/pulpcore/models/patched_task_cancel.py +1 -11
- pulpcore/client/pulpcore/models/patched_upstream_pulp.py +1 -22
- pulpcore/client/pulpcore/models/patched_user.py +1 -17
- pulpcore/client/pulpcore/models/profile_artifact_response.py +1 -11
- pulpcore/client/pulpcore/models/progress_report_response.py +1 -16
- pulpcore/client/pulpcore/models/publication_response.py +1 -16
- pulpcore/client/pulpcore/models/pulp_export.py +1 -16
- pulpcore/client/pulpcore/models/pulp_export_response.py +1 -19
- pulpcore/client/pulpcore/models/pulp_exporter.py +1 -14
- pulpcore/client/pulpcore/models/pulp_exporter_response.py +1 -18
- pulpcore/client/pulpcore/models/pulp_import.py +1 -13
- pulpcore/client/pulpcore/models/pulp_import_check.py +1 -13
- pulpcore/client/pulpcore/models/pulp_import_check_response.py +1 -13
- pulpcore/client/pulpcore/models/pulp_importer.py +1 -12
- pulpcore/client/pulpcore/models/pulp_importer_response.py +1 -16
- pulpcore/client/pulpcore/models/purge.py +1 -12
- pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -12
- pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -18
- pulpcore/client/pulpcore/models/reclaim_space.py +1 -12
- pulpcore/client/pulpcore/models/redis_connection_response.py +1 -11
- pulpcore/client/pulpcore/models/repair.py +1 -11
- pulpcore/client/pulpcore/models/repository_add_remove_content.py +1 -13
- pulpcore/client/pulpcore/models/repository_response.py +1 -21
- pulpcore/client/pulpcore/models/repository_version_response.py +1 -19
- pulpcore/client/pulpcore/models/role.py +1 -13
- pulpcore/client/pulpcore/models/role_response.py +1 -18
- pulpcore/client/pulpcore/models/set_label.py +1 -12
- pulpcore/client/pulpcore/models/set_label_response.py +1 -12
- pulpcore/client/pulpcore/models/signing_service_response.py +1 -18
- pulpcore/client/pulpcore/models/status_response.py +1 -19
- pulpcore/client/pulpcore/models/storage_response.py +1 -13
- pulpcore/client/pulpcore/models/task_group_operation_response.py +1 -11
- pulpcore/client/pulpcore/models/task_group_response.py +1 -23
- pulpcore/client/pulpcore/models/task_response.py +1 -30
- pulpcore/client/pulpcore/models/task_schedule_response.py +1 -19
- pulpcore/client/pulpcore/models/unset_label.py +1 -11
- pulpcore/client/pulpcore/models/unset_label_response.py +1 -12
- pulpcore/client/pulpcore/models/upload.py +1 -11
- pulpcore/client/pulpcore/models/upload_chunk_response.py +1 -12
- pulpcore/client/pulpcore/models/upload_commit.py +1 -11
- pulpcore/client/pulpcore/models/upload_detail_response.py +1 -17
- pulpcore/client/pulpcore/models/upload_response.py +1 -16
- pulpcore/client/pulpcore/models/upstream_pulp.py +1 -22
- pulpcore/client/pulpcore/models/upstream_pulp_response.py +1 -25
- pulpcore/client/pulpcore/models/user.py +1 -17
- pulpcore/client/pulpcore/models/user_group.py +1 -11
- pulpcore/client/pulpcore/models/user_group_response.py +1 -13
- pulpcore/client/pulpcore/models/user_response.py +1 -22
- pulpcore/client/pulpcore/models/user_role.py +1 -14
- pulpcore/client/pulpcore/models/user_role_response.py +1 -20
- pulpcore/client/pulpcore/models/version_response.py +1 -15
- pulpcore/client/pulpcore/models/vulnerability_report_response.py +1 -17
- pulpcore/client/pulpcore/models/worker_response.py +1 -18
- {pulpcore_client-3.88.0.dist-info → pulpcore_client-3.89.1.dist-info}/METADATA +2 -2
- {pulpcore_client-3.88.0.dist-info → pulpcore_client-3.89.1.dist-info}/RECORD +175 -175
- {pulpcore_client-3.88.0.dist-info → pulpcore_client-3.89.1.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.88.0.dist-info → pulpcore_client-3.89.1.dist-info}/top_level.txt +0 -0
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UnsetLabel(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for synchronously UNsetting a label.
|
|
@@ -96,9 +88,7 @@ class UnsetLabel(BaseModel):
|
|
|
96
88
|
if not isinstance(obj, dict):
|
|
97
89
|
return cls.model_validate(obj)
|
|
98
90
|
|
|
99
|
-
_obj = cls.model_validate(
|
|
100
|
-
"key": obj.get("key")
|
|
101
|
-
})
|
|
91
|
+
_obj = cls.model_validate(obj)
|
|
102
92
|
return _obj
|
|
103
93
|
|
|
104
94
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UnsetLabelResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for synchronously UNsetting a label.
|
|
@@ -99,10 +91,7 @@ class UnsetLabelResponse(BaseModel):
|
|
|
99
91
|
if not isinstance(obj, dict):
|
|
100
92
|
return cls.model_validate(obj)
|
|
101
93
|
|
|
102
|
-
_obj = cls.model_validate(
|
|
103
|
-
"key": obj.get("key"),
|
|
104
|
-
"value": obj.get("value")
|
|
105
|
-
})
|
|
94
|
+
_obj = cls.model_validate(obj)
|
|
106
95
|
return _obj
|
|
107
96
|
|
|
108
97
|
|
|
@@ -23,14 +23,6 @@ from typing import Any, ClassVar, Dict, List
|
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
class OneOf:
|
|
28
|
-
@staticmethod
|
|
29
|
-
def from_dict(obj, *args, **kwargs):
|
|
30
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
31
|
-
return obj
|
|
32
|
-
|
|
33
|
-
|
|
34
26
|
class Upload(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
Serializer for chunked uploads.
|
|
@@ -88,9 +80,7 @@ class Upload(BaseModel):
|
|
|
88
80
|
if not isinstance(obj, dict):
|
|
89
81
|
return cls.model_validate(obj)
|
|
90
82
|
|
|
91
|
-
_obj = cls.model_validate(
|
|
92
|
-
"size": obj.get("size")
|
|
93
|
-
})
|
|
83
|
+
_obj = cls.model_validate(obj)
|
|
94
84
|
return _obj
|
|
95
85
|
|
|
96
86
|
|
|
@@ -23,14 +23,6 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
class OneOf:
|
|
28
|
-
@staticmethod
|
|
29
|
-
def from_dict(obj, *args, **kwargs):
|
|
30
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
31
|
-
return obj
|
|
32
|
-
|
|
33
|
-
|
|
34
26
|
class UploadChunkResponse(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
A mixin for validating unknown serializers' fields.
|
|
@@ -93,10 +85,7 @@ class UploadChunkResponse(BaseModel):
|
|
|
93
85
|
if not isinstance(obj, dict):
|
|
94
86
|
return cls.model_validate(obj)
|
|
95
87
|
|
|
96
|
-
_obj = cls.model_validate(
|
|
97
|
-
"offset": obj.get("offset"),
|
|
98
|
-
"size": obj.get("size")
|
|
99
|
-
})
|
|
88
|
+
_obj = cls.model_validate(obj)
|
|
100
89
|
return _obj
|
|
101
90
|
|
|
102
91
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UploadCommit(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
A mixin for validating unknown serializers' fields.
|
|
@@ -89,9 +81,7 @@ class UploadCommit(BaseModel):
|
|
|
89
81
|
if not isinstance(obj, dict):
|
|
90
82
|
return cls.model_validate(obj)
|
|
91
83
|
|
|
92
|
-
_obj = cls.model_validate(
|
|
93
|
-
"sha256": obj.get("sha256")
|
|
94
|
-
})
|
|
84
|
+
_obj = cls.model_validate(obj)
|
|
95
85
|
return _obj
|
|
96
86
|
|
|
97
87
|
|
|
@@ -25,14 +25,6 @@ from pulpcore.client.pulpcore.models.upload_chunk_response import UploadChunkRes
|
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
class OneOf:
|
|
30
|
-
@staticmethod
|
|
31
|
-
def from_dict(obj, *args, **kwargs):
|
|
32
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
33
|
-
return obj
|
|
34
|
-
|
|
35
|
-
|
|
36
28
|
class UploadDetailResponse(BaseModel):
|
|
37
29
|
"""
|
|
38
30
|
Serializer for chunked uploads.
|
|
@@ -113,15 +105,7 @@ class UploadDetailResponse(BaseModel):
|
|
|
113
105
|
if not isinstance(obj, dict):
|
|
114
106
|
return cls.model_validate(obj)
|
|
115
107
|
|
|
116
|
-
_obj = cls.model_validate(
|
|
117
|
-
"pulp_href": obj.get("pulp_href"),
|
|
118
|
-
"prn": obj.get("prn"),
|
|
119
|
-
"pulp_created": obj.get("pulp_created"),
|
|
120
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
121
|
-
"size": obj.get("size"),
|
|
122
|
-
"completed": obj.get("completed"),
|
|
123
|
-
"chunks": [UploadChunkResponse.from_dict(_item) for _item in obj["chunks"]] if obj.get("chunks") is not None else None
|
|
124
|
-
})
|
|
108
|
+
_obj = cls.model_validate(obj)
|
|
125
109
|
return _obj
|
|
126
110
|
|
|
127
111
|
|
|
@@ -24,14 +24,6 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UploadResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for chunked uploads.
|
|
@@ -104,14 +96,7 @@ class UploadResponse(BaseModel):
|
|
|
104
96
|
if not isinstance(obj, dict):
|
|
105
97
|
return cls.model_validate(obj)
|
|
106
98
|
|
|
107
|
-
_obj = cls.model_validate(
|
|
108
|
-
"pulp_href": obj.get("pulp_href"),
|
|
109
|
-
"prn": obj.get("prn"),
|
|
110
|
-
"pulp_created": obj.get("pulp_created"),
|
|
111
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
112
|
-
"size": obj.get("size"),
|
|
113
|
-
"completed": obj.get("completed")
|
|
114
|
-
})
|
|
99
|
+
_obj = cls.model_validate(obj)
|
|
115
100
|
return _obj
|
|
116
101
|
|
|
117
102
|
|
|
@@ -25,14 +25,6 @@ from pulpcore.client.pulpcore.models.policy357_enum import Policy357Enum
|
|
|
25
25
|
from typing import Optional, Set
|
|
26
26
|
from typing_extensions import Self
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
class OneOf:
|
|
30
|
-
@staticmethod
|
|
31
|
-
def from_dict(obj, *args, **kwargs):
|
|
32
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
33
|
-
return obj
|
|
34
|
-
|
|
35
|
-
|
|
36
28
|
class UpstreamPulp(BaseModel):
|
|
37
29
|
"""
|
|
38
30
|
Serializer for a Server.
|
|
@@ -136,20 +128,7 @@ class UpstreamPulp(BaseModel):
|
|
|
136
128
|
if not isinstance(obj, dict):
|
|
137
129
|
return cls.model_validate(obj)
|
|
138
130
|
|
|
139
|
-
_obj = cls.model_validate(
|
|
140
|
-
"name": obj.get("name"),
|
|
141
|
-
"base_url": obj.get("base_url"),
|
|
142
|
-
"api_root": obj.get("api_root"),
|
|
143
|
-
"domain": obj.get("domain"),
|
|
144
|
-
"ca_cert": obj.get("ca_cert"),
|
|
145
|
-
"client_cert": obj.get("client_cert"),
|
|
146
|
-
"client_key": obj.get("client_key"),
|
|
147
|
-
"tls_validation": obj.get("tls_validation"),
|
|
148
|
-
"username": obj.get("username"),
|
|
149
|
-
"password": obj.get("password"),
|
|
150
|
-
"q_select": obj.get("q_select"),
|
|
151
|
-
"policy": obj.get("policy")
|
|
152
|
-
})
|
|
131
|
+
_obj = cls.model_validate(obj)
|
|
153
132
|
return _obj
|
|
154
133
|
|
|
155
134
|
|
|
@@ -26,14 +26,6 @@ from pulpcore.client.pulpcore.models.policy357_enum import Policy357Enum
|
|
|
26
26
|
from typing import Optional, Set
|
|
27
27
|
from typing_extensions import Self
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
class OneOf:
|
|
31
|
-
@staticmethod
|
|
32
|
-
def from_dict(obj, *args, **kwargs):
|
|
33
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
34
|
-
return obj
|
|
35
|
-
|
|
36
|
-
|
|
37
29
|
class UpstreamPulpResponse(BaseModel):
|
|
38
30
|
"""
|
|
39
31
|
Serializer for a Server.
|
|
@@ -142,23 +134,7 @@ class UpstreamPulpResponse(BaseModel):
|
|
|
142
134
|
if not isinstance(obj, dict):
|
|
143
135
|
return cls.model_validate(obj)
|
|
144
136
|
|
|
145
|
-
_obj = cls.model_validate(
|
|
146
|
-
"pulp_href": obj.get("pulp_href"),
|
|
147
|
-
"prn": obj.get("prn"),
|
|
148
|
-
"pulp_created": obj.get("pulp_created"),
|
|
149
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
150
|
-
"name": obj.get("name"),
|
|
151
|
-
"base_url": obj.get("base_url"),
|
|
152
|
-
"api_root": obj.get("api_root"),
|
|
153
|
-
"domain": obj.get("domain"),
|
|
154
|
-
"ca_cert": obj.get("ca_cert"),
|
|
155
|
-
"client_cert": obj.get("client_cert"),
|
|
156
|
-
"tls_validation": obj.get("tls_validation"),
|
|
157
|
-
"hidden_fields": [GenericRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None,
|
|
158
|
-
"q_select": obj.get("q_select"),
|
|
159
|
-
"last_replication": obj.get("last_replication"),
|
|
160
|
-
"policy": obj.get("policy")
|
|
161
|
-
})
|
|
137
|
+
_obj = cls.model_validate(obj)
|
|
162
138
|
return _obj
|
|
163
139
|
|
|
164
140
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class User(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for User.
|
|
@@ -100,15 +92,7 @@ class User(BaseModel):
|
|
|
100
92
|
if not isinstance(obj, dict):
|
|
101
93
|
return cls.model_validate(obj)
|
|
102
94
|
|
|
103
|
-
_obj = cls.model_validate(
|
|
104
|
-
"username": obj.get("username"),
|
|
105
|
-
"password": obj.get("password"),
|
|
106
|
-
"first_name": obj.get("first_name"),
|
|
107
|
-
"last_name": obj.get("last_name"),
|
|
108
|
-
"email": obj.get("email"),
|
|
109
|
-
"is_staff": obj.get("is_staff") if obj.get("is_staff") is not None else False,
|
|
110
|
-
"is_active": obj.get("is_active") if obj.get("is_active") is not None else True
|
|
111
|
-
})
|
|
95
|
+
_obj = cls.model_validate(obj)
|
|
112
96
|
return _obj
|
|
113
97
|
|
|
114
98
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UserGroup(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Groups that belong to an User.
|
|
@@ -89,9 +81,7 @@ class UserGroup(BaseModel):
|
|
|
89
81
|
if not isinstance(obj, dict):
|
|
90
82
|
return cls.model_validate(obj)
|
|
91
83
|
|
|
92
|
-
_obj = cls.model_validate(
|
|
93
|
-
"name": obj.get("name")
|
|
94
|
-
})
|
|
84
|
+
_obj = cls.model_validate(obj)
|
|
95
85
|
return _obj
|
|
96
86
|
|
|
97
87
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UserGroupResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Groups that belong to an User.
|
|
@@ -95,11 +87,7 @@ class UserGroupResponse(BaseModel):
|
|
|
95
87
|
if not isinstance(obj, dict):
|
|
96
88
|
return cls.model_validate(obj)
|
|
97
89
|
|
|
98
|
-
_obj = cls.model_validate(
|
|
99
|
-
"name": obj.get("name"),
|
|
100
|
-
"pulp_href": obj.get("pulp_href"),
|
|
101
|
-
"prn": obj.get("prn")
|
|
102
|
-
})
|
|
90
|
+
_obj = cls.model_validate(obj)
|
|
103
91
|
return _obj
|
|
104
92
|
|
|
105
93
|
|
|
@@ -27,14 +27,6 @@ from pulpcore.client.pulpcore.models.user_group_response import UserGroupRespons
|
|
|
27
27
|
from typing import Optional, Set
|
|
28
28
|
from typing_extensions import Self
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
class OneOf:
|
|
32
|
-
@staticmethod
|
|
33
|
-
def from_dict(obj, *args, **kwargs):
|
|
34
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
35
|
-
return obj
|
|
36
|
-
|
|
37
|
-
|
|
38
30
|
class UserResponse(BaseModel):
|
|
39
31
|
"""
|
|
40
32
|
Serializer for User.
|
|
@@ -125,20 +117,7 @@ class UserResponse(BaseModel):
|
|
|
125
117
|
if not isinstance(obj, dict):
|
|
126
118
|
return cls.model_validate(obj)
|
|
127
119
|
|
|
128
|
-
_obj = cls.model_validate(
|
|
129
|
-
"pulp_href": obj.get("pulp_href"),
|
|
130
|
-
"prn": obj.get("prn"),
|
|
131
|
-
"id": obj.get("id"),
|
|
132
|
-
"username": obj.get("username"),
|
|
133
|
-
"first_name": obj.get("first_name"),
|
|
134
|
-
"last_name": obj.get("last_name"),
|
|
135
|
-
"email": obj.get("email"),
|
|
136
|
-
"is_staff": obj.get("is_staff") if obj.get("is_staff") is not None else False,
|
|
137
|
-
"is_active": obj.get("is_active") if obj.get("is_active") is not None else True,
|
|
138
|
-
"date_joined": obj.get("date_joined"),
|
|
139
|
-
"groups": [UserGroupResponse.from_dict(_item) for _item in obj["groups"]] if obj.get("groups") is not None else None,
|
|
140
|
-
"hidden_fields": [GenericRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None
|
|
141
|
-
})
|
|
120
|
+
_obj = cls.model_validate(obj)
|
|
142
121
|
return _obj
|
|
143
122
|
|
|
144
123
|
|
|
@@ -24,14 +24,6 @@ from typing_extensions import Annotated
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UserRole(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for UserRole.
|
|
@@ -107,12 +99,7 @@ class UserRole(BaseModel):
|
|
|
107
99
|
if not isinstance(obj, dict):
|
|
108
100
|
return cls.model_validate(obj)
|
|
109
101
|
|
|
110
|
-
_obj = cls.model_validate(
|
|
111
|
-
"role": obj.get("role"),
|
|
112
|
-
"content_object": obj.get("content_object"),
|
|
113
|
-
"content_object_prn": obj.get("content_object_prn"),
|
|
114
|
-
"domain": obj.get("domain")
|
|
115
|
-
})
|
|
102
|
+
_obj = cls.model_validate(obj)
|
|
116
103
|
return _obj
|
|
117
104
|
|
|
118
105
|
|
|
@@ -24,14 +24,6 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class UserRoleResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for UserRole.
|
|
@@ -123,18 +115,7 @@ class UserRoleResponse(BaseModel):
|
|
|
123
115
|
if not isinstance(obj, dict):
|
|
124
116
|
return cls.model_validate(obj)
|
|
125
117
|
|
|
126
|
-
_obj = cls.model_validate(
|
|
127
|
-
"pulp_href": obj.get("pulp_href"),
|
|
128
|
-
"prn": obj.get("prn"),
|
|
129
|
-
"pulp_created": obj.get("pulp_created"),
|
|
130
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
131
|
-
"role": obj.get("role"),
|
|
132
|
-
"content_object": obj.get("content_object"),
|
|
133
|
-
"content_object_prn": obj.get("content_object_prn"),
|
|
134
|
-
"description": obj.get("description"),
|
|
135
|
-
"permissions": obj.get("permissions"),
|
|
136
|
-
"domain": obj.get("domain")
|
|
137
|
-
})
|
|
118
|
+
_obj = cls.model_validate(obj)
|
|
138
119
|
return _obj
|
|
139
120
|
|
|
140
121
|
|
|
@@ -23,14 +23,6 @@ from typing import Any, ClassVar, Dict, List
|
|
|
23
23
|
from typing import Optional, Set
|
|
24
24
|
from typing_extensions import Self
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
class OneOf:
|
|
28
|
-
@staticmethod
|
|
29
|
-
def from_dict(obj, *args, **kwargs):
|
|
30
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
31
|
-
return obj
|
|
32
|
-
|
|
33
|
-
|
|
34
26
|
class VersionResponse(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
Serializer for the version information of Pulp components
|
|
@@ -92,13 +84,7 @@ class VersionResponse(BaseModel):
|
|
|
92
84
|
if not isinstance(obj, dict):
|
|
93
85
|
return cls.model_validate(obj)
|
|
94
86
|
|
|
95
|
-
_obj = cls.model_validate(
|
|
96
|
-
"component": obj.get("component"),
|
|
97
|
-
"version": obj.get("version"),
|
|
98
|
-
"package": obj.get("package"),
|
|
99
|
-
"module": obj.get("module"),
|
|
100
|
-
"domain_compatible": obj.get("domain_compatible")
|
|
101
|
-
})
|
|
87
|
+
_obj = cls.model_validate(obj)
|
|
102
88
|
return _obj
|
|
103
89
|
|
|
104
90
|
|
|
@@ -24,14 +24,6 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class VulnerabilityReportResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
A serializer for the VulnerabilityReport Model.
|
|
@@ -110,15 +102,7 @@ class VulnerabilityReportResponse(BaseModel):
|
|
|
110
102
|
if not isinstance(obj, dict):
|
|
111
103
|
return cls.model_validate(obj)
|
|
112
104
|
|
|
113
|
-
_obj = cls.model_validate(
|
|
114
|
-
"pulp_href": obj.get("pulp_href"),
|
|
115
|
-
"prn": obj.get("prn"),
|
|
116
|
-
"pulp_created": obj.get("pulp_created"),
|
|
117
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
118
|
-
"vulns": obj.get("vulns"),
|
|
119
|
-
"repo_versions": obj.get("repo_versions"),
|
|
120
|
-
"content": obj.get("content")
|
|
121
|
-
})
|
|
105
|
+
_obj = cls.model_validate(obj)
|
|
122
106
|
return _obj
|
|
123
107
|
|
|
124
108
|
|
|
@@ -24,14 +24,6 @@ from typing import Any, ClassVar, Dict, List, Optional
|
|
|
24
24
|
from typing import Optional, Set
|
|
25
25
|
from typing_extensions import Self
|
|
26
26
|
|
|
27
|
-
|
|
28
|
-
class OneOf:
|
|
29
|
-
@staticmethod
|
|
30
|
-
def from_dict(obj, *args, **kwargs):
|
|
31
|
-
"""Noop override to fix missing OneOf import/implementation."""
|
|
32
|
-
return obj
|
|
33
|
-
|
|
34
|
-
|
|
35
27
|
class WorkerResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
|
|
@@ -112,16 +104,7 @@ class WorkerResponse(BaseModel):
|
|
|
112
104
|
if not isinstance(obj, dict):
|
|
113
105
|
return cls.model_validate(obj)
|
|
114
106
|
|
|
115
|
-
_obj = cls.model_validate(
|
|
116
|
-
"pulp_href": obj.get("pulp_href"),
|
|
117
|
-
"prn": obj.get("prn"),
|
|
118
|
-
"pulp_created": obj.get("pulp_created"),
|
|
119
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
120
|
-
"name": obj.get("name"),
|
|
121
|
-
"last_heartbeat": obj.get("last_heartbeat"),
|
|
122
|
-
"versions": obj.get("versions"),
|
|
123
|
-
"current_task": obj.get("current_task")
|
|
124
|
-
})
|
|
107
|
+
_obj = cls.model_validate(obj)
|
|
125
108
|
return _obj
|
|
126
109
|
|
|
127
110
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulpcore-client
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.89.1
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -22,7 +22,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
22
22
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
23
23
|
|
|
24
24
|
- API version: v3
|
|
25
|
-
- Package version: 3.
|
|
25
|
+
- Package version: 3.89.1
|
|
26
26
|
- Generator version: 7.14.0
|
|
27
27
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
28
28
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|