pulpcore-client 3.85.0__py3-none-any.whl → 3.86.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 (179) hide show
  1. pulpcore/client/pulpcore/__init__.py +471 -234
  2. pulpcore/client/pulpcore/api_client.py +6 -2
  3. pulpcore/client/pulpcore/configuration.py +10 -3
  4. pulpcore/client/pulpcore/exceptions.py +17 -0
  5. pulpcore/client/pulpcore/models/access_policy.py +8 -0
  6. pulpcore/client/pulpcore/models/access_policy_response.py +8 -0
  7. pulpcore/client/pulpcore/models/api_app_status_response.py +8 -0
  8. pulpcore/client/pulpcore/models/artifact_distribution_response.py +27 -19
  9. pulpcore/client/pulpcore/models/artifact_response.py +8 -0
  10. pulpcore/client/pulpcore/models/async_operation_response.py +8 -0
  11. pulpcore/client/pulpcore/models/composite_content_guard.py +8 -0
  12. pulpcore/client/pulpcore/models/composite_content_guard_response.py +8 -0
  13. pulpcore/client/pulpcore/models/content_app_status_response.py +8 -0
  14. pulpcore/client/pulpcore/models/content_guard_response.py +8 -0
  15. pulpcore/client/pulpcore/models/content_redirect_content_guard.py +8 -0
  16. pulpcore/client/pulpcore/models/content_redirect_content_guard_response.py +8 -0
  17. pulpcore/client/pulpcore/models/content_settings_response.py +8 -0
  18. pulpcore/client/pulpcore/models/content_summary_response.py +8 -0
  19. pulpcore/client/pulpcore/models/database_connection_response.py +8 -0
  20. pulpcore/client/pulpcore/models/distribution_response.py +8 -0
  21. pulpcore/client/pulpcore/models/domain.py +8 -0
  22. pulpcore/client/pulpcore/models/domain_backend_migrator.py +8 -0
  23. pulpcore/client/pulpcore/models/domain_response.py +8 -0
  24. pulpcore/client/pulpcore/models/evaluation_response.py +8 -0
  25. pulpcore/client/pulpcore/models/filesystem_export.py +8 -0
  26. pulpcore/client/pulpcore/models/filesystem_export_response.py +8 -0
  27. pulpcore/client/pulpcore/models/filesystem_exporter.py +8 -0
  28. pulpcore/client/pulpcore/models/filesystem_exporter_response.py +8 -0
  29. pulpcore/client/pulpcore/models/generic_remote_response.py +8 -0
  30. pulpcore/client/pulpcore/models/generic_remote_response_hidden_fields_inner.py +8 -0
  31. pulpcore/client/pulpcore/models/group.py +8 -0
  32. pulpcore/client/pulpcore/models/group_progress_report_response.py +8 -0
  33. pulpcore/client/pulpcore/models/group_response.py +8 -0
  34. pulpcore/client/pulpcore/models/group_role.py +8 -0
  35. pulpcore/client/pulpcore/models/group_role_response.py +8 -0
  36. pulpcore/client/pulpcore/models/group_user.py +8 -0
  37. pulpcore/client/pulpcore/models/group_user_response.py +8 -0
  38. pulpcore/client/pulpcore/models/header_content_guard.py +8 -0
  39. pulpcore/client/pulpcore/models/header_content_guard_response.py +8 -0
  40. pulpcore/client/pulpcore/models/import_response.py +8 -0
  41. pulpcore/client/pulpcore/models/login_response.py +8 -0
  42. pulpcore/client/pulpcore/models/minimal_task_response.py +8 -0
  43. pulpcore/client/pulpcore/models/multiple_artifact_content_response.py +8 -0
  44. pulpcore/client/pulpcore/models/my_permissions_response.py +8 -0
  45. pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey.py +8 -0
  46. pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey_response.py +8 -0
  47. pulpcore/client/pulpcore/models/nested_open_pgp_signature.py +8 -0
  48. pulpcore/client/pulpcore/models/nested_open_pgp_signature_response.py +8 -0
  49. pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute.py +8 -0
  50. pulpcore/client/pulpcore/models/nested_open_pgp_user_attribute_response.py +8 -0
  51. pulpcore/client/pulpcore/models/nested_open_pgp_user_id.py +8 -0
  52. pulpcore/client/pulpcore/models/nested_open_pgp_user_id_response.py +8 -0
  53. pulpcore/client/pulpcore/models/nested_role.py +8 -0
  54. pulpcore/client/pulpcore/models/nested_role_response.py +8 -0
  55. pulpcore/client/pulpcore/models/object_roles_response.py +8 -0
  56. pulpcore/client/pulpcore/models/open_pgp_distribution.py +8 -0
  57. pulpcore/client/pulpcore/models/open_pgp_distribution_response.py +8 -0
  58. pulpcore/client/pulpcore/models/open_pgp_keyring.py +8 -0
  59. pulpcore/client/pulpcore/models/open_pgp_keyring_response.py +8 -0
  60. pulpcore/client/pulpcore/models/open_pgp_public_key_response.py +8 -0
  61. pulpcore/client/pulpcore/models/open_pgp_public_subkey_response.py +8 -0
  62. pulpcore/client/pulpcore/models/open_pgp_signature_response.py +8 -0
  63. pulpcore/client/pulpcore/models/open_pgp_user_attribute_response.py +8 -0
  64. pulpcore/client/pulpcore/models/open_pgp_user_id_response.py +8 -0
  65. pulpcore/client/pulpcore/models/orphans_cleanup.py +8 -0
  66. pulpcore/client/pulpcore/models/paginated_access_policy_response_list.py +8 -0
  67. pulpcore/client/pulpcore/models/paginated_artifact_distribution_response_list.py +8 -0
  68. pulpcore/client/pulpcore/models/paginated_artifact_response_list.py +8 -0
  69. pulpcore/client/pulpcore/models/paginated_composite_content_guard_response_list.py +8 -0
  70. pulpcore/client/pulpcore/models/paginated_content_guard_response_list.py +8 -0
  71. pulpcore/client/pulpcore/models/paginated_content_redirect_content_guard_response_list.py +8 -0
  72. pulpcore/client/pulpcore/models/paginated_distribution_response_list.py +8 -0
  73. pulpcore/client/pulpcore/models/paginated_domain_response_list.py +8 -0
  74. pulpcore/client/pulpcore/models/paginated_filesystem_export_response_list.py +8 -0
  75. pulpcore/client/pulpcore/models/paginated_filesystem_exporter_response_list.py +8 -0
  76. pulpcore/client/pulpcore/models/paginated_generic_remote_response_list.py +8 -0
  77. pulpcore/client/pulpcore/models/paginated_group_response_list.py +8 -0
  78. pulpcore/client/pulpcore/models/paginated_group_role_response_list.py +8 -0
  79. pulpcore/client/pulpcore/models/paginated_group_user_response_list.py +8 -0
  80. pulpcore/client/pulpcore/models/paginated_header_content_guard_response_list.py +8 -0
  81. pulpcore/client/pulpcore/models/paginated_import_response_list.py +8 -0
  82. pulpcore/client/pulpcore/models/paginated_multiple_artifact_content_response_list.py +8 -0
  83. pulpcore/client/pulpcore/models/paginated_open_pgp_distribution_response_list.py +8 -0
  84. pulpcore/client/pulpcore/models/paginated_open_pgp_keyring_response_list.py +8 -0
  85. pulpcore/client/pulpcore/models/paginated_open_pgp_public_key_response_list.py +8 -0
  86. pulpcore/client/pulpcore/models/paginated_open_pgp_public_subkey_response_list.py +8 -0
  87. pulpcore/client/pulpcore/models/paginated_open_pgp_signature_response_list.py +8 -0
  88. pulpcore/client/pulpcore/models/paginated_open_pgp_user_attribute_response_list.py +8 -0
  89. pulpcore/client/pulpcore/models/paginated_open_pgp_user_id_response_list.py +8 -0
  90. pulpcore/client/pulpcore/models/paginated_publication_response_list.py +8 -0
  91. pulpcore/client/pulpcore/models/paginated_pulp_export_response_list.py +8 -0
  92. pulpcore/client/pulpcore/models/paginated_pulp_exporter_response_list.py +8 -0
  93. pulpcore/client/pulpcore/models/paginated_pulp_importer_response_list.py +8 -0
  94. pulpcore/client/pulpcore/models/paginated_rbac_content_guard_response_list.py +8 -0
  95. pulpcore/client/pulpcore/models/paginated_repository_response_list.py +8 -0
  96. pulpcore/client/pulpcore/models/paginated_repository_version_response_list.py +8 -0
  97. pulpcore/client/pulpcore/models/paginated_role_response_list.py +8 -0
  98. pulpcore/client/pulpcore/models/paginated_signing_service_response_list.py +8 -0
  99. pulpcore/client/pulpcore/models/paginated_task_group_response_list.py +8 -0
  100. pulpcore/client/pulpcore/models/paginated_task_response_list.py +8 -0
  101. pulpcore/client/pulpcore/models/paginated_task_schedule_response_list.py +8 -0
  102. pulpcore/client/pulpcore/models/paginated_upload_response_list.py +8 -0
  103. pulpcore/client/pulpcore/models/paginated_upstream_pulp_response_list.py +8 -0
  104. pulpcore/client/pulpcore/models/paginated_user_response_list.py +8 -0
  105. pulpcore/client/pulpcore/models/paginated_user_role_response_list.py +8 -0
  106. pulpcore/client/pulpcore/models/paginated_vulnerability_report_response_list.py +8 -0
  107. pulpcore/client/pulpcore/models/paginated_worker_response_list.py +8 -0
  108. pulpcore/client/pulpcore/models/patched_access_policy.py +8 -0
  109. pulpcore/client/pulpcore/models/patched_composite_content_guard.py +8 -0
  110. pulpcore/client/pulpcore/models/patched_content_redirect_content_guard.py +8 -0
  111. pulpcore/client/pulpcore/models/patched_domain.py +8 -0
  112. pulpcore/client/pulpcore/models/patched_filesystem_exporter.py +8 -0
  113. pulpcore/client/pulpcore/models/patched_group.py +8 -0
  114. pulpcore/client/pulpcore/models/patched_header_content_guard.py +8 -0
  115. pulpcore/client/pulpcore/models/patched_open_pgp_distribution.py +8 -0
  116. pulpcore/client/pulpcore/models/patched_open_pgp_keyring.py +8 -0
  117. pulpcore/client/pulpcore/models/patched_pulp_exporter.py +8 -0
  118. pulpcore/client/pulpcore/models/patched_pulp_importer.py +8 -0
  119. pulpcore/client/pulpcore/models/patched_rbac_content_guard.py +8 -0
  120. pulpcore/client/pulpcore/models/patched_role.py +8 -0
  121. pulpcore/client/pulpcore/models/patched_task_cancel.py +8 -0
  122. pulpcore/client/pulpcore/models/patched_upstream_pulp.py +8 -0
  123. pulpcore/client/pulpcore/models/patched_user.py +8 -0
  124. pulpcore/client/pulpcore/models/profile_artifact_response.py +8 -0
  125. pulpcore/client/pulpcore/models/progress_report_response.py +8 -0
  126. pulpcore/client/pulpcore/models/publication_response.py +8 -0
  127. pulpcore/client/pulpcore/models/pulp_export.py +8 -0
  128. pulpcore/client/pulpcore/models/pulp_export_response.py +8 -0
  129. pulpcore/client/pulpcore/models/pulp_exporter.py +8 -0
  130. pulpcore/client/pulpcore/models/pulp_exporter_response.py +8 -0
  131. pulpcore/client/pulpcore/models/pulp_import.py +8 -0
  132. pulpcore/client/pulpcore/models/pulp_import_check.py +8 -0
  133. pulpcore/client/pulpcore/models/pulp_import_check_response.py +8 -0
  134. pulpcore/client/pulpcore/models/pulp_importer.py +8 -0
  135. pulpcore/client/pulpcore/models/pulp_importer_response.py +8 -0
  136. pulpcore/client/pulpcore/models/purge.py +8 -0
  137. pulpcore/client/pulpcore/models/rbac_content_guard.py +8 -0
  138. pulpcore/client/pulpcore/models/rbac_content_guard_response.py +8 -0
  139. pulpcore/client/pulpcore/models/reclaim_space.py +8 -0
  140. pulpcore/client/pulpcore/models/redis_connection_response.py +8 -0
  141. pulpcore/client/pulpcore/models/repair.py +8 -0
  142. pulpcore/client/pulpcore/models/repository_add_remove_content.py +8 -0
  143. pulpcore/client/pulpcore/models/repository_response.py +8 -0
  144. pulpcore/client/pulpcore/models/repository_version_response.py +8 -0
  145. pulpcore/client/pulpcore/models/role.py +8 -0
  146. pulpcore/client/pulpcore/models/role_response.py +8 -0
  147. pulpcore/client/pulpcore/models/set_label.py +8 -0
  148. pulpcore/client/pulpcore/models/set_label_response.py +8 -0
  149. pulpcore/client/pulpcore/models/signing_service_response.py +8 -0
  150. pulpcore/client/pulpcore/models/status_response.py +8 -0
  151. pulpcore/client/pulpcore/models/storage_response.py +8 -0
  152. pulpcore/client/pulpcore/models/task_group_operation_response.py +8 -0
  153. pulpcore/client/pulpcore/models/task_group_response.py +8 -0
  154. pulpcore/client/pulpcore/models/task_response.py +8 -0
  155. pulpcore/client/pulpcore/models/task_schedule_response.py +8 -0
  156. pulpcore/client/pulpcore/models/unset_label.py +8 -0
  157. pulpcore/client/pulpcore/models/unset_label_response.py +8 -0
  158. pulpcore/client/pulpcore/models/upload.py +8 -0
  159. pulpcore/client/pulpcore/models/upload_chunk_response.py +8 -0
  160. pulpcore/client/pulpcore/models/upload_commit.py +8 -0
  161. pulpcore/client/pulpcore/models/upload_detail_response.py +8 -0
  162. pulpcore/client/pulpcore/models/upload_response.py +8 -0
  163. pulpcore/client/pulpcore/models/upstream_pulp.py +8 -0
  164. pulpcore/client/pulpcore/models/upstream_pulp_response.py +8 -0
  165. pulpcore/client/pulpcore/models/user.py +8 -0
  166. pulpcore/client/pulpcore/models/user_group.py +8 -0
  167. pulpcore/client/pulpcore/models/user_group_response.py +8 -0
  168. pulpcore/client/pulpcore/models/user_response.py +8 -0
  169. pulpcore/client/pulpcore/models/user_role.py +8 -0
  170. pulpcore/client/pulpcore/models/user_role_response.py +8 -0
  171. pulpcore/client/pulpcore/models/version_response.py +8 -0
  172. pulpcore/client/pulpcore/models/vulnerability_report_response.py +8 -0
  173. pulpcore/client/pulpcore/models/worker_response.py +8 -0
  174. pulpcore/client/pulpcore/rest.py +1 -0
  175. pulpcore_client-3.86.0.dist-info/METADATA +573 -0
  176. {pulpcore_client-3.85.0.dist-info → pulpcore_client-3.86.0.dist-info}/RECORD +178 -178
  177. pulpcore_client-3.85.0.dist-info/METADATA +0 -17
  178. {pulpcore_client-3.85.0.dist-info → pulpcore_client-3.86.0.dist-info}/WHEEL +0 -0
  179. {pulpcore_client-3.85.0.dist-info → pulpcore_client-3.86.0.dist-info}/top_level.txt +0 -0
@@ -24,6 +24,14 @@ 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
+
27
35
  class GroupRole(BaseModel):
28
36
  """
29
37
  Serializer for GroupRole.
@@ -24,6 +24,14 @@ 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
+
27
35
  class GroupRoleResponse(BaseModel):
28
36
  """
29
37
  Serializer for GroupRole.
@@ -24,6 +24,14 @@ 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
+
27
35
  class GroupUser(BaseModel):
28
36
  """
29
37
  Serializer for Users that belong to a Group.
@@ -24,6 +24,14 @@ 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
+
27
35
  class GroupUserResponse(BaseModel):
28
36
  """
29
37
  Serializer for Users that belong to a Group.
@@ -24,6 +24,14 @@ 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
+
27
35
  class HeaderContentGuard(BaseModel):
28
36
  """
29
37
  A serializer for HeaderContentGuard.
@@ -24,6 +24,14 @@ 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
+
27
35
  class HeaderContentGuardResponse(BaseModel):
28
36
  """
29
37
  A serializer for HeaderContentGuard.
@@ -24,6 +24,14 @@ 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
+
27
35
  class ImportResponse(BaseModel):
28
36
  """
29
37
  Serializer for Imports.
@@ -23,6 +23,14 @@ 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
+
26
34
  class LoginResponse(BaseModel):
27
35
  """
28
36
  LoginResponse
@@ -24,6 +24,14 @@ 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
+
27
35
  class MinimalTaskResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class MultipleArtifactContentResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -23,6 +23,14 @@ 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
+
26
34
  class MyPermissionsResponse(BaseModel):
27
35
  """
28
36
  MyPermissionsResponse
@@ -25,6 +25,14 @@ 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
+
28
36
  class NestedOpenPGPPublicSubkey(BaseModel):
29
37
  """
30
38
  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.
@@ -26,6 +26,14 @@ 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
+
29
37
  class NestedOpenPGPPublicSubkeyResponse(BaseModel):
30
38
  """
31
39
  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.
@@ -25,6 +25,14 @@ 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
+
28
36
  class NestedOpenPGPSignature(BaseModel):
29
37
  """
30
38
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class NestedOpenPGPSignatureResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class NestedOpenPGPUserAttribute(BaseModel):
28
36
  """
29
37
  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.
@@ -25,6 +25,14 @@ 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
+
28
36
  class NestedOpenPGPUserAttributeResponse(BaseModel):
29
37
  """
30
38
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class NestedOpenPGPUserID(BaseModel):
28
36
  """
29
37
  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.
@@ -24,6 +24,14 @@ from pulpcore.client.pulpcore.models.nested_open_pgp_signature_response import N
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
+
27
35
  class NestedOpenPGPUserIDResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class NestedRole(BaseModel):
28
36
  """
29
37
  Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
@@ -23,6 +23,14 @@ 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
+
26
34
  class NestedRoleResponse(BaseModel):
27
35
  """
28
36
  Serializer to add/remove object roles to/from users/groups. This is used in conjunction with ``pulpcore.app.viewsets.base.RolesMixin`` and requires the underlying object to be passed as ``content_object`` in the context.
@@ -24,6 +24,14 @@ from pulpcore.client.pulpcore.models.nested_role_response import NestedRoleRespo
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
+
27
35
  class ObjectRolesResponse(BaseModel):
28
36
  """
29
37
  ObjectRolesResponse
@@ -24,6 +24,14 @@ 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
+
27
35
  class OpenPGPDistribution(BaseModel):
28
36
  """
29
37
  The Serializer for the Distribution model. The serializer deliberately omits the `publication` and `repository_version` field due to plugins typically requiring one or the other but not both. To include the ``publication`` field, it is recommended plugins define the field:: publication = DetailRelatedField( required=False, help_text=_(\"Publication to be served\"), view_name_pattern=r\"publications(-.*/.*)?-detail\", queryset=models.Publication.objects.exclude(complete=False), allow_null=True, ) To include the ``repository_version`` field, it is recommended plugins define the field:: repository_version = RepositoryVersionRelatedField( required=False, help_text=_(\"RepositoryVersion to be served\"), allow_null=True ) Additionally, the serializer omits the ``remote`` field, which is used for pull-through caching feature and only by plugins which use publications. Plugins implementing a pull-through caching should define the field in their derived serializer class like this:: remote = DetailRelatedField( required=False, help_text=_('Remote that can be used to fetch content when using pull-through caching.'), queryset=models.Remote.objects.all(), allow_null=True )
@@ -24,6 +24,14 @@ 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
+
27
35
  class OpenPGPDistributionResponse(BaseModel):
28
36
  """
29
37
  The Serializer for the Distribution model. The serializer deliberately omits the `publication` and `repository_version` field due to plugins typically requiring one or the other but not both. To include the ``publication`` field, it is recommended plugins define the field:: publication = DetailRelatedField( required=False, help_text=_(\"Publication to be served\"), view_name_pattern=r\"publications(-.*/.*)?-detail\", queryset=models.Publication.objects.exclude(complete=False), allow_null=True, ) To include the ``repository_version`` field, it is recommended plugins define the field:: repository_version = RepositoryVersionRelatedField( required=False, help_text=_(\"RepositoryVersion to be served\"), allow_null=True ) Additionally, the serializer omits the ``remote`` field, which is used for pull-through caching feature and only by plugins which use publications. Plugins implementing a pull-through caching should define the field in their derived serializer class like this:: remote = DetailRelatedField( required=False, help_text=_('Remote that can be used to fetch content when using pull-through caching.'), queryset=models.Remote.objects.all(), allow_null=True )
@@ -24,6 +24,14 @@ 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
+
27
35
  class OpenPGPKeyring(BaseModel):
28
36
  """
29
37
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class OpenPGPKeyringResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -28,6 +28,14 @@ from pulpcore.client.pulpcore.models.nested_open_pgp_user_id_response import Nes
28
28
  from typing import Optional, Set
29
29
  from typing_extensions import Self
30
30
 
31
+
32
+ class OneOf:
33
+ @staticmethod
34
+ def from_dict(obj, *args, **kwargs):
35
+ """Noop override to fix missing OneOf import/implementation."""
36
+ return obj
37
+
38
+
31
39
  class OpenPGPPublicKeyResponse(BaseModel):
32
40
  """
33
41
  A serializer for content types with no Artifact.
@@ -26,6 +26,14 @@ 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
+
29
37
  class OpenPGPPublicSubkeyResponse(BaseModel):
30
38
  """
31
39
  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.
@@ -24,6 +24,14 @@ 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
+
27
35
  class OpenPGPSignatureResponse(BaseModel):
28
36
  """
29
37
  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.
@@ -26,6 +26,14 @@ 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
+
29
37
  class OpenPGPUserAttributeResponse(BaseModel):
30
38
  """
31
39
  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.
@@ -25,6 +25,14 @@ 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
+
28
36
  class OpenPGPUserIDResponse(BaseModel):
29
37
  """
30
38
  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.
@@ -23,6 +23,14 @@ 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
+
26
34
  class OrphansCleanup(BaseModel):
27
35
  """
28
36
  OrphansCleanup
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedAccessPolicyResponseList(BaseModel):
28
36
  """
29
37
  PaginatedAccessPolicyResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedArtifactDistributionResponseList(BaseModel):
28
36
  """
29
37
  PaginatedArtifactDistributionResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedArtifactResponseList(BaseModel):
28
36
  """
29
37
  PaginatedArtifactResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedCompositeContentGuardResponseList(BaseModel):
28
36
  """
29
37
  PaginatedCompositeContentGuardResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedContentGuardResponseList(BaseModel):
28
36
  """
29
37
  PaginatedContentGuardResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedContentRedirectContentGuardResponseList(BaseModel):
28
36
  """
29
37
  PaginatedContentRedirectContentGuardResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedDistributionResponseList(BaseModel):
28
36
  """
29
37
  PaginatedDistributionResponseList
@@ -24,6 +24,14 @@ 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
+
27
35
  class PaginatedDomainResponseList(BaseModel):
28
36
  """
29
37
  PaginatedDomainResponseList