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
|
@@ -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 FilesystemExport(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
Serializer for FilesystemExports.
|
|
@@ -96,12 +88,7 @@ class FilesystemExport(BaseModel):
|
|
|
96
88
|
if not isinstance(obj, dict):
|
|
97
89
|
return cls.model_validate(obj)
|
|
98
90
|
|
|
99
|
-
_obj = cls.model_validate(
|
|
100
|
-
"task": obj.get("task"),
|
|
101
|
-
"publication": obj.get("publication"),
|
|
102
|
-
"repository_version": obj.get("repository_version"),
|
|
103
|
-
"start_repository_version": obj.get("start_repository_version")
|
|
104
|
-
})
|
|
91
|
+
_obj = cls.model_validate(obj)
|
|
105
92
|
return _obj
|
|
106
93
|
|
|
107
94
|
|
|
@@ -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 FilesystemExportResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for FilesystemExports.
|
|
@@ -110,15 +102,7 @@ class FilesystemExportResponse(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
|
-
"task": obj.get("task"),
|
|
119
|
-
"exported_resources": obj.get("exported_resources"),
|
|
120
|
-
"params": obj.get("params")
|
|
121
|
-
})
|
|
105
|
+
_obj = cls.model_validate(obj)
|
|
122
106
|
return _obj
|
|
123
107
|
|
|
124
108
|
|
|
@@ -25,14 +25,6 @@ from pulpcore.client.pulpcore.models.method_enum import MethodEnum
|
|
|
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 FilesystemExporter(BaseModel):
|
|
37
29
|
"""
|
|
38
30
|
Serializer for FilesystemExporters.
|
|
@@ -92,11 +84,7 @@ class FilesystemExporter(BaseModel):
|
|
|
92
84
|
if not isinstance(obj, dict):
|
|
93
85
|
return cls.model_validate(obj)
|
|
94
86
|
|
|
95
|
-
_obj = cls.model_validate(
|
|
96
|
-
"name": obj.get("name"),
|
|
97
|
-
"path": obj.get("path"),
|
|
98
|
-
"method": obj.get("method")
|
|
99
|
-
})
|
|
87
|
+
_obj = cls.model_validate(obj)
|
|
100
88
|
return _obj
|
|
101
89
|
|
|
102
90
|
|
|
@@ -25,14 +25,6 @@ from pulpcore.client.pulpcore.models.method_enum import MethodEnum
|
|
|
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 FilesystemExporterResponse(BaseModel):
|
|
37
29
|
"""
|
|
38
30
|
Serializer for FilesystemExporters.
|
|
@@ -104,15 +96,7 @@ class FilesystemExporterResponse(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
|
-
"name": obj.get("name"),
|
|
113
|
-
"path": obj.get("path"),
|
|
114
|
-
"method": obj.get("method")
|
|
115
|
-
})
|
|
99
|
+
_obj = cls.model_validate(obj)
|
|
116
100
|
return _obj
|
|
117
101
|
|
|
118
102
|
|
|
@@ -27,14 +27,6 @@ from pulpcore.client.pulpcore.models.generic_remote_response_policy_enum import
|
|
|
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 GenericRemoteResponse(BaseModel):
|
|
39
31
|
"""
|
|
40
32
|
Every remote defined by a plugin should have a Remote serializer that inherits from this class. Please import from `pulpcore.plugin.serializers` rather than from this module directly.
|
|
@@ -177,29 +169,7 @@ class GenericRemoteResponse(BaseModel):
|
|
|
177
169
|
if not isinstance(obj, dict):
|
|
178
170
|
return cls.model_validate(obj)
|
|
179
171
|
|
|
180
|
-
_obj = cls.model_validate(
|
|
181
|
-
"pulp_href": obj.get("pulp_href"),
|
|
182
|
-
"prn": obj.get("prn"),
|
|
183
|
-
"pulp_created": obj.get("pulp_created"),
|
|
184
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
185
|
-
"name": obj.get("name"),
|
|
186
|
-
"url": obj.get("url"),
|
|
187
|
-
"ca_cert": obj.get("ca_cert"),
|
|
188
|
-
"client_cert": obj.get("client_cert"),
|
|
189
|
-
"tls_validation": obj.get("tls_validation"),
|
|
190
|
-
"proxy_url": obj.get("proxy_url"),
|
|
191
|
-
"pulp_labels": obj.get("pulp_labels"),
|
|
192
|
-
"download_concurrency": obj.get("download_concurrency"),
|
|
193
|
-
"max_retries": obj.get("max_retries"),
|
|
194
|
-
"policy": obj.get("policy"),
|
|
195
|
-
"total_timeout": obj.get("total_timeout"),
|
|
196
|
-
"connect_timeout": obj.get("connect_timeout"),
|
|
197
|
-
"sock_connect_timeout": obj.get("sock_connect_timeout"),
|
|
198
|
-
"sock_read_timeout": obj.get("sock_read_timeout"),
|
|
199
|
-
"headers": obj.get("headers"),
|
|
200
|
-
"rate_limit": obj.get("rate_limit"),
|
|
201
|
-
"hidden_fields": [GenericRemoteResponseHiddenFieldsInner.from_dict(_item) for _item in obj["hidden_fields"]] if obj.get("hidden_fields") is not None else None
|
|
202
|
-
})
|
|
172
|
+
_obj = cls.model_validate(obj)
|
|
203
173
|
return _obj
|
|
204
174
|
|
|
205
175
|
|
|
@@ -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 GenericRemoteResponseHiddenFieldsInner(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
GenericRemoteResponseHiddenFieldsInner
|
|
@@ -89,10 +81,7 @@ class GenericRemoteResponseHiddenFieldsInner(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
|
-
"is_set": obj.get("is_set")
|
|
95
|
-
})
|
|
84
|
+
_obj = cls.model_validate(obj)
|
|
96
85
|
return _obj
|
|
97
86
|
|
|
98
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 Group(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Group.
|
|
@@ -89,9 +81,7 @@ class Group(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
|
|
|
@@ -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 GroupProgressReportResponse(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
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.
|
|
@@ -107,13 +99,7 @@ class GroupProgressReportResponse(BaseModel):
|
|
|
107
99
|
if not isinstance(obj, dict):
|
|
108
100
|
return cls.model_validate(obj)
|
|
109
101
|
|
|
110
|
-
_obj = cls.model_validate(
|
|
111
|
-
"message": obj.get("message"),
|
|
112
|
-
"code": obj.get("code"),
|
|
113
|
-
"total": obj.get("total"),
|
|
114
|
-
"done": obj.get("done"),
|
|
115
|
-
"suffix": obj.get("suffix")
|
|
116
|
-
})
|
|
102
|
+
_obj = cls.model_validate(obj)
|
|
117
103
|
return _obj
|
|
118
104
|
|
|
119
105
|
|
|
@@ -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 GroupResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Group.
|
|
@@ -98,12 +90,7 @@ class GroupResponse(BaseModel):
|
|
|
98
90
|
if not isinstance(obj, dict):
|
|
99
91
|
return cls.model_validate(obj)
|
|
100
92
|
|
|
101
|
-
_obj = cls.model_validate(
|
|
102
|
-
"name": obj.get("name"),
|
|
103
|
-
"pulp_href": obj.get("pulp_href"),
|
|
104
|
-
"prn": obj.get("prn"),
|
|
105
|
-
"id": obj.get("id")
|
|
106
|
-
})
|
|
93
|
+
_obj = cls.model_validate(obj)
|
|
107
94
|
return _obj
|
|
108
95
|
|
|
109
96
|
|
|
@@ -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 GroupRole(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for GroupRole.
|
|
@@ -107,12 +99,7 @@ class GroupRole(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 GroupRoleResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for GroupRole.
|
|
@@ -123,18 +115,7 @@ class GroupRoleResponse(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
|
|
|
@@ -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 GroupUser(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Users that belong to a Group.
|
|
@@ -89,9 +81,7 @@ class GroupUser(BaseModel):
|
|
|
89
81
|
if not isinstance(obj, dict):
|
|
90
82
|
return cls.model_validate(obj)
|
|
91
83
|
|
|
92
|
-
_obj = cls.model_validate(
|
|
93
|
-
"username": obj.get("username")
|
|
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 GroupUserResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Users that belong to a Group.
|
|
@@ -95,11 +87,7 @@ class GroupUserResponse(BaseModel):
|
|
|
95
87
|
if not isinstance(obj, dict):
|
|
96
88
|
return cls.model_validate(obj)
|
|
97
89
|
|
|
98
|
-
_obj = cls.model_validate(
|
|
99
|
-
"username": obj.get("username"),
|
|
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
|
|
|
@@ -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 HeaderContentGuard(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
A serializer for HeaderContentGuard.
|
|
@@ -103,13 +95,7 @@ class HeaderContentGuard(BaseModel):
|
|
|
103
95
|
if not isinstance(obj, dict):
|
|
104
96
|
return cls.model_validate(obj)
|
|
105
97
|
|
|
106
|
-
_obj = cls.model_validate(
|
|
107
|
-
"name": obj.get("name"),
|
|
108
|
-
"description": obj.get("description"),
|
|
109
|
-
"header_name": obj.get("header_name"),
|
|
110
|
-
"header_value": obj.get("header_value"),
|
|
111
|
-
"jq_filter": obj.get("jq_filter")
|
|
112
|
-
})
|
|
98
|
+
_obj = cls.model_validate(obj)
|
|
113
99
|
return _obj
|
|
114
100
|
|
|
115
101
|
|
|
@@ -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 HeaderContentGuardResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
A serializer for HeaderContentGuard.
|
|
@@ -115,17 +107,7 @@ class HeaderContentGuardResponse(BaseModel):
|
|
|
115
107
|
if not isinstance(obj, dict):
|
|
116
108
|
return cls.model_validate(obj)
|
|
117
109
|
|
|
118
|
-
_obj = cls.model_validate(
|
|
119
|
-
"pulp_href": obj.get("pulp_href"),
|
|
120
|
-
"prn": obj.get("prn"),
|
|
121
|
-
"pulp_created": obj.get("pulp_created"),
|
|
122
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
123
|
-
"name": obj.get("name"),
|
|
124
|
-
"description": obj.get("description"),
|
|
125
|
-
"header_name": obj.get("header_name"),
|
|
126
|
-
"header_value": obj.get("header_value"),
|
|
127
|
-
"jq_filter": obj.get("jq_filter")
|
|
128
|
-
})
|
|
110
|
+
_obj = cls.model_validate(obj)
|
|
129
111
|
return _obj
|
|
130
112
|
|
|
131
113
|
|
|
@@ -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 ImportResponse(BaseModel):
|
|
36
28
|
"""
|
|
37
29
|
Serializer for Imports.
|
|
@@ -102,14 +94,7 @@ class ImportResponse(BaseModel):
|
|
|
102
94
|
if not isinstance(obj, dict):
|
|
103
95
|
return cls.model_validate(obj)
|
|
104
96
|
|
|
105
|
-
_obj = cls.model_validate(
|
|
106
|
-
"pulp_href": obj.get("pulp_href"),
|
|
107
|
-
"prn": obj.get("prn"),
|
|
108
|
-
"pulp_created": obj.get("pulp_created"),
|
|
109
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
110
|
-
"task": obj.get("task"),
|
|
111
|
-
"params": obj.get("params")
|
|
112
|
-
})
|
|
97
|
+
_obj = cls.model_validate(obj)
|
|
113
98
|
return _obj
|
|
114
99
|
|
|
115
100
|
|
|
@@ -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 LoginResponse(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
LoginResponse
|
|
@@ -96,11 +88,7 @@ class LoginResponse(BaseModel):
|
|
|
96
88
|
if not isinstance(obj, dict):
|
|
97
89
|
return cls.model_validate(obj)
|
|
98
90
|
|
|
99
|
-
_obj = cls.model_validate(
|
|
100
|
-
"pulp_href": obj.get("pulp_href"),
|
|
101
|
-
"prn": obj.get("prn"),
|
|
102
|
-
"username": obj.get("username")
|
|
103
|
-
})
|
|
91
|
+
_obj = cls.model_validate(obj)
|
|
104
92
|
return _obj
|
|
105
93
|
|
|
106
94
|
|
|
@@ -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 MinimalTaskResponse(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.
|
|
@@ -116,18 +108,7 @@ class MinimalTaskResponse(BaseModel):
|
|
|
116
108
|
if not isinstance(obj, dict):
|
|
117
109
|
return cls.model_validate(obj)
|
|
118
110
|
|
|
119
|
-
_obj = cls.model_validate(
|
|
120
|
-
"pulp_href": obj.get("pulp_href"),
|
|
121
|
-
"prn": obj.get("prn"),
|
|
122
|
-
"pulp_created": obj.get("pulp_created"),
|
|
123
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
124
|
-
"name": obj.get("name"),
|
|
125
|
-
"state": obj.get("state"),
|
|
126
|
-
"unblocked_at": obj.get("unblocked_at"),
|
|
127
|
-
"started_at": obj.get("started_at"),
|
|
128
|
-
"finished_at": obj.get("finished_at"),
|
|
129
|
-
"worker": obj.get("worker")
|
|
130
|
-
})
|
|
111
|
+
_obj = cls.model_validate(obj)
|
|
131
112
|
return _obj
|
|
132
113
|
|
|
133
114
|
|
|
@@ -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 MultipleArtifactContentResponse(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.
|
|
@@ -105,15 +97,7 @@ class MultipleArtifactContentResponse(BaseModel):
|
|
|
105
97
|
if not isinstance(obj, dict):
|
|
106
98
|
return cls.model_validate(obj)
|
|
107
99
|
|
|
108
|
-
_obj = cls.model_validate(
|
|
109
|
-
"pulp_href": obj.get("pulp_href"),
|
|
110
|
-
"prn": obj.get("prn"),
|
|
111
|
-
"pulp_created": obj.get("pulp_created"),
|
|
112
|
-
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
113
|
-
"pulp_labels": obj.get("pulp_labels"),
|
|
114
|
-
"vuln_report": obj.get("vuln_report"),
|
|
115
|
-
"artifacts": obj.get("artifacts")
|
|
116
|
-
})
|
|
100
|
+
_obj = cls.model_validate(obj)
|
|
117
101
|
return _obj
|
|
118
102
|
|
|
119
103
|
|
|
@@ -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 MyPermissionsResponse(BaseModel):
|
|
35
27
|
"""
|
|
36
28
|
MyPermissionsResponse
|
|
@@ -88,9 +80,7 @@ class MyPermissionsResponse(BaseModel):
|
|
|
88
80
|
if not isinstance(obj, dict):
|
|
89
81
|
return cls.model_validate(obj)
|
|
90
82
|
|
|
91
|
-
_obj = cls.model_validate(
|
|
92
|
-
"permissions": obj.get("permissions")
|
|
93
|
-
})
|
|
83
|
+
_obj = cls.model_validate(obj)
|
|
94
84
|
return _obj
|
|
95
85
|
|
|
96
86
|
|
|
@@ -25,14 +25,6 @@ from typing_extensions import Annotated
|
|
|
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 NestedOpenPGPPublicSubkey(BaseModel):
|
|
37
29
|
"""
|
|
38
30
|
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.
|
|
@@ -91,10 +83,7 @@ class NestedOpenPGPPublicSubkey(BaseModel):
|
|
|
91
83
|
if not isinstance(obj, dict):
|
|
92
84
|
return cls.model_validate(obj)
|
|
93
85
|
|
|
94
|
-
_obj = cls.model_validate(
|
|
95
|
-
"fingerprint": obj.get("fingerprint"),
|
|
96
|
-
"created": obj.get("created")
|
|
97
|
-
})
|
|
86
|
+
_obj = cls.model_validate(obj)
|
|
98
87
|
return _obj
|
|
99
88
|
|
|
100
89
|
|
|
@@ -26,14 +26,6 @@ from pulpcore.client.pulpcore.models.nested_open_pgp_signature_response import N
|
|
|
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 NestedOpenPGPPublicSubkeyResponse(BaseModel):
|
|
38
30
|
"""
|
|
39
31
|
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.
|
|
@@ -100,11 +92,7 @@ class NestedOpenPGPPublicSubkeyResponse(BaseModel):
|
|
|
100
92
|
if not isinstance(obj, dict):
|
|
101
93
|
return cls.model_validate(obj)
|
|
102
94
|
|
|
103
|
-
_obj = cls.model_validate(
|
|
104
|
-
"fingerprint": obj.get("fingerprint"),
|
|
105
|
-
"created": obj.get("created"),
|
|
106
|
-
"signatures": [NestedOpenPGPSignatureResponse.from_dict(_item) for _item in obj["signatures"]] if obj.get("signatures") is not None else None
|
|
107
|
-
})
|
|
95
|
+
_obj = cls.model_validate(obj)
|
|
108
96
|
return _obj
|
|
109
97
|
|
|
110
98
|
|