pulpcore-client 3.89.0__py3-none-any.whl → 3.89.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulpcore-client might be problematic. Click here for more details.
- pulpcore/client/pulpcore/__init__.py +1 -1
- pulpcore/client/pulpcore/api_client.py +1 -1
- pulpcore/client/pulpcore/configuration.py +1 -1
- pulpcore/client/pulpcore/models/artifact_distribution_response.py +12 -12
- pulpcore/client/pulpcore/models/minimal_task_response.py +6 -1
- pulpcore/client/pulpcore/models/task_response.py +11 -1
- {pulpcore_client-3.89.0.dist-info → pulpcore_client-3.89.2.dist-info}/METADATA +2 -2
- {pulpcore_client-3.89.0.dist-info → pulpcore_client-3.89.2.dist-info}/RECORD +10 -10
- {pulpcore_client-3.89.0.dist-info → pulpcore_client-3.89.2.dist-info}/WHEEL +0 -0
- {pulpcore_client-3.89.0.dist-info → pulpcore_client-3.89.2.dist-info}/top_level.txt +0 -0
|
@@ -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.89.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/3.89.2/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.89.
|
|
559
|
+
"SDK Package Version: 3.89.2".\
|
|
560
560
|
format(env=sys.platform, pyversion=sys.version)
|
|
561
561
|
|
|
562
562
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -28,18 +28,18 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
A serializer for ArtifactDistribution.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
|
|
32
|
-
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
33
|
-
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
34
|
-
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
35
|
-
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
36
|
-
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
37
|
-
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\")")
|
|
31
|
+
hidden: Optional[StrictBool] = Field(default=False, description="Whether this distribution should be shown in the content app.")
|
|
38
32
|
prn: Optional[StrictStr] = Field(default=None, description="The Pulp Resource Name (PRN).")
|
|
39
33
|
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.")
|
|
40
34
|
pulp_href: Optional[StrictStr] = None
|
|
41
|
-
|
|
42
|
-
|
|
35
|
+
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\")")
|
|
36
|
+
content_guard: Optional[StrictStr] = Field(default=None, description="An optional content-guard.")
|
|
37
|
+
pulp_created: Optional[datetime] = Field(default=None, description="Timestamp of creation.")
|
|
38
|
+
pulp_labels: Optional[Dict[str, Optional[StrictStr]]] = None
|
|
39
|
+
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.")
|
|
40
|
+
base_url: Optional[StrictStr] = Field(default=None, description="The URL for accessing the publication as defined by this distribution.")
|
|
41
|
+
name: StrictStr = Field(description="A unique name. Ex, `rawhide` and `stable`.")
|
|
42
|
+
__properties: ClassVar[List[str]] = ["hidden", "prn", "pulp_last_updated", "pulp_href", "base_path", "content_guard", "pulp_created", "pulp_labels", "no_content_change_since", "base_url", "name"]
|
|
43
43
|
|
|
44
44
|
model_config = ConfigDict(
|
|
45
45
|
populate_by_name=True,
|
|
@@ -79,12 +79,12 @@ class ArtifactDistributionResponse(BaseModel):
|
|
|
79
79
|
* OpenAPI `readOnly` fields are excluded.
|
|
80
80
|
"""
|
|
81
81
|
excluded_fields: Set[str] = set([
|
|
82
|
-
"no_content_change_since",
|
|
83
|
-
"pulp_created",
|
|
84
|
-
"base_url",
|
|
85
82
|
"prn",
|
|
86
83
|
"pulp_last_updated",
|
|
87
84
|
"pulp_href",
|
|
85
|
+
"pulp_created",
|
|
86
|
+
"no_content_change_since",
|
|
87
|
+
"base_url",
|
|
88
88
|
])
|
|
89
89
|
|
|
90
90
|
_dict = self.model_dump(
|
|
@@ -37,7 +37,7 @@ class MinimalTaskResponse(BaseModel):
|
|
|
37
37
|
unblocked_at: Optional[datetime] = Field(default=None, description="Timestamp of when this task was identified ready for pickup.")
|
|
38
38
|
started_at: Optional[datetime] = Field(default=None, description="Timestamp of when this task started execution.")
|
|
39
39
|
finished_at: Optional[datetime] = Field(default=None, description="Timestamp of when this task stopped execution.")
|
|
40
|
-
worker: Optional[StrictStr] = Field(default=None, description="
|
|
40
|
+
worker: Optional[StrictStr] = Field(default=None, description="DEPRECATED - Always null")
|
|
41
41
|
__properties: ClassVar[List[str]] = ["pulp_href", "prn", "pulp_created", "pulp_last_updated", "name", "state", "unblocked_at", "started_at", "finished_at", "worker"]
|
|
42
42
|
|
|
43
43
|
model_config = ConfigDict(
|
|
@@ -97,6 +97,11 @@ class MinimalTaskResponse(BaseModel):
|
|
|
97
97
|
exclude=excluded_fields,
|
|
98
98
|
exclude_none=True,
|
|
99
99
|
)
|
|
100
|
+
# set to None if worker (nullable) is None
|
|
101
|
+
# and model_fields_set contains the field
|
|
102
|
+
if self.worker is None and "worker" in self.model_fields_set:
|
|
103
|
+
_dict['worker'] = None
|
|
104
|
+
|
|
100
105
|
return _dict
|
|
101
106
|
|
|
102
107
|
@classmethod
|
|
@@ -41,7 +41,7 @@ class TaskResponse(BaseModel):
|
|
|
41
41
|
started_at: Optional[datetime] = Field(default=None, description="Timestamp of when this task started execution.")
|
|
42
42
|
finished_at: Optional[datetime] = Field(default=None, description="Timestamp of when this task stopped execution.")
|
|
43
43
|
error: Optional[Dict[str, Any]] = Field(default=None, description="A JSON Object of a fatal error encountered during the execution of this task.")
|
|
44
|
-
worker: Optional[StrictStr] = Field(default=None, description="
|
|
44
|
+
worker: Optional[StrictStr] = Field(default=None, description="DEPRECATED - Always null")
|
|
45
45
|
parent_task: Optional[StrictStr] = Field(default=None, description="The parent task that spawned this task.")
|
|
46
46
|
child_tasks: Optional[List[StrictStr]] = Field(default=None, description="Any tasks spawned by this task.")
|
|
47
47
|
task_group: Optional[StrictStr] = Field(default=None, description="The task group that this task is a member of.")
|
|
@@ -123,6 +123,16 @@ class TaskResponse(BaseModel):
|
|
|
123
123
|
if _item_progress_reports:
|
|
124
124
|
_items.append(_item_progress_reports.to_dict())
|
|
125
125
|
_dict['progress_reports'] = _items
|
|
126
|
+
# set to None if created_by (nullable) is None
|
|
127
|
+
# and model_fields_set contains the field
|
|
128
|
+
if self.created_by is None and "created_by" in self.model_fields_set:
|
|
129
|
+
_dict['created_by'] = None
|
|
130
|
+
|
|
131
|
+
# set to None if worker (nullable) is None
|
|
132
|
+
# and model_fields_set contains the field
|
|
133
|
+
if self.worker is None and "worker" in self.model_fields_set:
|
|
134
|
+
_dict['worker'] = None
|
|
135
|
+
|
|
126
136
|
# set to None if result (nullable) is None
|
|
127
137
|
# and model_fields_set contains the field
|
|
128
138
|
if self.result is None and "result" in self.model_fields_set:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pulpcore-client
|
|
3
|
-
Version: 3.89.
|
|
3
|
+
Version: 3.89.2
|
|
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.89.
|
|
25
|
+
- Package version: 3.89.2
|
|
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)
|
|
@@ -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=RZ0_m2YzRZ3sLr8KqAVEPU60FQhegEcn2QTf8DE_czw,33581
|
|
4
|
+
pulpcore/client/pulpcore/api_client.py,sha256=KdvDwmoZcpn1yHoS66zToAOUmVqYG4PA2d9nsWvd9L4,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=iOl4Ak9gfIqCTPsakDcoPF4HkjbV9zS-nJ6FLsZE7Xs,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
|
|
@@ -62,7 +62,7 @@ pulpcore/client/pulpcore/models/__init__.py,sha256=i68BXgoQ6TL3jw3uyMyfH0YAgfVxp
|
|
|
62
62
|
pulpcore/client/pulpcore/models/access_policy.py,sha256=flRrKDlnCOwtoO28HB2VY2bDA4TxfRyvFXUpzdZBKbA,3180
|
|
63
63
|
pulpcore/client/pulpcore/models/access_policy_response.py,sha256=RfYJm3zCYb-EzarjXoVShnUvWc9jyY3qq1MvAZh8EIE,4580
|
|
64
64
|
pulpcore/client/pulpcore/models/app_status_response.py,sha256=s0wtjJdYQM6gVM4H54vRKvb8TSTt2bCMaHrxPy3kGNw,3064
|
|
65
|
-
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=
|
|
65
|
+
pulpcore/client/pulpcore/models/artifact_distribution_response.py,sha256=8UyFIdG2mFFt2qAQ4r1WqY3dcCJE-pltu--haHx1Kzg,4874
|
|
66
66
|
pulpcore/client/pulpcore/models/artifact_response.py,sha256=SEmeGfjkIOrGyv41aUEQxNHvqseLyhaj7mQJGd4VQfM,5761
|
|
67
67
|
pulpcore/client/pulpcore/models/async_operation_response.py,sha256=tu8pF5qBaB8ekyXKMWKGHxOGr27EmRLLKSSnaOCuPSw,2514
|
|
68
68
|
pulpcore/client/pulpcore/models/composite_content_guard.py,sha256=C9Azp6w1rsns_TID8nGicPwqVUKnYaC5BeuEl9ZsjCw,3124
|
|
@@ -97,7 +97,7 @@ pulpcore/client/pulpcore/models/header_content_guard_response.py,sha256=DtMyQwZl
|
|
|
97
97
|
pulpcore/client/pulpcore/models/import_response.py,sha256=TE1FR5yXqRyTZeVh7uzBqUEvO_pX1z77eU69imsAm_k,3517
|
|
98
98
|
pulpcore/client/pulpcore/models/login_response.py,sha256=ToCnJ09B0NBSRNk52RxU_RbHrZXewCXXhUY09MonRTQ,2760
|
|
99
99
|
pulpcore/client/pulpcore/models/method_enum.py,sha256=TJzoZFKWGG2af_E-LhXkn9E1WQOToc2qkDCgc6rUilY,845
|
|
100
|
-
pulpcore/client/pulpcore/models/minimal_task_response.py,sha256=
|
|
100
|
+
pulpcore/client/pulpcore/models/minimal_task_response.py,sha256=kmifcdXfqv4BwwD04hMpzYIyGHvSTGM4eBAKUvj3xoU,5017
|
|
101
101
|
pulpcore/client/pulpcore/models/multiple_artifact_content_response.py,sha256=INwhRrY1yRTQ1tD_e4Y_SbaFhyoJkyPwqnshs6TV4sE,4183
|
|
102
102
|
pulpcore/client/pulpcore/models/my_permissions_response.py,sha256=TyVgzd2Q-oDHujaPT7tVnSlHys0S-8j7VXynLg_0mgM,2461
|
|
103
103
|
pulpcore/client/pulpcore/models/nested_open_pgp_public_subkey.py,sha256=c-wMQBhPg8gIrkW1ssKVfR7UCJd3IhCJbjMyXV077Ks,2915
|
|
@@ -212,7 +212,7 @@ pulpcore/client/pulpcore/models/storage_class_enum.py,sha256=HkE36y5zLsTxBOaettF
|
|
|
212
212
|
pulpcore/client/pulpcore/models/storage_response.py,sha256=qRZVxoi4XAUFhFClNswIklc0SYxratn6NvXkbCaJVd8,3294
|
|
213
213
|
pulpcore/client/pulpcore/models/task_group_operation_response.py,sha256=g5dBvuA1PVQvV5BgWAuzB3cdxvu7H9l-m_Qoxh4WMvw,2569
|
|
214
214
|
pulpcore/client/pulpcore/models/task_group_response.py,sha256=oBvER0V5I7jldISekdMowQ1WMCENzSWtGCvGiAqNLzE,5750
|
|
215
|
-
pulpcore/client/pulpcore/models/task_response.py,sha256=
|
|
215
|
+
pulpcore/client/pulpcore/models/task_response.py,sha256=vxWpnFCxWmSYKr9dg7WF2YX008y7K0UkkG1CmbEEFpo,7431
|
|
216
216
|
pulpcore/client/pulpcore/models/task_schedule_response.py,sha256=ijy70FzD21c_1cGu8IUb5-mS53Yor5rt2coRnNQ-lMQ,4839
|
|
217
217
|
pulpcore/client/pulpcore/models/unset_label.py,sha256=WnWV9ibAg1S0cNy1wYO1AZ_LevaAw2I1oGrNDv7aZzw,2816
|
|
218
218
|
pulpcore/client/pulpcore/models/unset_label_response.py,sha256=fZqXde-Il2OMNq7O2oA1T9X9K5R9BIwg7vDMzBFKLcI,2965
|
|
@@ -232,7 +232,7 @@ pulpcore/client/pulpcore/models/user_role_response.py,sha256=gdT65lhf8Q5JKPO3MtA
|
|
|
232
232
|
pulpcore/client/pulpcore/models/version_response.py,sha256=x2cc0noiE44FODeI-qY1uQyU1GPQ7VTGDPWOoyHRb_k,2956
|
|
233
233
|
pulpcore/client/pulpcore/models/vulnerability_report_response.py,sha256=TaqBxkKR9d3um9r7UOJVKSJhLSNRYuFhWl5xo5mdtEA,3808
|
|
234
234
|
pulpcore/client/pulpcore/models/worker_response.py,sha256=03bmkhT_2ml_6rSXcTGBpQrPqfvb_ayYoD3FJ2_rRAU,4502
|
|
235
|
-
pulpcore_client-3.89.
|
|
236
|
-
pulpcore_client-3.89.
|
|
237
|
-
pulpcore_client-3.89.
|
|
238
|
-
pulpcore_client-3.89.
|
|
235
|
+
pulpcore_client-3.89.2.dist-info/METADATA,sha256=9E9adcmgzLr_DwCqrAEH309peCzpyCt7wR_hOcAheW4,49167
|
|
236
|
+
pulpcore_client-3.89.2.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
|
237
|
+
pulpcore_client-3.89.2.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
238
|
+
pulpcore_client-3.89.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|