crc-pulp-service-client 20251001.4__py3-none-any.whl → 20251002.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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crc-pulp_service-client
3
- Version: 20251001.4
3
+ Version: 20251002.1
4
4
  Summary: Pulp 3 API
5
5
  Home-page:
6
6
  Author: Pulp Team
@@ -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=V9fB-FAW7pczBi-v4lXbKM33a9snimVzK898ZaP9o-U,3340
3
+ pulpcore/client/pulp_service/__init__.py,sha256=cGt1Y0x9B_I7wafvBkXnx1PVKOb_H2Mr4t613z_IgW4,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=OuvkK0-vlO85-dVneXDvUl0zcJ7NLRXjBM2ykTJh71I,19686
6
+ pulpcore/client/pulp_service/configuration.py,sha256=iooYrI4ClRwHBSYCueNLsahcDyfO6oOT_6r-YBMJ5qs,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=nnc65bYAmBFww0OKSz2a0drsRZBx98eh3xzeGykYlpI,92230
16
+ pulpcore/client/pulp_service/api/tasks_api.py,sha256=VAAI0dYKJLiHZOGG-jpFBiU8TPHbXQ-L2KqevQAUQD4,90085
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=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,,
35
+ pulpcore/client/pulp_service/models/task_response.py,sha256=eObQXKMC0MEW0KHU_NpsxmztTUX65_sQzCZa7oM70EI,9008
36
+ crc_pulp_service_client-20251002.1.dist-info/METADATA,sha256=yaDDXgbQRlDp-ACF5mLfd3Of_731AxxmmJzWQ5Fmt6w,642
37
+ crc_pulp_service_client-20251002.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
38
+ crc_pulp_service_client-20251002.1.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
39
+ crc_pulp_service_client-20251002.1.dist-info/RECORD,,
@@ -15,7 +15,7 @@
15
15
  """ # noqa: E501
16
16
 
17
17
 
18
- __version__ = "20251001.4"
18
+ __version__ = "20251002.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_service.api.api_create_domain_api import ApiCreateDomainApi
@@ -100,8 +100,6 @@ 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,
105
103
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
106
104
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
107
105
  _request_timeout: Union[
@@ -233,10 +231,6 @@ class TasksApi:
233
231
  :type unblocked_at__range: List[datetime]
234
232
  :param worker:
235
233
  :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
240
234
  :param fields: A list of fields to include in the response.
241
235
  :type fields: List[str]
242
236
  :param exclude_fields: A list of fields to exclude from the response.
@@ -320,8 +314,6 @@ class TasksApi:
320
314
  unblocked_at__lte=unblocked_at__lte,
321
315
  unblocked_at__range=unblocked_at__range,
322
316
  worker=worker,
323
- worker__in=worker__in,
324
- worker__isnull=worker__isnull,
325
317
  fields=fields,
326
318
  exclude_fields=exclude_fields,
327
319
  _request_auth=_request_auth,
@@ -403,8 +395,6 @@ class TasksApi:
403
395
  unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
404
396
  unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
405
397
  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,
408
398
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
409
399
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
410
400
  _request_timeout: Union[
@@ -536,10 +526,6 @@ class TasksApi:
536
526
  :type unblocked_at__range: List[datetime]
537
527
  :param worker:
538
528
  :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
543
529
  :param fields: A list of fields to include in the response.
544
530
  :type fields: List[str]
545
531
  :param exclude_fields: A list of fields to exclude from the response.
@@ -623,8 +609,6 @@ class TasksApi:
623
609
  unblocked_at__lte=unblocked_at__lte,
624
610
  unblocked_at__range=unblocked_at__range,
625
611
  worker=worker,
626
- worker__in=worker__in,
627
- worker__isnull=worker__isnull,
628
612
  fields=fields,
629
613
  exclude_fields=exclude_fields,
630
614
  _request_auth=_request_auth,
@@ -706,8 +690,6 @@ class TasksApi:
706
690
  unblocked_at__lte: Annotated[Optional[datetime], Field(description="Filter results where unblocked_at is less than or equal to value")] = None,
707
691
  unblocked_at__range: Annotated[Optional[List[datetime]], Field(description="Filter results where unblocked_at is between two comma separated values")] = None,
708
692
  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,
711
693
  fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
712
694
  exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
713
695
  _request_timeout: Union[
@@ -839,10 +821,6 @@ class TasksApi:
839
821
  :type unblocked_at__range: List[datetime]
840
822
  :param worker:
841
823
  :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
846
824
  :param fields: A list of fields to include in the response.
847
825
  :type fields: List[str]
848
826
  :param exclude_fields: A list of fields to exclude from the response.
@@ -926,8 +904,6 @@ class TasksApi:
926
904
  unblocked_at__lte=unblocked_at__lte,
927
905
  unblocked_at__range=unblocked_at__range,
928
906
  worker=worker,
929
- worker__in=worker__in,
930
- worker__isnull=worker__isnull,
931
907
  fields=fields,
932
908
  exclude_fields=exclude_fields,
933
909
  _request_auth=_request_auth,
@@ -1004,8 +980,6 @@ class TasksApi:
1004
980
  unblocked_at__lte,
1005
981
  unblocked_at__range,
1006
982
  worker,
1007
- worker__in,
1008
- worker__isnull,
1009
983
  fields,
1010
984
  exclude_fields,
1011
985
  _request_auth,
@@ -1031,7 +1005,6 @@ class TasksApi:
1031
1005
  'started_at__range': 'csv',
1032
1006
  'state__in': 'csv',
1033
1007
  'unblocked_at__range': 'csv',
1034
- 'worker__in': 'csv',
1035
1008
  'fields': 'multi',
1036
1009
  'exclude_fields': 'multi',
1037
1010
  }
@@ -1447,14 +1420,6 @@ class TasksApi:
1447
1420
 
1448
1421
  _query_params.append(('worker', worker))
1449
1422
 
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
-
1458
1423
  if fields is not None:
1459
1424
 
1460
1425
  _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-ubj90w.apps.crc-eph.r9lp.p1.openshiftapps.com" if host is None else host
228
+ self._base_path = "https://env-ephemeral-pkxxxh.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.4".\
560
+ "SDK Package Version: 20251002.1".\
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-ubj90w.apps.crc-eph.r9lp.p1.openshiftapps.com",
570
+ 'url': "https://env-ephemeral-pkxxxh.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="The worker associated with this task. This field is empty if a worker is not yet assigned.")
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.")
@@ -133,6 +133,16 @@ 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
+
136
146
  # set to None if result (nullable) is None
137
147
  # and model_fields_set contains the field
138
148
  if self.result is None and "result" in self.model_fields_set: