crc-pulp-service-client 20251001.3__py3-none-any.whl → 20251001.4__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.
- {crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/METADATA +1 -1
- {crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/RECORD +8 -8
- pulpcore/client/pulp_service/__init__.py +1 -1
- pulpcore/client/pulp_service/api/tasks_api.py +35 -0
- pulpcore/client/pulp_service/configuration.py +3 -3
- pulpcore/client/pulp_service/models/task_response.py +1 -11
- {crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/WHEEL +0 -0
- {crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/top_level.txt +0 -0
{crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/RECORD
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
pulpcore/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
2
2
|
pulpcore/client/__init__.py,sha256=QDJyS5jtJnGFsSuOx43ZvLBCOrHImm8NrZk5f9URWdk,75
|
|
3
|
-
pulpcore/client/pulp_service/__init__.py,sha256=
|
|
3
|
+
pulpcore/client/pulp_service/__init__.py,sha256=V9fB-FAW7pczBi-v4lXbKM33a9snimVzK898ZaP9o-U,3340
|
|
4
4
|
pulpcore/client/pulp_service/api_client.py,sha256=bUn0ja4iSmsk-aqlEycpPJ_A2kS3Z8Od7rN0w8WXpS0,27521
|
|
5
5
|
pulpcore/client/pulp_service/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
6
|
-
pulpcore/client/pulp_service/configuration.py,sha256=
|
|
6
|
+
pulpcore/client/pulp_service/configuration.py,sha256=OuvkK0-vlO85-dVneXDvUl0zcJ7NLRXjBM2ykTJh71I,19686
|
|
7
7
|
pulpcore/client/pulp_service/exceptions.py,sha256=voqdIkPGpfNSUF9SsFqERflJMVs-uYFH60fd1rcsz6Y,5957
|
|
8
8
|
pulpcore/client/pulp_service/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
9
|
pulpcore/client/pulp_service/rest.py,sha256=XBy6U2uDmD3JVaVMJshqRczy8zYdLoUpM0tT5uu10ao,9411
|
|
@@ -13,7 +13,7 @@ pulpcore/client/pulp_service/api/api_debug_auth_header_api.py,sha256=72p90hUugvu
|
|
|
13
13
|
pulpcore/client/pulp_service/api/api_test_random_lock_tasks_api.py,sha256=y3bW5lr5xGYfOCkltuTiBrPP_ldpk78-SrNlnTmKgrg,12966
|
|
14
14
|
pulpcore/client/pulp_service/api/api_test_tasks_api.py,sha256=SXhf3JT4Mfi7-DifFxTzA04eexVVLU09Dt7f_qpUsi4,12944
|
|
15
15
|
pulpcore/client/pulp_service/api/contentguards_feature_api.py,sha256=DhcraIj8gYvBsQUrDek2cnEay1vNGMmmlHCEOonxbxY,149362
|
|
16
|
-
pulpcore/client/pulp_service/api/tasks_api.py,sha256=
|
|
16
|
+
pulpcore/client/pulp_service/api/tasks_api.py,sha256=nnc65bYAmBFww0OKSz2a0drsRZBx98eh3xzeGykYlpI,92230
|
|
17
17
|
pulpcore/client/pulp_service/api/vuln_report_service_api.py,sha256=VzFnDKGMxqIjZiNewwm7bQNGSEdIXcrRcf25uJkjt44,65026
|
|
18
18
|
pulpcore/client/pulp_service/models/__init__.py,sha256=aGDJ9ydX_bSso78M8DsQ0BGIP6dn1MpUICJbSoDoJm8,2055
|
|
19
19
|
pulpcore/client/pulp_service/models/async_operation_response.py,sha256=IbcgvoCxfMCL9HXaPJDPLgDo8IKE12QKstLIxzhegt8,2558
|
|
@@ -32,8 +32,8 @@ pulpcore/client/pulp_service/models/service_feature_content_guard.py,sha256=AFrY
|
|
|
32
32
|
pulpcore/client/pulp_service/models/service_feature_content_guard_response.py,sha256=Jsuil4ljXafL3cGgk1b0u-uNyEguCqLSA3tGEi6vHE0,4668
|
|
33
33
|
pulpcore/client/pulp_service/models/service_vulnerability_report_response.py,sha256=q2xsiNvYK5WCIgvZFmf0DWXkLO1skj9hvApYtegsvgI,3880
|
|
34
34
|
pulpcore/client/pulp_service/models/storage_class_enum.py,sha256=BwLtMdj6LexVjhHIHELE1Hlw6c9dU6SCytz6f0D5c0E,1383
|
|
35
|
-
pulpcore/client/pulp_service/models/task_response.py,sha256=
|
|
36
|
-
crc_pulp_service_client-20251001.
|
|
37
|
-
crc_pulp_service_client-20251001.
|
|
38
|
-
crc_pulp_service_client-20251001.
|
|
39
|
-
crc_pulp_service_client-20251001.
|
|
35
|
+
pulpcore/client/pulp_service/models/task_response.py,sha256=4Pp5cJ8QFhkUgdwmVfsHxYV4hTEZP8BGqcQimmf62AY,8644
|
|
36
|
+
crc_pulp_service_client-20251001.4.dist-info/METADATA,sha256=Hf3Nc8xy91OJvfvxrZZD8dwPRZSU4vf8z9cYas3vK-Y,642
|
|
37
|
+
crc_pulp_service_client-20251001.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
38
|
+
crc_pulp_service_client-20251001.4.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
39
|
+
crc_pulp_service_client-20251001.4.dist-info/RECORD,,
|
|
@@ -100,6 +100,8 @@ class TasksApi:
|
|
|
100
100
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
101
101
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
102
102
|
worker: Optional[StrictStr] = None,
|
|
103
|
+
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
104
|
+
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
103
105
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
104
106
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
105
107
|
_request_timeout: Union[
|
|
@@ -231,6 +233,10 @@ class TasksApi:
|
|
|
231
233
|
:type unblocked_at__range: List[datetime]
|
|
232
234
|
:param worker:
|
|
233
235
|
:type worker: str
|
|
236
|
+
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
237
|
+
:type worker__in: List[str]
|
|
238
|
+
:param worker__isnull: Filter results where worker has a null value
|
|
239
|
+
:type worker__isnull: bool
|
|
234
240
|
:param fields: A list of fields to include in the response.
|
|
235
241
|
:type fields: List[str]
|
|
236
242
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -314,6 +320,8 @@ class TasksApi:
|
|
|
314
320
|
unblocked_at__lte=unblocked_at__lte,
|
|
315
321
|
unblocked_at__range=unblocked_at__range,
|
|
316
322
|
worker=worker,
|
|
323
|
+
worker__in=worker__in,
|
|
324
|
+
worker__isnull=worker__isnull,
|
|
317
325
|
fields=fields,
|
|
318
326
|
exclude_fields=exclude_fields,
|
|
319
327
|
_request_auth=_request_auth,
|
|
@@ -395,6 +403,8 @@ class TasksApi:
|
|
|
395
403
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
396
404
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
397
405
|
worker: Optional[StrictStr] = None,
|
|
406
|
+
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
407
|
+
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
398
408
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
399
409
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
400
410
|
_request_timeout: Union[
|
|
@@ -526,6 +536,10 @@ class TasksApi:
|
|
|
526
536
|
:type unblocked_at__range: List[datetime]
|
|
527
537
|
:param worker:
|
|
528
538
|
:type worker: str
|
|
539
|
+
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
540
|
+
:type worker__in: List[str]
|
|
541
|
+
:param worker__isnull: Filter results where worker has a null value
|
|
542
|
+
:type worker__isnull: bool
|
|
529
543
|
:param fields: A list of fields to include in the response.
|
|
530
544
|
:type fields: List[str]
|
|
531
545
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -609,6 +623,8 @@ class TasksApi:
|
|
|
609
623
|
unblocked_at__lte=unblocked_at__lte,
|
|
610
624
|
unblocked_at__range=unblocked_at__range,
|
|
611
625
|
worker=worker,
|
|
626
|
+
worker__in=worker__in,
|
|
627
|
+
worker__isnull=worker__isnull,
|
|
612
628
|
fields=fields,
|
|
613
629
|
exclude_fields=exclude_fields,
|
|
614
630
|
_request_auth=_request_auth,
|
|
@@ -690,6 +706,8 @@ class TasksApi:
|
|
|
690
706
|
unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
|
|
691
707
|
unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
|
|
692
708
|
worker: Optional[StrictStr] = None,
|
|
709
|
+
worker__in: Annotated[Optional[List[StrictStr]], Field(description="Filter results where worker is in a comma-separated list of values")] = None,
|
|
710
|
+
worker__isnull: Annotated[Optional[StrictBool], Field(description="Filter results where worker has a null value")] = None,
|
|
693
711
|
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
694
712
|
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
695
713
|
_request_timeout: Union[
|
|
@@ -821,6 +839,10 @@ class TasksApi:
|
|
|
821
839
|
:type unblocked_at__range: List[datetime]
|
|
822
840
|
:param worker:
|
|
823
841
|
:type worker: str
|
|
842
|
+
:param worker__in: Filter results where worker is in a comma-separated list of values
|
|
843
|
+
:type worker__in: List[str]
|
|
844
|
+
:param worker__isnull: Filter results where worker has a null value
|
|
845
|
+
:type worker__isnull: bool
|
|
824
846
|
:param fields: A list of fields to include in the response.
|
|
825
847
|
:type fields: List[str]
|
|
826
848
|
:param exclude_fields: A list of fields to exclude from the response.
|
|
@@ -904,6 +926,8 @@ class TasksApi:
|
|
|
904
926
|
unblocked_at__lte=unblocked_at__lte,
|
|
905
927
|
unblocked_at__range=unblocked_at__range,
|
|
906
928
|
worker=worker,
|
|
929
|
+
worker__in=worker__in,
|
|
930
|
+
worker__isnull=worker__isnull,
|
|
907
931
|
fields=fields,
|
|
908
932
|
exclude_fields=exclude_fields,
|
|
909
933
|
_request_auth=_request_auth,
|
|
@@ -980,6 +1004,8 @@ class TasksApi:
|
|
|
980
1004
|
unblocked_at__lte,
|
|
981
1005
|
unblocked_at__range,
|
|
982
1006
|
worker,
|
|
1007
|
+
worker__in,
|
|
1008
|
+
worker__isnull,
|
|
983
1009
|
fields,
|
|
984
1010
|
exclude_fields,
|
|
985
1011
|
_request_auth,
|
|
@@ -1005,6 +1031,7 @@ class TasksApi:
|
|
|
1005
1031
|
'started_at__range': 'csv',
|
|
1006
1032
|
'state__in': 'csv',
|
|
1007
1033
|
'unblocked_at__range': 'csv',
|
|
1034
|
+
'worker__in': 'csv',
|
|
1008
1035
|
'fields': 'multi',
|
|
1009
1036
|
'exclude_fields': 'multi',
|
|
1010
1037
|
}
|
|
@@ -1420,6 +1447,14 @@ class TasksApi:
|
|
|
1420
1447
|
|
|
1421
1448
|
_query_params.append(('worker', worker))
|
|
1422
1449
|
|
|
1450
|
+
if worker__in is not None:
|
|
1451
|
+
|
|
1452
|
+
_query_params.append(('worker__in', worker__in))
|
|
1453
|
+
|
|
1454
|
+
if worker__isnull is not None:
|
|
1455
|
+
|
|
1456
|
+
_query_params.append(('worker__isnull', worker__isnull))
|
|
1457
|
+
|
|
1423
1458
|
if fields is not None:
|
|
1424
1459
|
|
|
1425
1460
|
_query_params.append(('fields', fields))
|
|
@@ -225,7 +225,7 @@ conf = pulpcore.client.pulp_service.Configuration(
|
|
|
225
225
|
) -> None:
|
|
226
226
|
"""Constructor
|
|
227
227
|
"""
|
|
228
|
-
self._base_path = "https://env-ephemeral-
|
|
228
|
+
self._base_path = "https://env-ephemeral-ubj90w.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
|
|
229
229
|
"""Default Base url
|
|
230
230
|
"""
|
|
231
231
|
self.server_index = 0 if server_index is None and host is None else server_index
|
|
@@ -557,7 +557,7 @@ conf = pulpcore.client.pulp_service.Configuration(
|
|
|
557
557
|
"OS: {env}\n"\
|
|
558
558
|
"Python Version: {pyversion}\n"\
|
|
559
559
|
"Version of the API: v3\n"\
|
|
560
|
-
"SDK Package Version: 20251001.
|
|
560
|
+
"SDK Package Version: 20251001.4".\
|
|
561
561
|
format(env=sys.platform, pyversion=sys.version)
|
|
562
562
|
|
|
563
563
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -567,7 +567,7 @@ conf = pulpcore.client.pulp_service.Configuration(
|
|
|
567
567
|
"""
|
|
568
568
|
return [
|
|
569
569
|
{
|
|
570
|
-
'url': "https://env-ephemeral-
|
|
570
|
+
'url': "https://env-ephemeral-ubj90w.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
|
@@ -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="The worker associated with this task. This field is empty if a worker is not yet assigned.")
|
|
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.")
|
|
@@ -133,16 +133,6 @@ class TaskResponse(BaseModel):
|
|
|
133
133
|
if _item_progress_reports:
|
|
134
134
|
_items.append(_item_progress_reports.to_dict())
|
|
135
135
|
_dict['progress_reports'] = _items
|
|
136
|
-
# set to None if created_by (nullable) is None
|
|
137
|
-
# and model_fields_set contains the field
|
|
138
|
-
if self.created_by is None and "created_by" in self.model_fields_set:
|
|
139
|
-
_dict['created_by'] = None
|
|
140
|
-
|
|
141
|
-
# set to None if worker (nullable) is None
|
|
142
|
-
# and model_fields_set contains the field
|
|
143
|
-
if self.worker is None and "worker" in self.model_fields_set:
|
|
144
|
-
_dict['worker'] = None
|
|
145
|
-
|
|
146
136
|
# set to None if result (nullable) is None
|
|
147
137
|
# and model_fields_set contains the field
|
|
148
138
|
if self.result is None and "result" in self.model_fields_set:
|
{crc_pulp_service_client-20251001.3.dist-info → crc_pulp_service_client-20251001.4.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|