pulpcore-client 3.86.0__py3-none-any.whl → 3.87.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 +3 -5
- pulpcore/client/pulpcore/api/tasks_api.py +6 -6
- pulpcore/client/pulpcore/api/workers_api.py +12 -12
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/__init__.py +1 -2
- pulpcore/client/pulpcore/models/{api_app_status_response.py → app_status_response.py} +4 -4
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +18 -18
- pulpcore/client/pulpcore/models/status_response.py +7 -9
- {pulpcore_client-3.86.0.dist-info → pulpcore_client-3.87.1.dist-info}/METADATA +5 -6
- {pulpcore_client-3.86.0.dist-info → pulpcore_client-3.87.1.dist-info}/RECORD +13 -14
- pulpcore/client/pulpcore/models/content_app_status_response.py +0 -107
- {pulpcore_client-3.86.0.dist-info → pulpcore_client-3.87.1.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.86.0.dist-info → pulpcore_client-3.87.1.dist-info}/top_level.txt +0 -0
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "3.
|
|
18
|
+
__version__ = "3.87.1"
|
|
19
19
|
|
|
20
20
|
# Define package exports
|
|
21
21
|
__all__ = [
|
|
@@ -80,13 +80,12 @@ __all__ = [
|
|
|
80
80
|
"ApiException",
|
|
81
81
|
"AccessPolicy",
|
|
82
82
|
"AccessPolicyResponse",
|
|
83
|
-
"
|
|
83
|
+
"AppStatusResponse",
|
|
84
84
|
"ArtifactDistributionResponse",
|
|
85
85
|
"ArtifactResponse",
|
|
86
86
|
"AsyncOperationResponse",
|
|
87
87
|
"CompositeContentGuard",
|
|
88
88
|
"CompositeContentGuardResponse",
|
|
89
|
-
"ContentAppStatusResponse",
|
|
90
89
|
"ContentGuardResponse",
|
|
91
90
|
"ContentRedirectContentGuard",
|
|
92
91
|
"ContentRedirectContentGuardResponse",
|
|
@@ -320,13 +319,12 @@ from pulpcore.client.pulpcore.exceptions import ApiException as ApiException
|
|
|
320
319
|
# import models into sdk package
|
|
321
320
|
from pulpcore.client.pulpcore.models.access_policy import AccessPolicy as AccessPolicy
|
|
322
321
|
from pulpcore.client.pulpcore.models.access_policy_response import AccessPolicyResponse as AccessPolicyResponse
|
|
323
|
-
from pulpcore.client.pulpcore.models.
|
|
322
|
+
from pulpcore.client.pulpcore.models.app_status_response import AppStatusResponse as AppStatusResponse
|
|
324
323
|
from pulpcore.client.pulpcore.models.artifact_distribution_response import ArtifactDistributionResponse as ArtifactDistributionResponse
|
|
325
324
|
from pulpcore.client.pulpcore.models.artifact_response import ArtifactResponse as ArtifactResponse
|
|
326
325
|
from pulpcore.client.pulpcore.models.async_operation_response import AsyncOperationResponse as AsyncOperationResponse
|
|
327
326
|
from pulpcore.client.pulpcore.models.composite_content_guard import CompositeContentGuard as CompositeContentGuard
|
|
328
327
|
from pulpcore.client.pulpcore.models.composite_content_guard_response import CompositeContentGuardResponse as CompositeContentGuardResponse
|
|
329
|
-
from pulpcore.client.pulpcore.models.content_app_status_response import ContentAppStatusResponse as ContentAppStatusResponse
|
|
330
328
|
from pulpcore.client.pulpcore.models.content_guard_response import ContentGuardResponse as ContentGuardResponse
|
|
331
329
|
from pulpcore.client.pulpcore.models.content_redirect_content_guard import ContentRedirectContentGuard as ContentRedirectContentGuard
|
|
332
330
|
from pulpcore.client.pulpcore.models.content_redirect_content_guard_response import ContentRedirectContentGuardResponse as ContentRedirectContentGuardResponse
|
|
@@ -687,7 +687,7 @@ class TasksApi:
|
|
|
687
687
|
unblocked_at__lt: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than value")] = None,
|
|
688
688
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
689
689
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
690
|
-
worker:
|
|
690
|
+
worker: Optional[StrictStr] = None,
|
|
691
691
|
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
692
692
|
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
693
693
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
@@ -819,7 +819,7 @@ class TasksApi:
|
|
|
819
819
|
:type unblocked_at__lte: datetime
|
|
820
820
|
:param unblocked_at__range: Filter results where unblocked_at is between two comma separated values
|
|
821
821
|
:type unblocked_at__range: List[datetime]
|
|
822
|
-
:param worker:
|
|
822
|
+
:param worker:
|
|
823
823
|
:type worker: str
|
|
824
824
|
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
825
825
|
:type worker__in: List[str]
|
|
@@ -990,7 +990,7 @@ class TasksApi:
|
|
|
990
990
|
unblocked_at__lt: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than value")] = None,
|
|
991
991
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
992
992
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
993
|
-
worker:
|
|
993
|
+
worker: Optional[StrictStr] = None,
|
|
994
994
|
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
995
995
|
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
996
996
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
@@ -1122,7 +1122,7 @@ class TasksApi:
|
|
|
1122
1122
|
:type unblocked_at__lte: datetime
|
|
1123
1123
|
:param unblocked_at__range: Filter results where unblocked_at is between two comma separated values
|
|
1124
1124
|
:type unblocked_at__range: List[datetime]
|
|
1125
|
-
:param worker:
|
|
1125
|
+
:param worker:
|
|
1126
1126
|
:type worker: str
|
|
1127
1127
|
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
1128
1128
|
:type worker__in: List[str]
|
|
@@ -1293,7 +1293,7 @@ class TasksApi:
|
|
|
1293
1293
|
unblocked_at__lt: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than value")] = None,
|
|
1294
1294
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
1295
1295
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
1296
|
-
worker:
|
|
1296
|
+
worker: Optional[StrictStr] = None,
|
|
1297
1297
|
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
1298
1298
|
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
1299
1299
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
@@ -1425,7 +1425,7 @@ class TasksApi:
|
|
|
1425
1425
|
:type unblocked_at__lte: datetime
|
|
1426
1426
|
:param unblocked_at__range: Filter results where unblocked_at is between two comma separated values
|
|
1427
1427
|
:type unblocked_at__range: List[datetime]
|
|
1428
|
-
:param worker:
|
|
1428
|
+
:param worker:
|
|
1429
1429
|
:type worker: str
|
|
1430
1430
|
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
1431
1431
|
:type worker__in: List[str]
|
|
@@ -66,7 +66,7 @@ class WorkersApi:
|
|
|
66
66
|
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
67
67
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
68
68
|
online: Optional[StrictBool] = None,
|
|
69
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
69
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
70
70
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
71
71
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
72
72
|
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -86,7 +86,7 @@ class WorkersApi:
|
|
|
86
86
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
87
87
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
88
88
|
) -> PaginatedWorkerResponseList:
|
|
89
|
-
"""List
|
|
89
|
+
"""List app statuss
|
|
90
90
|
|
|
91
91
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
92
92
|
|
|
@@ -132,7 +132,7 @@ class WorkersApi:
|
|
|
132
132
|
:type offset: int
|
|
133
133
|
:param online:
|
|
134
134
|
:type online: bool
|
|
135
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
135
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
136
136
|
:type ordering: List[str]
|
|
137
137
|
:param prn__in: Multiple values may be separated by commas.
|
|
138
138
|
:type prn__in: List[str]
|
|
@@ -241,7 +241,7 @@ class WorkersApi:
|
|
|
241
241
|
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
242
242
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
243
243
|
online: Optional[StrictBool] = None,
|
|
244
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
244
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
245
245
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
246
246
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
247
247
|
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -261,7 +261,7 @@ class WorkersApi:
|
|
|
261
261
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
262
262
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
263
263
|
) -> ApiResponse[PaginatedWorkerResponseList]:
|
|
264
|
-
"""List
|
|
264
|
+
"""List app statuss
|
|
265
265
|
|
|
266
266
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
267
267
|
|
|
@@ -307,7 +307,7 @@ class WorkersApi:
|
|
|
307
307
|
:type offset: int
|
|
308
308
|
:param online:
|
|
309
309
|
:type online: bool
|
|
310
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
310
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
311
311
|
:type ordering: List[str]
|
|
312
312
|
:param prn__in: Multiple values may be separated by commas.
|
|
313
313
|
:type prn__in: List[str]
|
|
@@ -416,7 +416,7 @@ class WorkersApi:
|
|
|
416
416
|
name__startswith: Annotated[Optional[StrictStr], Field(description="Filter results where name starts with value")] = None,
|
|
417
417
|
offset: Annotated[Optional[StrictInt], Field(description="The initial index from which to return the results.")] = None,
|
|
418
418
|
online: Optional[StrictBool] = None,
|
|
419
|
-
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
419
|
+
ordering: Annotated[Optional[List[StrictStr]], Field(description="Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)")] = None,
|
|
420
420
|
prn__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
421
421
|
pulp_href__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
422
422
|
pulp_id__in: Annotated[Optional[List[StrictStr]], Field(description="Multiple values may be separated by commas.")] = None,
|
|
@@ -436,7 +436,7 @@ class WorkersApi:
|
|
|
436
436
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
437
437
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
438
438
|
) -> RESTResponseType:
|
|
439
|
-
"""List
|
|
439
|
+
"""List app statuss
|
|
440
440
|
|
|
441
441
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
442
442
|
|
|
@@ -482,7 +482,7 @@ class WorkersApi:
|
|
|
482
482
|
:type offset: int
|
|
483
483
|
:param online:
|
|
484
484
|
:type online: bool
|
|
485
|
-
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `name` - Name * `-name` - Name (descending) * `
|
|
485
|
+
:param ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `app_type` - App type * `-app_type` - App type (descending) * `name` - Name * `-name` - Name (descending) * `versions` - Versions * `-versions` - Versions (descending) * `ttl` - Ttl * `-ttl` - Ttl (descending) * `last_heartbeat` - Last heartbeat * `-last_heartbeat` - Last heartbeat (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
486
486
|
:type ordering: List[str]
|
|
487
487
|
:param prn__in: Multiple values may be separated by commas.
|
|
488
488
|
:type prn__in: List[str]
|
|
@@ -837,7 +837,7 @@ class WorkersApi:
|
|
|
837
837
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
838
838
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
839
839
|
) -> WorkerResponse:
|
|
840
|
-
"""Inspect
|
|
840
|
+
"""Inspect an app status
|
|
841
841
|
|
|
842
842
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
843
843
|
|
|
@@ -916,7 +916,7 @@ class WorkersApi:
|
|
|
916
916
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
917
917
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
918
918
|
) -> ApiResponse[WorkerResponse]:
|
|
919
|
-
"""Inspect
|
|
919
|
+
"""Inspect an app status
|
|
920
920
|
|
|
921
921
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
922
922
|
|
|
@@ -995,7 +995,7 @@ class WorkersApi:
|
|
|
995
995
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
996
996
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
997
997
|
) -> RESTResponseType:
|
|
998
|
-
"""Inspect
|
|
998
|
+
"""Inspect an app status
|
|
999
999
|
|
|
1000
1000
|
A customized named ModelViewSet that knows how to register itself with the Pulp API router. This viewset is discoverable by its name. \"Normal\" Django Models and Master/Detail models are supported by the ``register_with`` method. Attributes: lookup_field (str): The name of the field by which an object should be looked up, in addition to any parent lookups if this ViewSet is nested. Defaults to 'pk' endpoint_name (str): The name of the final path segment that should identify the ViewSet's collection endpoint. nest_prefix (str): Optional prefix under which this ViewSet should be nested. This must correspond to the \"parent_prefix\" of a router with rest_framework_nested.NestedMixin. None indicates this ViewSet should not be nested. parent_lookup_kwargs (dict): Optional mapping of key names that would appear in self.kwargs to django model filter expressions that can be used with the corresponding value from self.kwargs, used only by a nested ViewSet to filter based on the parent object's identity. schema (DefaultSchema): The schema class to use by default in a viewset.
|
|
1001
1001
|
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.87.1/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -556,7 +556,7 @@ conf = pulpcore.client.pulpcore.Configuration(
|
|
|
556
556
|
"OS: {env}\n"\
|
|
557
557
|
"Python Version: {pyversion}\n"\
|
|
558
558
|
"Version of the API: v3\n"\
|
|
559
|
-
"SDK Package Version: 3.
|
|
559
|
+
"SDK Package Version: 3.87.1".\
|
|
560
560
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
561
|
|
|
562
562
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,13 +17,12 @@
|
|
|
17
17
|
# import models into model package
|
|
18
18
|
from pulpcore.client.pulpcore.models.access_policy import AccessPolicy
|
|
19
19
|
from pulpcore.client.pulpcore.models.access_policy_response import AccessPolicyResponse
|
|
20
|
-
from pulpcore.client.pulpcore.models.
|
|
20
|
+
from pulpcore.client.pulpcore.models.app_status_response import AppStatusResponse
|
|
21
21
|
from pulpcore.client.pulpcore.models.artifact_distribution_response import ArtifactDistributionResponse
|
|
22
22
|
from pulpcore.client.pulpcore.models.artifact_response import ArtifactResponse
|
|
23
23
|
from pulpcore.client.pulpcore.models.async_operation_response import AsyncOperationResponse
|
|
24
24
|
from pulpcore.client.pulpcore.models.composite_content_guard import CompositeContentGuard
|
|
25
25
|
from pulpcore.client.pulpcore.models.composite_content_guard_response import CompositeContentGuardResponse
|
|
26
|
-
from pulpcore.client.pulpcore.models.content_app_status_response import ContentAppStatusResponse
|
|
27
26
|
from pulpcore.client.pulpcore.models.content_guard_response import ContentGuardResponse
|
|
28
27
|
from pulpcore.client.pulpcore.models.content_redirect_content_guard import ContentRedirectContentGuard
|
|
29
28
|
from pulpcore.client.pulpcore.models.content_redirect_content_guard_response import ContentRedirectContentGuardResponse
|
|
@@ -32,9 +32,9 @@ class OneOf:
|
|
|
32
32
|
return obj
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class AppStatusResponse(BaseModel):
|
|
36
36
|
"""
|
|
37
|
-
|
|
37
|
+
AppStatusResponse
|
|
38
38
|
""" # noqa: E501
|
|
39
39
|
name: Optional[StrictStr] = Field(default=None, description="The name of the worker.")
|
|
40
40
|
last_heartbeat: Optional[datetime] = Field(default=None, description="Timestamp of the last time the worker talked to the service.")
|
|
@@ -59,7 +59,7 @@ class ApiAppStatusResponse(BaseModel):
|
|
|
59
59
|
|
|
60
60
|
@classmethod
|
|
61
61
|
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
62
|
-
"""Create an instance of
|
|
62
|
+
"""Create an instance of AppStatusResponse from a JSON string"""
|
|
63
63
|
return cls.from_dict(json.loads(json_str))
|
|
64
64
|
|
|
65
65
|
def to_dict(self) -> Dict[str, Any]:
|
|
@@ -90,7 +90,7 @@ class ApiAppStatusResponse(BaseModel):
|
|
|
90
90
|
|
|
91
91
|
@classmethod
|
|
92
92
|
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
93
|
-
"""Create an instance of
|
|
93
|
+
"""Create an instance of AppStatusResponse from a dict"""
|
|
94
94
|
if obj is None:
|
|
95
95
|
return None
|
|
96
96
|
|
|
@@ -36,18 +36,18 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
36
36
|
"""
|
|
37
37
|
A serializer for ArtifactDistribution.
|
|
38
38
|
""" # noqa: E501
|
|
39
|
-
|
|
40
|
-
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
39
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
41
40
|
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
42
|
-
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
43
41
|
no_content_change_since: Optional[StrictStr] = Field(default=None, description="Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.")
|
|
44
|
-
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
45
42
|
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
46
|
-
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
47
|
-
base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
|
|
48
43
|
pulp_href: Optional[StrictStr] = None
|
|
49
|
-
|
|
50
|
-
|
|
44
|
+
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
45
|
+
base_path: StrictStr = Field(description="The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")")
|
|
46
|
+
pulp_last_updated: Optional[datetime] = Field(default=None, description="Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.")
|
|
47
|
+
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
48
|
+
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
49
|
+
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
50
|
+
__properties: ClassVar[List[str]] = ["pulp_labels", "hidden", "no_content_change_since", "pulp_created", "pulp_href", "prn", "base_path", "pulp_last_updated", "name", "content_guard", "base_url"]
|
|
51
51
|
|
|
52
52
|
model_config = ConfigDict(
|
|
53
53
|
populate_by_name=True,
|
|
@@ -87,12 +87,12 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
87
87
|
* OpenAPI `readOnly` fields are excluded.
|
|
88
88
|
"""
|
|
89
89
|
excluded_fields: Set[str] = set([
|
|
90
|
-
"pulp_last_updated",
|
|
91
|
-
"base_url",
|
|
92
90
|
"no_content_change_since",
|
|
93
|
-
"prn",
|
|
94
91
|
"pulp_created",
|
|
95
92
|
"pulp_href",
|
|
93
|
+
"prn",
|
|
94
|
+
"pulp_last_updated",
|
|
95
|
+
"base_url",
|
|
96
96
|
])
|
|
97
97
|
|
|
98
98
|
_dict = self.model_dump(
|
|
@@ -117,17 +117,17 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
117
117
|
return cls.model_validate(obj)
|
|
118
118
|
|
|
119
119
|
_obj = cls.model_validate({
|
|
120
|
-
"
|
|
121
|
-
"base_url": obj.get("base_url"),
|
|
120
|
+
"pulp_labels": obj.get("pulp_labels"),
|
|
122
121
|
"hidden": obj.get("hidden") if obj.get("hidden") is not None else False,
|
|
123
|
-
"name": obj.get("name"),
|
|
124
122
|
"no_content_change_since": obj.get("no_content_change_since"),
|
|
125
|
-
"prn": obj.get("prn"),
|
|
126
123
|
"pulp_created": obj.get("pulp_created"),
|
|
127
|
-
"content_guard": obj.get("content_guard"),
|
|
128
|
-
"base_path": obj.get("base_path"),
|
|
129
124
|
"pulp_href": obj.get("pulp_href"),
|
|
130
|
-
"
|
|
125
|
+
"prn": obj.get("prn"),
|
|
126
|
+
"base_path": obj.get("base_path"),
|
|
127
|
+
"pulp_last_updated": obj.get("pulp_last_updated"),
|
|
128
|
+
"name": obj.get("name"),
|
|
129
|
+
"content_guard": obj.get("content_guard"),
|
|
130
|
+
"base_url": obj.get("base_url")
|
|
131
131
|
})
|
|
132
132
|
return _obj
|
|
133
133
|
|
|
@@ -20,14 +20,12 @@ import json
|
|
|
20
20
|
|
|
21
21
|
from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
22
22
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
23
|
-
from pulpcore.client.pulpcore.models.
|
|
24
|
-
from pulpcore.client.pulpcore.models.content_app_status_response import ContentAppStatusResponse
|
|
23
|
+
from pulpcore.client.pulpcore.models.app_status_response import AppStatusResponse
|
|
25
24
|
from pulpcore.client.pulpcore.models.content_settings_response import ContentSettingsResponse
|
|
26
25
|
from pulpcore.client.pulpcore.models.database_connection_response import DatabaseConnectionResponse
|
|
27
26
|
from pulpcore.client.pulpcore.models.redis_connection_response import RedisConnectionResponse
|
|
28
27
|
from pulpcore.client.pulpcore.models.storage_response import StorageResponse
|
|
29
28
|
from pulpcore.client.pulpcore.models.version_response import VersionResponse
|
|
30
|
-
from pulpcore.client.pulpcore.models.worker_response import WorkerResponse
|
|
31
29
|
from typing import Optional, Set
|
|
32
30
|
from typing_extensions import Self
|
|
33
31
|
|
|
@@ -44,9 +42,9 @@ class StatusResponse(BaseModel):
|
|
|
44
42
|
Serializer for the status information of the app
|
|
45
43
|
""" # noqa: E501
|
|
46
44
|
versions: List[VersionResponse] = Field(description="Version information of Pulp components")
|
|
47
|
-
online_workers: List[
|
|
48
|
-
online_api_apps: List[
|
|
49
|
-
online_content_apps: List[
|
|
45
|
+
online_workers: List[AppStatusResponse] = Field(description="List of online workers known to the application. An online worker is actively heartbeating and can respond to new work.")
|
|
46
|
+
online_api_apps: List[AppStatusResponse] = Field(description="List of online api apps known to the application. An online api app is actively heartbeating and can serve the rest api to clients.")
|
|
47
|
+
online_content_apps: List[AppStatusResponse] = Field(description="List of online content apps known to the application. An online content app is actively heartbeating and can serve data to clients.")
|
|
50
48
|
database_connection: DatabaseConnectionResponse = Field(description="Database connection information")
|
|
51
49
|
redis_connection: Optional[RedisConnectionResponse] = Field(default=None, description="Redis connection information")
|
|
52
50
|
storage: Optional[StorageResponse] = Field(default=None, description="Storage information")
|
|
@@ -146,9 +144,9 @@ class StatusResponse(BaseModel):
|
|
|
146
144
|
|
|
147
145
|
_obj = cls.model_validate({
|
|
148
146
|
"versions": [VersionResponse.from_dict(_item) for _item in obj["versions"]] if obj.get("versions") is not None else None,
|
|
149
|
-
"online_workers": [
|
|
150
|
-
"online_api_apps": [
|
|
151
|
-
"online_content_apps": [
|
|
147
|
+
"online_workers": [AppStatusResponse.from_dict(_item) for _item in obj["online_workers"]] if obj.get("online_workers") is not None else None,
|
|
148
|
+
"online_api_apps": [AppStatusResponse.from_dict(_item) for _item in obj["online_api_apps"]] if obj.get("online_api_apps") is not None else None,
|
|
149
|
+
"online_content_apps": [AppStatusResponse.from_dict(_item) for _item in obj["online_content_apps"]] if obj.get("online_content_apps") is not None else None,
|
|
152
150
|
"database_connection": DatabaseConnectionResponse.from_dict(obj["database_connection"]) if obj.get("database_connection") is not None else None,
|
|
153
151
|
"redis_connection": RedisConnectionResponse.from_dict(obj["redis_connection"]) if obj.get("redis_connection") is not None else None,
|
|
154
152
|
"storage": StorageResponse.from_dict(obj["storage"]) if obj.get("storage") is not None else None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulpcore-client
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.87.1
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -22,7 +22,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
22
22
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
23
23
|
|
|
24
24
|
- API version: v3
|
|
25
|
-
- Package version: 3.
|
|
25
|
+
- Package version: 3.87.1
|
|
26
26
|
- Generator version: 7.14.0
|
|
27
27
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
28
28
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -366,21 +366,20 @@ Class | Method | HTTP request | Description
|
|
|
366
366
|
*VulnReportApi* | [**delete**](docs/VulnReportApi.md#delete) | **DELETE** {vulnerability_report_href} | Delete a vulnerability report
|
|
367
367
|
*VulnReportApi* | [**list**](docs/VulnReportApi.md#list) | **GET** /pulp/api/v3/vuln_report/ | List vulnerability reports
|
|
368
368
|
*VulnReportApi* | [**read**](docs/VulnReportApi.md#read) | **GET** {vulnerability_report_href} | Inspect a vulnerability report
|
|
369
|
-
*WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List
|
|
370
|
-
*WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect
|
|
369
|
+
*WorkersApi* | [**list**](docs/WorkersApi.md#list) | **GET** /pulp/api/v3/workers/ | List app statuss
|
|
370
|
+
*WorkersApi* | [**read**](docs/WorkersApi.md#read) | **GET** {worker_href} | Inspect an app status
|
|
371
371
|
|
|
372
372
|
|
|
373
373
|
## Documentation For Models
|
|
374
374
|
|
|
375
375
|
- [AccessPolicy](docs/AccessPolicy.md)
|
|
376
376
|
- [AccessPolicyResponse](docs/AccessPolicyResponse.md)
|
|
377
|
-
- [
|
|
377
|
+
- [AppStatusResponse](docs/AppStatusResponse.md)
|
|
378
378
|
- [ArtifactDistributionResponse](docs/ArtifactDistributionResponse.md)
|
|
379
379
|
- [ArtifactResponse](docs/ArtifactResponse.md)
|
|
380
380
|
- [AsyncOperationResponse](docs/AsyncOperationResponse.md)
|
|
381
381
|
- [CompositeContentGuard](docs/CompositeContentGuard.md)
|
|
382
382
|
- [CompositeContentGuardResponse](docs/CompositeContentGuardResponse.md)
|
|
383
|
-
- [ContentAppStatusResponse](docs/ContentAppStatusResponse.md)
|
|
384
383
|
- [ContentGuardResponse](docs/ContentGuardResponse.md)
|
|
385
384
|
- [ContentRedirectContentGuard](docs/ContentRedirectContentGuard.md)
|
|
386
385
|
- [ContentRedirectContentGuardResponse](docs/ContentRedirectContentGuardResponse.md)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
2
|
pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
3
|
-
pulpcore/client/pulpcore/__init__.py,sha256=
|
|
4
|
-
pulpcore/client/pulpcore/api_client.py,sha256=
|
|
3
|
+
pulpcore/client/pulpcore/__init__.py,sha256=2byMiBxjWYiR2vF-QCDUsdu-NYeclJ062jfgXp-UyIY,33581
|
|
4
|
+
pulpcore/client/pulpcore/api_client.py,sha256=_vn7Z262UdgbYeitGpS3dovN8aqMBiu71ecmrV4_nLs,27754
|
|
5
5
|
pulpcore/client/pulpcore/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulpcore/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulpcore/configuration.py,sha256=sNxnkTubUFRd41LHDTWVSL0yEokuJ1trwsMnaBmESXo,19579
|
|
7
7
|
pulpcore/client/pulpcore/exceptions.py,sha256=UUQyfmHrA0wKpyniO8D6jgIOSee4k0dBIImRgs74ERw,6456
|
|
8
8
|
pulpcore/client/pulpcore/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulpcore/rest.py,sha256=FFnjc5Z2BsDHaWKi63ZyscVe-CxSdnqMt6efNR3QksY,9463
|
|
@@ -51,23 +51,22 @@ pulpcore/client/pulpcore/api/signing_services_api.py,sha256=HtxjGuq-F0mL1cSmG80s
|
|
|
51
51
|
pulpcore/client/pulpcore/api/status_api.py,sha256=9LhOx86BTEKnpIf8Fh76b8yRlwPAFVIIaJDeIpzIIa8,14158
|
|
52
52
|
pulpcore/client/pulpcore/api/task_groups_api.py,sha256=5wE6ileIgfHArstBRMduDmG1hKQogKiJIOz27MEzzrg,40670
|
|
53
53
|
pulpcore/client/pulpcore/api/task_schedules_api.py,sha256=bA4AXiEyG5bU8MFoGzpvJroi9_Rcz_FBTjwtWyL63a8,91269
|
|
54
|
-
pulpcore/client/pulpcore/api/tasks_api.py,sha256=
|
|
54
|
+
pulpcore/client/pulpcore/api/tasks_api.py,sha256=sCnYJm-DX4Oz2l0o50ZxhXST7kJ7RsVfP7wMuC80WRI,209335
|
|
55
55
|
pulpcore/client/pulpcore/api/uploads_api.py,sha256=Ht5CYeSzViok42DYZI-gJqVfZNuZW0BN7X9Ua88CYe8,137285
|
|
56
56
|
pulpcore/client/pulpcore/api/upstream_pulps_api.py,sha256=_DKzWgt26_tvsVm0LytJKfgwLrSt1jnwSHye22iteSU,179492
|
|
57
57
|
pulpcore/client/pulpcore/api/users_api.py,sha256=R0p4Rt2RD6JxuvGkQLME4wTgf8WKjCpXPYOqKl19Xyo,105933
|
|
58
58
|
pulpcore/client/pulpcore/api/users_roles_api.py,sha256=l5RspPcRy2biA1pzkytLXZss7-A7y1xKJu7ybJU9QeA,62930
|
|
59
59
|
pulpcore/client/pulpcore/api/vuln_report_api.py,sha256=CuzifQmxQ4h1g1M84lQhG54PPPp_wPOtkrat5ForAI0,49776
|
|
60
|
-
pulpcore/client/pulpcore/api/workers_api.py,sha256=
|
|
61
|
-
pulpcore/client/pulpcore/models/__init__.py,sha256=
|
|
60
|
+
pulpcore/client/pulpcore/api/workers_api.py,sha256=hlnhVJ8F56S7BfDYQ-bnWQHye6RUXI17l9YIN8Pdev8,63291
|
|
61
|
+
pulpcore/client/pulpcore/models/__init__.py,sha256=i68BXgoQ6TL3jw3uyMyfH0YAgfVxptHOKZUCcXmS5jI,16466
|
|
62
62
|
pulpcore/client/pulpcore/models/access_policy.py,sha256=ENKPlR0KnGGnGFgWx6Cw17F32fk-wlLxMinUaeYr7FQ,3593
|
|
63
63
|
pulpcore/client/pulpcore/models/access_policy_response.py,sha256=vhbDidouBT7mX7CAmZI40LIZD0wwdGDdgDDnDgzCVZQ,5293
|
|
64
|
-
pulpcore/client/pulpcore/models/
|
|
65
|
-
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=
|
|
64
|
+
pulpcore/client/pulpcore/models/app_status_response.py,sha256=wh7WyofqG1F2eEqE05ETym5uuAlSfC_VLIdQsE4Ijp0,3376
|
|
65
|
+
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=YyCT4bKfLqhLcbI92MDXNLiggMzlrzBklry8sMxK1Yg,5640
|
|
66
66
|
pulpcore/client/pulpcore/models/artifact_response.py,sha256=2gl7um0vqKLaPfsdKpC33t_0OA20MaLXnS3-rpfsjuI,6442
|
|
67
67
|
pulpcore/client/pulpcore/models/async_operation_response.py,sha256=2ciH8OgYeKl93wFyHQ7PBpt0y0FrxoxKta6FlebffvI,2724
|
|
68
68
|
pulpcore/client/pulpcore/models/composite_content_guard.py,sha256=QL1jkD3dgF4beBCIKeNI7tZ0QFMhds2JxjIHVquGbe4,3426
|
|
69
69
|
pulpcore/client/pulpcore/models/composite_content_guard_response.py,sha256=78JrDh0P12oBYHlyxZgDTgbweLEsa7ihHGXEVNmdhwc,4434
|
|
70
|
-
pulpcore/client/pulpcore/models/content_app_status_response.py,sha256=ame3htRqpfVPxDsyttSM-14MtZJKCW0TbvsA5Mgw72E,3696
|
|
71
70
|
pulpcore/client/pulpcore/models/content_guard_response.py,sha256=v3J6WC4iFDzChg4iJRe1cs_TtXiGpp1OiiqEPiAjNn4,4219
|
|
72
71
|
pulpcore/client/pulpcore/models/content_redirect_content_guard.py,sha256=3U9jWTNV8QDjeknGovbA082du1WU_HiYO4MQOXzpfbU,3249
|
|
73
72
|
pulpcore/client/pulpcore/models/content_redirect_content_guard_response.py,sha256=DO6UL_vnJouG2YtKmnL78H2grMAOOuVB-IQ5ggW6Fxk,4268
|
|
@@ -208,7 +207,7 @@ pulpcore/client/pulpcore/models/set_label.py,sha256=M2plaZH_yxps_VgcRzqO2bS85n2d
|
|
|
208
207
|
pulpcore/client/pulpcore/models/set_label_response.py,sha256=Ls8dBTKlrO8b9g75-iLXsDBpRlQyDL8A9XuBCfktsTY,3329
|
|
209
208
|
pulpcore/client/pulpcore/models/signing_service_response.py,sha256=2ZHiteKhqY2XmnWALNpP-m9trsi7N8CwNWmNbflaw2I,4395
|
|
210
209
|
pulpcore/client/pulpcore/models/states_enum.py,sha256=0XzxVrIU1xMEZp0bOR7p37Nfxj2L0LzrSsAWS7PyfFI,865
|
|
211
|
-
pulpcore/client/pulpcore/models/status_response.py,sha256=
|
|
210
|
+
pulpcore/client/pulpcore/models/status_response.py,sha256=rLdief4cebHDt8gpBo1f_Z2-7jffGj6ODXS61-xA-6Y,7995
|
|
212
211
|
pulpcore/client/pulpcore/models/storage_class_enum.py,sha256=HkE36y5zLsTxBOaettFxHCsoo14UppmkFpwrGPmP2Rk,1229
|
|
213
212
|
pulpcore/client/pulpcore/models/storage_response.py,sha256=CDP7-Yj8s7-UQkgfRT3KkQoi-qtoTHMrrdanNVVs_7Q,3580
|
|
214
213
|
pulpcore/client/pulpcore/models/task_group_operation_response.py,sha256=9b383cvOQQXURpOXNCGYRluA9EmYQh3eBCoX-690Rcw,2791
|
|
@@ -233,7 +232,7 @@ pulpcore/client/pulpcore/models/user_role_response.py,sha256=NA5xmqzXtuuqMpTY1li
|
|
|
233
232
|
pulpcore/client/pulpcore/models/version_response.py,sha256=RbrvRyY308ERzfDxjNWiO8ziIizKQmYcnsZaBWWmNOA,3366
|
|
234
233
|
pulpcore/client/pulpcore/models/vulnerability_report_response.py,sha256=tHOx1ZHFZFrrtbzuzk5d6tMSU_deJofp4HK5-U_Qf2A,4316
|
|
235
234
|
pulpcore/client/pulpcore/models/worker_response.py,sha256=r-Hcew-L6LNOlcQ6QLsRkhPqfm270nKFgCMXjXI0n9Q,5065
|
|
236
|
-
pulpcore_client-3.
|
|
237
|
-
pulpcore_client-3.
|
|
238
|
-
pulpcore_client-3.
|
|
239
|
-
pulpcore_client-3.
|
|
235
|
+
pulpcore_client-3.87.1.dist-info/METADATA,sha256=SIWfQkmqjFYF0dluHoieChpmCO4tyFzQMLGg9TurJj0,49167
|
|
236
|
+
pulpcore_client-3.87.1.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
237
|
+
pulpcore_client-3.87.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
238
|
+
pulpcore_client-3.87.1.dist-info/RECORD,,
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
# coding: utf-8
|
|
2
|
-
|
|
3
|
-
"""
|
|
4
|
-
Pulp 3 API
|
|
5
|
-
|
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages
|
|
7
|
-
|
|
8
|
-
The version of the OpenAPI document: v3
|
|
9
|
-
Contact: pulp-list@redhat.com
|
|
10
|
-
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
-
|
|
12
|
-
Do not edit the class manually.
|
|
13
|
-
""" # noqa: E501
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
from __future__ import annotations
|
|
17
|
-
import pprint
|
|
18
|
-
import re # noqa: F401
|
|
19
|
-
import json
|
|
20
|
-
|
|
21
|
-
from datetime import datetime
|
|
22
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
23
|
-
from typing import Any, ClassVar, Dict, List, Optional
|
|
24
|
-
from typing import Optional, Set
|
|
25
|
-
from typing_extensions import Self
|
|
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
|
-
class ContentAppStatusResponse(BaseModel):
|
|
36
|
-
"""
|
|
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.
|
|
38
|
-
""" # noqa: E501
|
|
39
|
-
name: Optional[StrictStr] = Field(default=None, description="The name of the worker.")
|
|
40
|
-
last_heartbeat: Optional[datetime] = Field(default=None, description="Timestamp of the last time the worker talked to the service.")
|
|
41
|
-
versions: Optional[Dict[str, Optional[StrictStr]]] = Field(default=None, description="Versions of the components installed.")
|
|
42
|
-
__properties: ClassVar[List[str]] = ["name", "last_heartbeat", "versions"]
|
|
43
|
-
|
|
44
|
-
model_config = ConfigDict(
|
|
45
|
-
populate_by_name=True,
|
|
46
|
-
validate_assignment=True,
|
|
47
|
-
protected_namespaces=(),
|
|
48
|
-
)
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
def to_str(self) -> str:
|
|
52
|
-
"""Returns the string representation of the model using alias"""
|
|
53
|
-
return pprint.pformat(self.model_dump(by_alias=True))
|
|
54
|
-
|
|
55
|
-
def to_json(self) -> str:
|
|
56
|
-
"""Returns the JSON representation of the model using alias"""
|
|
57
|
-
# TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead
|
|
58
|
-
return json.dumps(self.to_dict())
|
|
59
|
-
|
|
60
|
-
@classmethod
|
|
61
|
-
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
62
|
-
"""Create an instance of ContentAppStatusResponse from a JSON string"""
|
|
63
|
-
return cls.from_dict(json.loads(json_str))
|
|
64
|
-
|
|
65
|
-
def to_dict(self) -> Dict[str, Any]:
|
|
66
|
-
"""Return the dictionary representation of the model using alias.
|
|
67
|
-
|
|
68
|
-
This has the following differences from calling pydantic's
|
|
69
|
-
`self.model_dump(by_alias=True)`:
|
|
70
|
-
|
|
71
|
-
* `None` is only added to the output dict for nullable fields that
|
|
72
|
-
were set at model initialization. Other fields with value `None`
|
|
73
|
-
are ignored.
|
|
74
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
75
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
76
|
-
* OpenAPI `readOnly` fields are excluded.
|
|
77
|
-
"""
|
|
78
|
-
excluded_fields: Set[str] = set([
|
|
79
|
-
"name",
|
|
80
|
-
"last_heartbeat",
|
|
81
|
-
"versions",
|
|
82
|
-
])
|
|
83
|
-
|
|
84
|
-
_dict = self.model_dump(
|
|
85
|
-
by_alias=True,
|
|
86
|
-
exclude=excluded_fields,
|
|
87
|
-
exclude_none=True,
|
|
88
|
-
)
|
|
89
|
-
return _dict
|
|
90
|
-
|
|
91
|
-
@classmethod
|
|
92
|
-
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
93
|
-
"""Create an instance of ContentAppStatusResponse from a dict"""
|
|
94
|
-
if obj is None:
|
|
95
|
-
return None
|
|
96
|
-
|
|
97
|
-
if not isinstance(obj, dict):
|
|
98
|
-
return cls.model_validate(obj)
|
|
99
|
-
|
|
100
|
-
_obj = cls.model_validate({
|
|
101
|
-
"name": obj.get("name"),
|
|
102
|
-
"last_heartbeat": obj.get("last_heartbeat"),
|
|
103
|
-
"versions": obj.get("versions")
|
|
104
|
-
})
|
|
105
|
-
return _obj
|
|
106
|
-
|
|
107
|
-
|
|
File without changes
|
|
File without changes
|