pulpcore-client 3.87.1__py3-none-any.whl → 3.89.0__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.

Files changed (176) hide show
  1. pulpcore/client/pulpcore/__init__.py +1 -1
  2. pulpcore/client/pulpcore/api/tasks_api.py +6 -6
  3. pulpcore/client/pulpcore/api_client.py +1 -1
  4. pulpcore/client/pulpcore/configuration.py +1 -1
  5. pulpcore/client/pulpcore/models/access_policy.py +1 -14
  6. pulpcore/client/pulpcore/models/access_policy_response.py +1 -20
  7. pulpcore/client/pulpcore/models/app_status_response.py +1 -13
  8. pulpcore/client/pulpcore/models/artifact_distribution_response.py +11 -31
  9. pulpcore/client/pulpcore/models/artifact_response.py +1 -22
  10. pulpcore/client/pulpcore/models/async_operation_response.py +1 -11
  11. pulpcore/client/pulpcore/models/composite_content_guard.py +1 -13
  12. pulpcore/client/pulpcore/models/composite_content_guard_response.py +1 -17
  13. pulpcore/client/pulpcore/models/content_guard_response.py +1 -16
  14. pulpcore/client/pulpcore/models/content_redirect_content_guard.py +1 -12
  15. pulpcore/client/pulpcore/models/content_redirect_content_guard_response.py +1 -16
  16. pulpcore/client/pulpcore/models/content_settings_response.py +1 -12
  17. pulpcore/client/pulpcore/models/content_summary_response.py +1 -13
  18. pulpcore/client/pulpcore/models/database_connection_response.py +1 -11
  19. pulpcore/client/pulpcore/models/distribution_response.py +1 -22
  20. pulpcore/client/pulpcore/models/domain.py +1 -17
  21. pulpcore/client/pulpcore/models/domain_backend_migrator.py +1 -12
  22. pulpcore/client/pulpcore/models/domain_response.py +1 -21
  23. pulpcore/client/pulpcore/models/evaluation_response.py +1 -13
  24. pulpcore/client/pulpcore/models/filesystem_export.py +1 -14
  25. pulpcore/client/pulpcore/models/filesystem_export_response.py +1 -17
  26. pulpcore/client/pulpcore/models/filesystem_exporter.py +1 -13
  27. pulpcore/client/pulpcore/models/filesystem_exporter_response.py +1 -17
  28. pulpcore/client/pulpcore/models/generic_remote_response.py +1 -31
  29. pulpcore/client/pulpcore/models/generic_remote_response_hidden_fields_inner.py +1 -12
  30. pulpcore/client/pulpcore/models/group.py +1 -11
  31. pulpcore/client/pulpcore/models/group_progress_report_response.py +1 -15
  32. pulpcore/client/pulpcore/models/group_response.py +1 -14
  33. pulpcore/client/pulpcore/models/group_role.py +1 -14
  34. pulpcore/client/pulpcore/models/group_role_response.py +1 -20
  35. pulpcore/client/pulpcore/models/group_user.py +1 -11
  36. pulpcore/client/pulpcore/models/group_user_response.py +1 -13
  37. pulpcore/client/pulpcore/models/header_content_guard.py +1 -15
  38. pulpcore/client/pulpcore/models/header_content_guard_response.py +1 -19
  39. pulpcore/client/pulpcore/models/import_response.py +1 -16
  40. pulpcore/client/pulpcore/models/login_response.py +1 -13
  41. pulpcore/client/pulpcore/models/minimal_task_response.py +1 -20
  42. pulpcore/client/pulpcore/models/multiple_artifact_content_response.py +1 -17
  43. pulpcore/client/pulpcore/models/my_permissions_response.py +1 -11
  44. pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey.py +1 -12
  45. pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey_response.py +1 -13
  46. pulpcore/client/pulpcore/models/nested_open_pgp_signature.py +1 -16
  47. pulpcore/client/pulpcore/models/nested_open_pgp_signature_response.py +1 -17
  48. pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute.py +1 -11
  49. pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute_response.py +1 -12
  50. pulpcore/client/pulpcore/models/nested_open_pgp_user_id.py +1 -11
  51. pulpcore/client/pulpcore/models/nested_open_pgp_user_id_response.py +1 -12
  52. pulpcore/client/pulpcore/models/nested_role.py +1 -13
  53. pulpcore/client/pulpcore/models/nested_role_response.py +1 -13
  54. pulpcore/client/pulpcore/models/object_roles_response.py +1 -11
  55. pulpcore/client/pulpcore/models/open_pgp_distribution.py +1 -17
  56. pulpcore/client/pulpcore/models/open_pgp_distribution_response.py +1 -23
  57. pulpcore/client/pulpcore/models/open_pgp_keyring.py +1 -15
  58. pulpcore/client/pulpcore/models/open_pgp_keyring_response.py +1 -21
  59. pulpcore/client/pulpcore/models/open_pgp_public_key_response.py +1 -21
  60. pulpcore/client/pulpcore/models/open_pgp_public_subkey_response.py +1 -20
  61. pulpcore/client/pulpcore/models/open_pgp_signature_response.py +1 -24
  62. pulpcore/client/pulpcore/models/open_pgp_user_attribute_response.py +1 -19
  63. pulpcore/client/pulpcore/models/open_pgp_user_id_response.py +1 -19
  64. pulpcore/client/pulpcore/models/orphans_cleanup.py +1 -12
  65. pulpcore/client/pulpcore/models/paginated_access_policy_response_list.py +1 -14
  66. pulpcore/client/pulpcore/models/paginated_artifact_distribution_response_list.py +1 -14
  67. pulpcore/client/pulpcore/models/paginated_artifact_response_list.py +1 -14
  68. pulpcore/client/pulpcore/models/paginated_composite_content_guard_response_list.py +1 -14
  69. pulpcore/client/pulpcore/models/paginated_content_guard_response_list.py +1 -14
  70. pulpcore/client/pulpcore/models/paginated_content_redirect_content_guard_response_list.py +1 -14
  71. pulpcore/client/pulpcore/models/paginated_distribution_response_list.py +1 -14
  72. pulpcore/client/pulpcore/models/paginated_domain_response_list.py +1 -14
  73. pulpcore/client/pulpcore/models/paginated_filesystem_export_response_list.py +1 -14
  74. pulpcore/client/pulpcore/models/paginated_filesystem_exporter_response_list.py +1 -14
  75. pulpcore/client/pulpcore/models/paginated_generic_remote_response_list.py +1 -14
  76. pulpcore/client/pulpcore/models/paginated_group_response_list.py +1 -14
  77. pulpcore/client/pulpcore/models/paginated_group_role_response_list.py +1 -14
  78. pulpcore/client/pulpcore/models/paginated_group_user_response_list.py +1 -14
  79. pulpcore/client/pulpcore/models/paginated_header_content_guard_response_list.py +1 -14
  80. pulpcore/client/pulpcore/models/paginated_import_response_list.py +1 -14
  81. pulpcore/client/pulpcore/models/paginated_multiple_artifact_content_response_list.py +1 -14
  82. pulpcore/client/pulpcore/models/paginated_open_pgp_distribution_response_list.py +1 -14
  83. pulpcore/client/pulpcore/models/paginated_open_pgp_keyring_response_list.py +1 -14
  84. pulpcore/client/pulpcore/models/paginated_open_pgp_public_key_response_list.py +1 -14
  85. pulpcore/client/pulpcore/models/paginated_open_pgp_public_subkey_response_list.py +1 -14
  86. pulpcore/client/pulpcore/models/paginated_open_pgp_signature_response_list.py +1 -14
  87. pulpcore/client/pulpcore/models/paginated_open_pgp_user_attribute_response_list.py +1 -14
  88. pulpcore/client/pulpcore/models/paginated_open_pgp_user_id_response_list.py +1 -14
  89. pulpcore/client/pulpcore/models/paginated_publication_response_list.py +1 -14
  90. pulpcore/client/pulpcore/models/paginated_pulp_export_response_list.py +1 -14
  91. pulpcore/client/pulpcore/models/paginated_pulp_exporter_response_list.py +1 -14
  92. pulpcore/client/pulpcore/models/paginated_pulp_importer_response_list.py +1 -14
  93. pulpcore/client/pulpcore/models/paginated_rbac_content_guard_response_list.py +1 -14
  94. pulpcore/client/pulpcore/models/paginated_repository_response_list.py +1 -14
  95. pulpcore/client/pulpcore/models/paginated_repository_version_response_list.py +1 -14
  96. pulpcore/client/pulpcore/models/paginated_role_response_list.py +1 -14
  97. pulpcore/client/pulpcore/models/paginated_signing_service_response_list.py +1 -14
  98. pulpcore/client/pulpcore/models/paginated_task_group_response_list.py +1 -14
  99. pulpcore/client/pulpcore/models/paginated_task_response_list.py +1 -14
  100. pulpcore/client/pulpcore/models/paginated_task_schedule_response_list.py +1 -14
  101. pulpcore/client/pulpcore/models/paginated_upload_response_list.py +1 -14
  102. pulpcore/client/pulpcore/models/paginated_upstream_pulp_response_list.py +1 -14
  103. pulpcore/client/pulpcore/models/paginated_user_response_list.py +1 -14
  104. pulpcore/client/pulpcore/models/paginated_user_role_response_list.py +1 -14
  105. pulpcore/client/pulpcore/models/paginated_vulnerability_report_response_list.py +1 -14
  106. pulpcore/client/pulpcore/models/paginated_worker_response_list.py +1 -14
  107. pulpcore/client/pulpcore/models/patched_access_policy.py +1 -14
  108. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +1 -13
  109. pulpcore/client/pulpcore/models/patched_content_redirect_content_guard.py +1 -12
  110. pulpcore/client/pulpcore/models/patched_domain.py +1 -17
  111. pulpcore/client/pulpcore/models/patched_filesystem_exporter.py +1 -13
  112. pulpcore/client/pulpcore/models/patched_group.py +1 -11
  113. pulpcore/client/pulpcore/models/patched_header_content_guard.py +1 -15
  114. pulpcore/client/pulpcore/models/patched_open_pgp_distribution.py +1 -17
  115. pulpcore/client/pulpcore/models/patched_open_pgp_keyring.py +1 -15
  116. pulpcore/client/pulpcore/models/patched_pulp_exporter.py +1 -14
  117. pulpcore/client/pulpcore/models/patched_pulp_importer.py +1 -12
  118. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +1 -12
  119. pulpcore/client/pulpcore/models/patched_role.py +1 -13
  120. pulpcore/client/pulpcore/models/patched_task_cancel.py +1 -11
  121. pulpcore/client/pulpcore/models/patched_upstream_pulp.py +1 -22
  122. pulpcore/client/pulpcore/models/patched_user.py +1 -17
  123. pulpcore/client/pulpcore/models/profile_artifact_response.py +1 -11
  124. pulpcore/client/pulpcore/models/progress_report_response.py +1 -16
  125. pulpcore/client/pulpcore/models/publication_response.py +1 -16
  126. pulpcore/client/pulpcore/models/pulp_export.py +1 -16
  127. pulpcore/client/pulpcore/models/pulp_export_response.py +1 -19
  128. pulpcore/client/pulpcore/models/pulp_exporter.py +1 -14
  129. pulpcore/client/pulpcore/models/pulp_exporter_response.py +1 -18
  130. pulpcore/client/pulpcore/models/pulp_import.py +1 -13
  131. pulpcore/client/pulpcore/models/pulp_import_check.py +1 -13
  132. pulpcore/client/pulpcore/models/pulp_import_check_response.py +1 -13
  133. pulpcore/client/pulpcore/models/pulp_importer.py +1 -12
  134. pulpcore/client/pulpcore/models/pulp_importer_response.py +1 -16
  135. pulpcore/client/pulpcore/models/purge.py +1 -12
  136. pulpcore/client/pulpcore/models/rbac_content_guard.py +1 -12
  137. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +1 -18
  138. pulpcore/client/pulpcore/models/reclaim_space.py +1 -12
  139. pulpcore/client/pulpcore/models/redis_connection_response.py +1 -11
  140. pulpcore/client/pulpcore/models/repair.py +1 -11
  141. pulpcore/client/pulpcore/models/repository_add_remove_content.py +1 -13
  142. pulpcore/client/pulpcore/models/repository_response.py +1 -21
  143. pulpcore/client/pulpcore/models/repository_version_response.py +1 -19
  144. pulpcore/client/pulpcore/models/role.py +1 -13
  145. pulpcore/client/pulpcore/models/role_response.py +1 -18
  146. pulpcore/client/pulpcore/models/set_label.py +1 -12
  147. pulpcore/client/pulpcore/models/set_label_response.py +1 -12
  148. pulpcore/client/pulpcore/models/signing_service_response.py +1 -18
  149. pulpcore/client/pulpcore/models/status_response.py +1 -19
  150. pulpcore/client/pulpcore/models/storage_response.py +1 -13
  151. pulpcore/client/pulpcore/models/task_group_operation_response.py +1 -11
  152. pulpcore/client/pulpcore/models/task_group_response.py +1 -23
  153. pulpcore/client/pulpcore/models/task_response.py +8 -30
  154. pulpcore/client/pulpcore/models/task_schedule_response.py +1 -19
  155. pulpcore/client/pulpcore/models/unset_label.py +1 -11
  156. pulpcore/client/pulpcore/models/unset_label_response.py +1 -12
  157. pulpcore/client/pulpcore/models/upload.py +1 -11
  158. pulpcore/client/pulpcore/models/upload_chunk_response.py +1 -12
  159. pulpcore/client/pulpcore/models/upload_commit.py +1 -11
  160. pulpcore/client/pulpcore/models/upload_detail_response.py +1 -17
  161. pulpcore/client/pulpcore/models/upload_response.py +1 -16
  162. pulpcore/client/pulpcore/models/upstream_pulp.py +1 -22
  163. pulpcore/client/pulpcore/models/upstream_pulp_response.py +1 -25
  164. pulpcore/client/pulpcore/models/user.py +1 -17
  165. pulpcore/client/pulpcore/models/user_group.py +1 -11
  166. pulpcore/client/pulpcore/models/user_group_response.py +1 -13
  167. pulpcore/client/pulpcore/models/user_response.py +1 -22
  168. pulpcore/client/pulpcore/models/user_role.py +1 -14
  169. pulpcore/client/pulpcore/models/user_role_response.py +1 -20
  170. pulpcore/client/pulpcore/models/version_response.py +1 -15
  171. pulpcore/client/pulpcore/models/vulnerability_report_response.py +1 -17
  172. pulpcore/client/pulpcore/models/worker_response.py +1 -18
  173. {pulpcore_client-3.87.1.dist-info → pulpcore_client-3.89.0.dist-info}/METADATA +2 -2
  174. {pulpcore_client-3.87.1.dist-info → pulpcore_client-3.89.0.dist-info}/RECORD +176 -176
  175. {pulpcore_client-3.87.1.dist-info → pulpcore_client-3.89.0.dist-info}/WHEEL +0 -0
  176. {pulpcore_client-3.87.1.dist-info → pulpcore_client-3.89.0.dist-info}/top_level.txt +0 -0
@@ -25,14 +25,6 @@ from pulpcore.client.pulpcore.models.nested_open_pgp_signature_response import N
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 OpenPGPUserIDResponse(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.
@@ -117,17 +109,7 @@ class OpenPGPUserIDResponse(BaseModel):
117
109
  if not isinstance(obj, dict):
118
110
  return cls.model_validate(obj)
119
111
 
120
- _obj = cls.model_validate({
121
- "pulp_href": obj.get("pulp_href"),
122
- "prn": obj.get("prn"),
123
- "pulp_created": obj.get("pulp_created"),
124
- "pulp_last_updated": obj.get("pulp_last_updated"),
125
- "pulp_labels": obj.get("pulp_labels"),
126
- "vuln_report": obj.get("vuln_report"),
127
- "user_id": obj.get("user_id"),
128
- "signatures": [NestedOpenPGPSignatureResponse.from_dict(_item) for _item in obj["signatures"]] if obj.get("signatures") is not None else None,
129
- "public_key": obj.get("public_key")
130
- })
112
+ _obj = cls.model_validate(obj)
131
113
  return _obj
132
114
 
133
115
 
@@ -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 OrphansCleanup(BaseModel):
35
27
  """
36
28
  OrphansCleanup
@@ -94,10 +86,7 @@ class OrphansCleanup(BaseModel):
94
86
  if not isinstance(obj, dict):
95
87
  return cls.model_validate(obj)
96
88
 
97
- _obj = cls.model_validate({
98
- "content_hrefs": obj.get("content_hrefs"),
99
- "orphan_protection_time": obj.get("orphan_protection_time")
100
- })
89
+ _obj = cls.model_validate(obj)
101
90
  return _obj
102
91
 
103
92
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.access_policy_response import AccessPolicyR
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 PaginatedAccessPolicyResponseList(BaseModel):
36
28
  """
37
29
  PaginatedAccessPolicyResponseList
@@ -99,12 +91,7 @@ class PaginatedAccessPolicyResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [AccessPolicyResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.artifact_distribution_response import Artif
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 PaginatedArtifactDistributionResponseList(BaseModel):
36
28
  """
37
29
  PaginatedArtifactDistributionResponseList
@@ -99,12 +91,7 @@ class PaginatedArtifactDistributionResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [ArtifactDistributionResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.artifact_response import ArtifactResponse
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 PaginatedArtifactResponseList(BaseModel):
36
28
  """
37
29
  PaginatedArtifactResponseList
@@ -99,12 +91,7 @@ class PaginatedArtifactResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [ArtifactResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.composite_content_guard_response import Com
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 PaginatedCompositeContentGuardResponseList(BaseModel):
36
28
  """
37
29
  PaginatedCompositeContentGuardResponseList
@@ -99,12 +91,7 @@ class PaginatedCompositeContentGuardResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [CompositeContentGuardResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.content_guard_response import ContentGuardR
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 PaginatedContentGuardResponseList(BaseModel):
36
28
  """
37
29
  PaginatedContentGuardResponseList
@@ -99,12 +91,7 @@ class PaginatedContentGuardResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [ContentGuardResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.content_redirect_content_guard_response imp
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 PaginatedContentRedirectContentGuardResponseList(BaseModel):
36
28
  """
37
29
  PaginatedContentRedirectContentGuardResponseList
@@ -99,12 +91,7 @@ class PaginatedContentRedirectContentGuardResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [ContentRedirectContentGuardResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.distribution_response import DistributionRe
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 PaginatedDistributionResponseList(BaseModel):
36
28
  """
37
29
  PaginatedDistributionResponseList
@@ -99,12 +91,7 @@ class PaginatedDistributionResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [DistributionResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.domain_response import DomainResponse
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 PaginatedDomainResponseList(BaseModel):
36
28
  """
37
29
  PaginatedDomainResponseList
@@ -99,12 +91,7 @@ class PaginatedDomainResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [DomainResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.filesystem_export_response import Filesyste
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 PaginatedFilesystemExportResponseList(BaseModel):
36
28
  """
37
29
  PaginatedFilesystemExportResponseList
@@ -99,12 +91,7 @@ class PaginatedFilesystemExportResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [FilesystemExportResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.filesystem_exporter_response import Filesys
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 PaginatedFilesystemExporterResponseList(BaseModel):
36
28
  """
37
29
  PaginatedFilesystemExporterResponseList
@@ -99,12 +91,7 @@ class PaginatedFilesystemExporterResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [FilesystemExporterResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.generic_remote_response import GenericRemot
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 PaginatedGenericRemoteResponseList(BaseModel):
36
28
  """
37
29
  PaginatedGenericRemoteResponseList
@@ -99,12 +91,7 @@ class PaginatedGenericRemoteResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [GenericRemoteResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.group_response import GroupResponse
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 PaginatedGroupResponseList(BaseModel):
36
28
  """
37
29
  PaginatedGroupResponseList
@@ -99,12 +91,7 @@ class PaginatedGroupResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [GroupResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.group_role_response import GroupRoleRespons
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 PaginatedGroupRoleResponseList(BaseModel):
36
28
  """
37
29
  PaginatedGroupRoleResponseList
@@ -99,12 +91,7 @@ class PaginatedGroupRoleResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [GroupRoleResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.group_user_response import GroupUserRespons
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 PaginatedGroupUserResponseList(BaseModel):
36
28
  """
37
29
  PaginatedGroupUserResponseList
@@ -99,12 +91,7 @@ class PaginatedGroupUserResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [GroupUserResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.header_content_guard_response import Header
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 PaginatedHeaderContentGuardResponseList(BaseModel):
36
28
  """
37
29
  PaginatedHeaderContentGuardResponseList
@@ -99,12 +91,7 @@ class PaginatedHeaderContentGuardResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [HeaderContentGuardResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.import_response import ImportResponse
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 PaginatedImportResponseList(BaseModel):
36
28
  """
37
29
  PaginatedImportResponseList
@@ -99,12 +91,7 @@ class PaginatedImportResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [ImportResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.multiple_artifact_content_response import M
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 PaginatedMultipleArtifactContentResponseList(BaseModel):
36
28
  """
37
29
  PaginatedMultipleArtifactContentResponseList
@@ -99,12 +91,7 @@ class PaginatedMultipleArtifactContentResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [MultipleArtifactContentResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.open_pgp_distribution_response import OpenP
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 PaginatedOpenPGPDistributionResponseList(BaseModel):
36
28
  """
37
29
  PaginatedOpenPGPDistributionResponseList
@@ -99,12 +91,7 @@ class PaginatedOpenPGPDistributionResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [OpenPGPDistributionResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.open_pgp_keyring_response import OpenPGPKey
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 PaginatedOpenPGPKeyringResponseList(BaseModel):
36
28
  """
37
29
  PaginatedOpenPGPKeyringResponseList
@@ -99,12 +91,7 @@ class PaginatedOpenPGPKeyringResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [OpenPGPKeyringResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97
 
@@ -24,14 +24,6 @@ from pulpcore.client.pulpcore.models.open_pgp_public_key_response import OpenPGP
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 PaginatedOpenPGPPublicKeyResponseList(BaseModel):
36
28
  """
37
29
  PaginatedOpenPGPPublicKeyResponseList
@@ -99,12 +91,7 @@ class PaginatedOpenPGPPublicKeyResponseList(BaseModel):
99
91
  if not isinstance(obj, dict):
100
92
  return cls.model_validate(obj)
101
93
 
102
- _obj = cls.model_validate({
103
- "count": obj.get("count"),
104
- "next": obj.get("next"),
105
- "previous": obj.get("previous"),
106
- "results": [OpenPGPPublicKeyResponse.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None
107
- })
94
+ _obj = cls.model_validate(obj)
108
95
  return _obj
109
96
 
110
97