crc-pulp-service-client 20260109.2__py3-none-any.whl → 20260115.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-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/METADATA +152 -54
- {crc_pulp_service_client-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/RECORD +8 -7
- pulpcore/client/pulp_service/__init__.py +2 -1
- pulpcore/client/pulp_service/api/__init__.py +1 -0
- pulpcore/client/pulp_service/api/api_debug_release_task_locks_api.py +332 -0
- pulpcore/client/pulp_service/configuration.py +3 -3
- {crc_pulp_service_client-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/WHEEL +0 -0
- {crc_pulp_service_client-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crc-pulp_service-client
|
|
3
|
-
Version:
|
|
3
|
+
Version: 20260115.4
|
|
4
4
|
Summary: Pulp 3 API
|
|
5
5
|
Home-page:
|
|
6
6
|
Author: Pulp Team
|
|
@@ -23,7 +23,7 @@ Dynamic: summary
|
|
|
23
23
|
|
|
24
24
|
# pulpcore.client.pulp_service.ApiCreateDomainApi
|
|
25
25
|
|
|
26
|
-
All URIs are relative to *https://env-ephemeral-
|
|
26
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
27
27
|
|
|
28
28
|
Method | HTTP request | Description
|
|
29
29
|
------------- | ------------- | -------------
|
|
@@ -50,10 +50,10 @@ from pulpcore.client.pulp_service.models.domain_response import DomainResponse
|
|
|
50
50
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
51
51
|
from pprint import pprint
|
|
52
52
|
|
|
53
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
53
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
54
54
|
# See configuration.py for a list of all supported configuration parameters.
|
|
55
55
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
56
|
-
host = "https://env-ephemeral-
|
|
56
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
57
57
|
)
|
|
58
58
|
|
|
59
59
|
# The client must configure the authentication and authorization parameters
|
|
@@ -124,7 +124,7 @@ Name | Type | Description | Notes
|
|
|
124
124
|
|
|
125
125
|
# pulpcore.client.pulp_service.ApiDebugAuthHeaderApi
|
|
126
126
|
|
|
127
|
-
All URIs are relative to *https://env-ephemeral-
|
|
127
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
128
128
|
|
|
129
129
|
Method | HTTP request | Description
|
|
130
130
|
------------- | ------------- | -------------
|
|
@@ -146,10 +146,10 @@ import pulpcore.client.pulp_service
|
|
|
146
146
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
147
147
|
from pprint import pprint
|
|
148
148
|
|
|
149
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
149
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
150
150
|
# See configuration.py for a list of all supported configuration parameters.
|
|
151
151
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
152
|
-
host = "https://env-ephemeral-
|
|
152
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
153
153
|
)
|
|
154
154
|
|
|
155
155
|
|
|
@@ -201,7 +201,7 @@ No authorization required
|
|
|
201
201
|
|
|
202
202
|
# pulpcore.client.pulp_service.ApiDebugDatabaseTriggersApi
|
|
203
203
|
|
|
204
|
-
All URIs are relative to *https://env-ephemeral-
|
|
204
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
205
205
|
|
|
206
206
|
Method | HTTP request | Description
|
|
207
207
|
------------- | ------------- | -------------
|
|
@@ -223,10 +223,10 @@ import pulpcore.client.pulp_service
|
|
|
223
223
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
224
224
|
from pprint import pprint
|
|
225
225
|
|
|
226
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
226
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
227
227
|
# See configuration.py for a list of all supported configuration parameters.
|
|
228
228
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
229
|
-
host = "https://env-ephemeral-
|
|
229
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
230
230
|
)
|
|
231
231
|
|
|
232
232
|
|
|
@@ -276,9 +276,107 @@ No authorization required
|
|
|
276
276
|
|
|
277
277
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
278
278
|
|
|
279
|
+
# pulpcore.client.pulp_service.ApiDebugReleaseTaskLocksApi
|
|
280
|
+
|
|
281
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
282
|
+
|
|
283
|
+
Method | HTTP request | Description
|
|
284
|
+
------------- | ------------- | -------------
|
|
285
|
+
[**get**](ApiDebugReleaseTaskLocksApi.md#get) | **GET** /api/pulp/debug/release-task-locks/ |
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
# **get**
|
|
289
|
+
> get(x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
Release all Redis locks for a given task UUID. Query parameters: task_id: UUID of the task to release locks for Returns: 200: Locks released successfully 400: Missing or invalid task_id parameter 404: Task not found 500: Error releasing locks
|
|
294
|
+
|
|
295
|
+
### Example
|
|
296
|
+
|
|
297
|
+
* OAuth Authentication (json_header_remote_authentication):
|
|
298
|
+
* Basic Authentication (basicAuth):
|
|
299
|
+
* Api Key Authentication (cookieAuth):
|
|
300
|
+
|
|
301
|
+
```python
|
|
302
|
+
import pulpcore.client.pulp_service
|
|
303
|
+
from pulpcore.client.pulp_service.rest import ApiException
|
|
304
|
+
from pprint import pprint
|
|
305
|
+
|
|
306
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
307
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
308
|
+
configuration = pulpcore.client.pulp_service.Configuration(
|
|
309
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
# The client must configure the authentication and authorization parameters
|
|
313
|
+
# in accordance with the API server security policy.
|
|
314
|
+
# Examples for each auth method are provided below, use the example that
|
|
315
|
+
# satisfies your auth use case.
|
|
316
|
+
|
|
317
|
+
configuration.access_token = os.environ["ACCESS_TOKEN"]
|
|
318
|
+
|
|
319
|
+
# Configure HTTP basic authorization: basicAuth
|
|
320
|
+
configuration = pulpcore.client.pulp_service.Configuration(
|
|
321
|
+
username = os.environ["USERNAME"],
|
|
322
|
+
password = os.environ["PASSWORD"]
|
|
323
|
+
)
|
|
324
|
+
|
|
325
|
+
# Configure API key authorization: cookieAuth
|
|
326
|
+
configuration.api_key['cookieAuth'] = os.environ["API_KEY"]
|
|
327
|
+
|
|
328
|
+
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
|
|
329
|
+
# configuration.api_key_prefix['cookieAuth'] = 'Bearer'
|
|
330
|
+
|
|
331
|
+
# Enter a context with an instance of the API client
|
|
332
|
+
with pulpcore.client.pulp_service.ApiClient(configuration) as api_client:
|
|
333
|
+
# Create an instance of the API class
|
|
334
|
+
api_instance = pulpcore.client.pulp_service.ApiDebugReleaseTaskLocksApi(api_client)
|
|
335
|
+
x_task_diagnostics = ['x_task_diagnostics_example'] # List[str] | List of profilers to use on tasks. (optional)
|
|
336
|
+
fields = ['fields_example'] # List[str] | A list of fields to include in the response. (optional)
|
|
337
|
+
exclude_fields = ['exclude_fields_example'] # List[str] | A list of fields to exclude from the response. (optional)
|
|
338
|
+
|
|
339
|
+
try:
|
|
340
|
+
api_instance.get(x_task_diagnostics=x_task_diagnostics, fields=fields, exclude_fields=exclude_fields)
|
|
341
|
+
except Exception as e:
|
|
342
|
+
print("Exception when calling ApiDebugReleaseTaskLocksApi->get: %s\n" % e)
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
### Parameters
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
Name | Type | Description | Notes
|
|
351
|
+
------------- | ------------- | ------------- | -------------
|
|
352
|
+
**x_task_diagnostics** | [**List[str]**](str.md)| List of profilers to use on tasks. | [optional]
|
|
353
|
+
**fields** | [**List[str]**](str.md)| A list of fields to include in the response. | [optional]
|
|
354
|
+
**exclude_fields** | [**List[str]**](str.md)| A list of fields to exclude from the response. | [optional]
|
|
355
|
+
|
|
356
|
+
### Return type
|
|
357
|
+
|
|
358
|
+
void (empty response body)
|
|
359
|
+
|
|
360
|
+
### Authorization
|
|
361
|
+
|
|
362
|
+
[json_header_remote_authentication](../README.md#json_header_remote_authentication), [basicAuth](../README.md#basicAuth), [cookieAuth](../README.md#cookieAuth)
|
|
363
|
+
|
|
364
|
+
### HTTP request headers
|
|
365
|
+
|
|
366
|
+
- **Content-Type**: Not defined
|
|
367
|
+
- **Accept**: Not defined
|
|
368
|
+
|
|
369
|
+
### HTTP response details
|
|
370
|
+
|
|
371
|
+
| Status code | Description | Response headers |
|
|
372
|
+
|-------------|-------------|------------------|
|
|
373
|
+
**200** | No response body | - |
|
|
374
|
+
|
|
375
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
376
|
+
|
|
279
377
|
# pulpcore.client.pulp_service.ApiRdsConnectionTestsApi
|
|
280
378
|
|
|
281
|
-
All URIs are relative to *https://env-ephemeral-
|
|
379
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
282
380
|
|
|
283
381
|
Method | HTTP request | Description
|
|
284
382
|
------------- | ------------- | -------------
|
|
@@ -301,10 +399,10 @@ import pulpcore.client.pulp_service
|
|
|
301
399
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
302
400
|
from pprint import pprint
|
|
303
401
|
|
|
304
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
402
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
305
403
|
# See configuration.py for a list of all supported configuration parameters.
|
|
306
404
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
307
|
-
host = "https://env-ephemeral-
|
|
405
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
308
406
|
)
|
|
309
407
|
|
|
310
408
|
|
|
@@ -370,10 +468,10 @@ from pulpcore.client.pulp_service.models.async_operation_response import AsyncOp
|
|
|
370
468
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
371
469
|
from pprint import pprint
|
|
372
470
|
|
|
373
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
471
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
374
472
|
# See configuration.py for a list of all supported configuration parameters.
|
|
375
473
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
376
|
-
host = "https://env-ephemeral-
|
|
474
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
377
475
|
)
|
|
378
476
|
|
|
379
477
|
|
|
@@ -424,7 +522,7 @@ No authorization required
|
|
|
424
522
|
|
|
425
523
|
# pulpcore.client.pulp_service.ApiTestRandomLockTasksApi
|
|
426
524
|
|
|
427
|
-
All URIs are relative to *https://env-ephemeral-
|
|
525
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
428
526
|
|
|
429
527
|
Method | HTTP request | Description
|
|
430
528
|
------------- | ------------- | -------------
|
|
@@ -444,10 +542,10 @@ import pulpcore.client.pulp_service
|
|
|
444
542
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
445
543
|
from pprint import pprint
|
|
446
544
|
|
|
447
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
545
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
448
546
|
# See configuration.py for a list of all supported configuration parameters.
|
|
449
547
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
450
|
-
host = "https://env-ephemeral-
|
|
548
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
451
549
|
)
|
|
452
550
|
|
|
453
551
|
|
|
@@ -499,7 +597,7 @@ No authorization required
|
|
|
499
597
|
|
|
500
598
|
# pulpcore.client.pulp_service.ApiTestTasksApi
|
|
501
599
|
|
|
502
|
-
All URIs are relative to *https://env-ephemeral-
|
|
600
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
503
601
|
|
|
504
602
|
Method | HTTP request | Description
|
|
505
603
|
------------- | ------------- | -------------
|
|
@@ -519,10 +617,10 @@ import pulpcore.client.pulp_service
|
|
|
519
617
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
520
618
|
from pprint import pprint
|
|
521
619
|
|
|
522
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
620
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
523
621
|
# See configuration.py for a list of all supported configuration parameters.
|
|
524
622
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
525
|
-
host = "https://env-ephemeral-
|
|
623
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
526
624
|
)
|
|
527
625
|
|
|
528
626
|
|
|
@@ -604,7 +702,7 @@ async_operation_response_from_dict = AsyncOperationResponse.from_dict(async_oper
|
|
|
604
702
|
|
|
605
703
|
# pulpcore.client.pulp_service.ContentguardsFeatureApi
|
|
606
704
|
|
|
607
|
-
All URIs are relative to *https://env-ephemeral-
|
|
705
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
608
706
|
|
|
609
707
|
Method | HTTP request | Description
|
|
610
708
|
------------- | ------------- | -------------
|
|
@@ -640,10 +738,10 @@ from pulpcore.client.pulp_service.models.nested_role_response import NestedRoleR
|
|
|
640
738
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
641
739
|
from pprint import pprint
|
|
642
740
|
|
|
643
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
741
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
644
742
|
# See configuration.py for a list of all supported configuration parameters.
|
|
645
743
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
646
|
-
host = "https://env-ephemeral-
|
|
744
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
647
745
|
)
|
|
648
746
|
|
|
649
747
|
# The client must configure the authentication and authorization parameters
|
|
@@ -734,10 +832,10 @@ from pulpcore.client.pulp_service.models.service_feature_content_guard_response
|
|
|
734
832
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
735
833
|
from pprint import pprint
|
|
736
834
|
|
|
737
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
835
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
738
836
|
# See configuration.py for a list of all supported configuration parameters.
|
|
739
837
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
740
|
-
host = "https://env-ephemeral-
|
|
838
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
741
839
|
)
|
|
742
840
|
|
|
743
841
|
# The client must configure the authentication and authorization parameters
|
|
@@ -826,10 +924,10 @@ import pulpcore.client.pulp_service
|
|
|
826
924
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
827
925
|
from pprint import pprint
|
|
828
926
|
|
|
829
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
927
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
830
928
|
# See configuration.py for a list of all supported configuration parameters.
|
|
831
929
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
832
|
-
host = "https://env-ephemeral-
|
|
930
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
833
931
|
)
|
|
834
932
|
|
|
835
933
|
# The client must configure the authentication and authorization parameters
|
|
@@ -915,10 +1013,10 @@ from pulpcore.client.pulp_service.models.paginatedservice_feature_content_guard_
|
|
|
915
1013
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
916
1014
|
from pprint import pprint
|
|
917
1015
|
|
|
918
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1016
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
919
1017
|
# See configuration.py for a list of all supported configuration parameters.
|
|
920
1018
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
921
|
-
host = "https://env-ephemeral-
|
|
1019
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
922
1020
|
)
|
|
923
1021
|
|
|
924
1022
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1042,10 +1140,10 @@ from pulpcore.client.pulp_service.models.object_roles_response import ObjectRole
|
|
|
1042
1140
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1043
1141
|
from pprint import pprint
|
|
1044
1142
|
|
|
1045
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1143
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1046
1144
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1047
1145
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1048
|
-
host = "https://env-ephemeral-
|
|
1146
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1049
1147
|
)
|
|
1050
1148
|
|
|
1051
1149
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1137,10 +1235,10 @@ from pulpcore.client.pulp_service.models.my_permissions_response import MyPermis
|
|
|
1137
1235
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1138
1236
|
from pprint import pprint
|
|
1139
1237
|
|
|
1140
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1238
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1141
1239
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1142
1240
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1143
|
-
host = "https://env-ephemeral-
|
|
1241
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1144
1242
|
)
|
|
1145
1243
|
|
|
1146
1244
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1233,10 +1331,10 @@ from pulpcore.client.pulp_service.models.service_feature_content_guard_response
|
|
|
1233
1331
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1234
1332
|
from pprint import pprint
|
|
1235
1333
|
|
|
1236
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1334
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1237
1335
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1238
1336
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1239
|
-
host = "https://env-ephemeral-
|
|
1337
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1240
1338
|
)
|
|
1241
1339
|
|
|
1242
1340
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1326,10 +1424,10 @@ from pulpcore.client.pulp_service.models.service_feature_content_guard_response
|
|
|
1326
1424
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1327
1425
|
from pprint import pprint
|
|
1328
1426
|
|
|
1329
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1427
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1330
1428
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1331
1429
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1332
|
-
host = "https://env-ephemeral-
|
|
1430
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1333
1431
|
)
|
|
1334
1432
|
|
|
1335
1433
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1422,10 +1520,10 @@ from pulpcore.client.pulp_service.models.nested_role_response import NestedRoleR
|
|
|
1422
1520
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1423
1521
|
from pprint import pprint
|
|
1424
1522
|
|
|
1425
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1523
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1426
1524
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1427
1525
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1428
|
-
host = "https://env-ephemeral-
|
|
1526
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1429
1527
|
)
|
|
1430
1528
|
|
|
1431
1529
|
# The client must configure the authentication and authorization parameters
|
|
@@ -1516,10 +1614,10 @@ from pulpcore.client.pulp_service.models.service_feature_content_guard_response
|
|
|
1516
1614
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
1517
1615
|
from pprint import pprint
|
|
1518
1616
|
|
|
1519
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
1617
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
1520
1618
|
# See configuration.py for a list of all supported configuration parameters.
|
|
1521
1619
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
1522
|
-
host = "https://env-ephemeral-
|
|
1620
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
1523
1621
|
)
|
|
1524
1622
|
|
|
1525
1623
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2127,7 +2225,7 @@ task_response_from_dict = TaskResponse.from_dict(task_response_dict)
|
|
|
2127
2225
|
|
|
2128
2226
|
# pulpcore.client.pulp_service.TasksApi
|
|
2129
2227
|
|
|
2130
|
-
All URIs are relative to *https://env-ephemeral-
|
|
2228
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
2131
2229
|
|
|
2132
2230
|
Method | HTTP request | Description
|
|
2133
2231
|
------------- | ------------- | -------------
|
|
@@ -2153,10 +2251,10 @@ from pulpcore.client.pulp_service.models.paginated_task_response_list import Pag
|
|
|
2153
2251
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
2154
2252
|
from pprint import pprint
|
|
2155
2253
|
|
|
2156
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2254
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2157
2255
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2158
2256
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
2159
|
-
host = "https://env-ephemeral-
|
|
2257
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2160
2258
|
)
|
|
2161
2259
|
|
|
2162
2260
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2338,7 +2436,7 @@ Name | Type | Description | Notes
|
|
|
2338
2436
|
|
|
2339
2437
|
# pulpcore.client.pulp_service.VulnReportServiceApi
|
|
2340
2438
|
|
|
2341
|
-
All URIs are relative to *https://env-ephemeral-
|
|
2439
|
+
All URIs are relative to *https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com*
|
|
2342
2440
|
|
|
2343
2441
|
Method | HTTP request | Description
|
|
2344
2442
|
------------- | ------------- | -------------
|
|
@@ -2367,10 +2465,10 @@ from pulpcore.client.pulp_service.models.async_operation_response import AsyncOp
|
|
|
2367
2465
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
2368
2466
|
from pprint import pprint
|
|
2369
2467
|
|
|
2370
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2468
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2371
2469
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2372
2470
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
2373
|
-
host = "https://env-ephemeral-
|
|
2471
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2374
2472
|
)
|
|
2375
2473
|
|
|
2376
2474
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2461,10 +2559,10 @@ import pulpcore.client.pulp_service
|
|
|
2461
2559
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
2462
2560
|
from pprint import pprint
|
|
2463
2561
|
|
|
2464
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2562
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2465
2563
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2466
2564
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
2467
|
-
host = "https://env-ephemeral-
|
|
2565
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2468
2566
|
)
|
|
2469
2567
|
|
|
2470
2568
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2550,10 +2648,10 @@ from pulpcore.client.pulp_service.models.paginatedservice_vulnerability_report_r
|
|
|
2550
2648
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
2551
2649
|
from pprint import pprint
|
|
2552
2650
|
|
|
2553
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2651
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2554
2652
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2555
2653
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
2556
|
-
host = "https://env-ephemeral-
|
|
2654
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2557
2655
|
)
|
|
2558
2656
|
|
|
2559
2657
|
# The client must configure the authentication and authorization parameters
|
|
@@ -2649,10 +2747,10 @@ from pulpcore.client.pulp_service.models.service_vulnerability_report_response i
|
|
|
2649
2747
|
from pulpcore.client.pulp_service.rest import ApiException
|
|
2650
2748
|
from pprint import pprint
|
|
2651
2749
|
|
|
2652
|
-
# Defining the host is optional and defaults to https://env-ephemeral-
|
|
2750
|
+
# Defining the host is optional and defaults to https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com
|
|
2653
2751
|
# See configuration.py for a list of all supported configuration parameters.
|
|
2654
2752
|
configuration = pulpcore.client.pulp_service.Configuration(
|
|
2655
|
-
host = "https://env-ephemeral-
|
|
2753
|
+
host = "https://env-ephemeral-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com"
|
|
2656
2754
|
)
|
|
2657
2755
|
|
|
2658
2756
|
# The client must configure the authentication and authorization parameters
|
{crc_pulp_service_client-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/RECORD
RENAMED
|
@@ -1,16 +1,17 @@
|
|
|
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=rUZu_Xqo_syG90wJe7W0Z8hl1-ZOGKLWaGB6OsiTrD0,3650
|
|
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=__OwcMq6ipzxJupWlQ0PRqHEL0IysEQY6oru2hZn13E,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
|
|
10
|
-
pulpcore/client/pulp_service/api/__init__.py,sha256
|
|
10
|
+
pulpcore/client/pulp_service/api/__init__.py,sha256=ZqzrDOI_kdOX_ANoah63uBdObP_cb18RbIrxgo-WeBg,968
|
|
11
11
|
pulpcore/client/pulp_service/api/api_create_domain_api.py,sha256=TIJc_bQ7KjDnjlfoaOlvE353AwdLbFVGMTGOVZvzORs,12758
|
|
12
12
|
pulpcore/client/pulp_service/api/api_debug_auth_header_api.py,sha256=72p90hUugvu-YK3I93bcDqCbilQfzQU6WQhQzsxTdoo,13134
|
|
13
13
|
pulpcore/client/pulp_service/api/api_debug_database_triggers_api.py,sha256=IuwCFR28bUtWcs6vBV7RcJMc9qVzcUO3kyyBIECj4wY,13191
|
|
14
|
+
pulpcore/client/pulp_service/api/api_debug_release_task_locks_api.py,sha256=-RCnIEexpiqQcPQHX5D2xozrbOVBLayHslyNHUJkzh4,13890
|
|
14
15
|
pulpcore/client/pulp_service/api/api_rds_connection_tests_api.py,sha256=CuetHQ9QqDa98Q4q8pg2BuzKJjU98230DUenivcUImg,23773
|
|
15
16
|
pulpcore/client/pulp_service/api/api_test_random_lock_tasks_api.py,sha256=y3bW5lr5xGYfOCkltuTiBrPP_ldpk78-SrNlnTmKgrg,12966
|
|
16
17
|
pulpcore/client/pulp_service/api/api_test_tasks_api.py,sha256=SXhf3JT4Mfi7-DifFxTzA04eexVVLU09Dt7f_qpUsi4,12944
|
|
@@ -35,7 +36,7 @@ pulpcore/client/pulp_service/models/service_feature_content_guard_response.py,sh
|
|
|
35
36
|
pulpcore/client/pulp_service/models/service_vulnerability_report_response.py,sha256=q2xsiNvYK5WCIgvZFmf0DWXkLO1skj9hvApYtegsvgI,3880
|
|
36
37
|
pulpcore/client/pulp_service/models/storage_class_enum.py,sha256=BwLtMdj6LexVjhHIHELE1Hlw6c9dU6SCytz6f0D5c0E,1383
|
|
37
38
|
pulpcore/client/pulp_service/models/task_response.py,sha256=eObQXKMC0MEW0KHU_NpsxmztTUX65_sQzCZa7oM70EI,9008
|
|
38
|
-
crc_pulp_service_client-
|
|
39
|
-
crc_pulp_service_client-
|
|
40
|
-
crc_pulp_service_client-
|
|
41
|
-
crc_pulp_service_client-
|
|
39
|
+
crc_pulp_service_client-20260115.4.dist-info/METADATA,sha256=uEMV6qJ-fxKW5cv4HbEEuIFevwFiAza8rvdjWNTTsKo,138455
|
|
40
|
+
crc_pulp_service_client-20260115.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
41
|
+
crc_pulp_service_client-20260115.4.dist-info/top_level.txt,sha256=v1J0AeNxNhm8YE5-xQe1G1YbfoMRZ_u9DAg_Gi7omeY,9
|
|
42
|
+
crc_pulp_service_client-20260115.4.dist-info/RECORD,,
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
""" # noqa: E501
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
__version__ = "
|
|
18
|
+
__version__ = "20260115.4"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from pulpcore.client.pulp_service.api.api_create_domain_api import ApiCreateDomainApi
|
|
22
22
|
from pulpcore.client.pulp_service.api.api_debug_auth_header_api import ApiDebugAuthHeaderApi
|
|
23
23
|
from pulpcore.client.pulp_service.api.api_debug_database_triggers_api import ApiDebugDatabaseTriggersApi
|
|
24
|
+
from pulpcore.client.pulp_service.api.api_debug_release_task_locks_api import ApiDebugReleaseTaskLocksApi
|
|
24
25
|
from pulpcore.client.pulp_service.api.api_rds_connection_tests_api import ApiRdsConnectionTestsApi
|
|
25
26
|
from pulpcore.client.pulp_service.api.api_test_random_lock_tasks_api import ApiTestRandomLockTasksApi
|
|
26
27
|
from pulpcore.client.pulp_service.api.api_test_tasks_api import ApiTestTasksApi
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
from pulpcore.client.pulp_service.api.api_create_domain_api import ApiCreateDomainApi
|
|
5
5
|
from pulpcore.client.pulp_service.api.api_debug_auth_header_api import ApiDebugAuthHeaderApi
|
|
6
6
|
from pulpcore.client.pulp_service.api.api_debug_database_triggers_api import ApiDebugDatabaseTriggersApi
|
|
7
|
+
from pulpcore.client.pulp_service.api.api_debug_release_task_locks_api import ApiDebugReleaseTaskLocksApi
|
|
7
8
|
from pulpcore.client.pulp_service.api.api_rds_connection_tests_api import ApiRdsConnectionTestsApi
|
|
8
9
|
from pulpcore.client.pulp_service.api.api_test_random_lock_tasks_api import ApiTestRandomLockTasksApi
|
|
9
10
|
from pulpcore.client.pulp_service.api.api_test_tasks_api import ApiTestTasksApi
|
|
@@ -0,0 +1,332 @@
|
|
|
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
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictStr
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
|
|
24
|
+
from pulpcore.client.pulp_service.api_client import ApiClient, RequestSerialized
|
|
25
|
+
from pulpcore.client.pulp_service.api_response import ApiResponse
|
|
26
|
+
from pulpcore.client.pulp_service.rest import RESTResponseType
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class ApiDebugReleaseTaskLocksApi:
|
|
30
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
31
|
+
Ref: https://openapi-generator.tech
|
|
32
|
+
|
|
33
|
+
Do not edit the class manually.
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
def __init__(self, api_client=None) -> None:
|
|
37
|
+
if api_client is None:
|
|
38
|
+
api_client = ApiClient.get_default()
|
|
39
|
+
self.api_client = api_client
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
@validate_call
|
|
43
|
+
def get(
|
|
44
|
+
self,
|
|
45
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
46
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
47
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
48
|
+
_request_timeout: Union[
|
|
49
|
+
None,
|
|
50
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
51
|
+
Tuple[
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
54
|
+
]
|
|
55
|
+
] = None,
|
|
56
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
57
|
+
_content_type: Optional[StrictStr] = None,
|
|
58
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
59
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
60
|
+
) -> None:
|
|
61
|
+
"""get
|
|
62
|
+
|
|
63
|
+
Release all Redis locks for a given task UUID. Query parameters: task_id: UUID of the task to release locks for Returns: 200: Locks released successfully 400: Missing or invalid task_id parameter 404: Task not found 500: Error releasing locks
|
|
64
|
+
|
|
65
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
66
|
+
:type x_task_diagnostics: List[str]
|
|
67
|
+
:param fields: A list of fields to include in the response.
|
|
68
|
+
:type fields: List[str]
|
|
69
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
70
|
+
:type exclude_fields: List[str]
|
|
71
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
72
|
+
number provided, it will be total request
|
|
73
|
+
timeout. It can also be a pair (tuple) of
|
|
74
|
+
(connection, read) timeouts.
|
|
75
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
76
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
77
|
+
request; this effectively ignores the
|
|
78
|
+
authentication in the spec for a single request.
|
|
79
|
+
:type _request_auth: dict, optional
|
|
80
|
+
:param _content_type: force content-type for the request.
|
|
81
|
+
:type _content_type: str, Optional
|
|
82
|
+
:param _headers: set to override the headers for a single
|
|
83
|
+
request; this effectively ignores the headers
|
|
84
|
+
in the spec for a single request.
|
|
85
|
+
:type _headers: dict, optional
|
|
86
|
+
:param _host_index: set to override the host_index for a single
|
|
87
|
+
request; this effectively ignores the host_index
|
|
88
|
+
in the spec for a single request.
|
|
89
|
+
:type _host_index: int, optional
|
|
90
|
+
:return: Returns the result object.
|
|
91
|
+
""" # noqa: E501
|
|
92
|
+
|
|
93
|
+
_param = self._get_serialize(
|
|
94
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
95
|
+
fields=fields,
|
|
96
|
+
exclude_fields=exclude_fields,
|
|
97
|
+
_request_auth=_request_auth,
|
|
98
|
+
_content_type=_content_type,
|
|
99
|
+
_headers=_headers,
|
|
100
|
+
_host_index=_host_index
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
104
|
+
'200': None,
|
|
105
|
+
}
|
|
106
|
+
response_data = self.api_client.call_api(
|
|
107
|
+
*_param,
|
|
108
|
+
_request_timeout=_request_timeout
|
|
109
|
+
)
|
|
110
|
+
response_data.read()
|
|
111
|
+
return self.api_client.response_deserialize(
|
|
112
|
+
response_data=response_data,
|
|
113
|
+
response_types_map=_response_types_map,
|
|
114
|
+
).data
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
@validate_call
|
|
118
|
+
def get_with_http_info(
|
|
119
|
+
self,
|
|
120
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
121
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
122
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
123
|
+
_request_timeout: Union[
|
|
124
|
+
None,
|
|
125
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
126
|
+
Tuple[
|
|
127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
128
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
129
|
+
]
|
|
130
|
+
] = None,
|
|
131
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
132
|
+
_content_type: Optional[StrictStr] = None,
|
|
133
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
134
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
135
|
+
) -> ApiResponse[None]:
|
|
136
|
+
"""get
|
|
137
|
+
|
|
138
|
+
Release all Redis locks for a given task UUID. Query parameters: task_id: UUID of the task to release locks for Returns: 200: Locks released successfully 400: Missing or invalid task_id parameter 404: Task not found 500: Error releasing locks
|
|
139
|
+
|
|
140
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
141
|
+
:type x_task_diagnostics: List[str]
|
|
142
|
+
:param fields: A list of fields to include in the response.
|
|
143
|
+
:type fields: List[str]
|
|
144
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
145
|
+
:type exclude_fields: List[str]
|
|
146
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
147
|
+
number provided, it will be total request
|
|
148
|
+
timeout. It can also be a pair (tuple) of
|
|
149
|
+
(connection, read) timeouts.
|
|
150
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
151
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
152
|
+
request; this effectively ignores the
|
|
153
|
+
authentication in the spec for a single request.
|
|
154
|
+
:type _request_auth: dict, optional
|
|
155
|
+
:param _content_type: force content-type for the request.
|
|
156
|
+
:type _content_type: str, Optional
|
|
157
|
+
:param _headers: set to override the headers for a single
|
|
158
|
+
request; this effectively ignores the headers
|
|
159
|
+
in the spec for a single request.
|
|
160
|
+
:type _headers: dict, optional
|
|
161
|
+
:param _host_index: set to override the host_index for a single
|
|
162
|
+
request; this effectively ignores the host_index
|
|
163
|
+
in the spec for a single request.
|
|
164
|
+
:type _host_index: int, optional
|
|
165
|
+
:return: Returns the result object.
|
|
166
|
+
""" # noqa: E501
|
|
167
|
+
|
|
168
|
+
_param = self._get_serialize(
|
|
169
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
170
|
+
fields=fields,
|
|
171
|
+
exclude_fields=exclude_fields,
|
|
172
|
+
_request_auth=_request_auth,
|
|
173
|
+
_content_type=_content_type,
|
|
174
|
+
_headers=_headers,
|
|
175
|
+
_host_index=_host_index
|
|
176
|
+
)
|
|
177
|
+
|
|
178
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
179
|
+
'200': None,
|
|
180
|
+
}
|
|
181
|
+
response_data = self.api_client.call_api(
|
|
182
|
+
*_param,
|
|
183
|
+
_request_timeout=_request_timeout
|
|
184
|
+
)
|
|
185
|
+
response_data.read()
|
|
186
|
+
return self.api_client.response_deserialize(
|
|
187
|
+
response_data=response_data,
|
|
188
|
+
response_types_map=_response_types_map,
|
|
189
|
+
)
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
@validate_call
|
|
193
|
+
def get_without_preload_content(
|
|
194
|
+
self,
|
|
195
|
+
x_task_diagnostics: Annotated[Optional[List[StrictStr]], Field(description="List of profilers to use on tasks.")] = None,
|
|
196
|
+
fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to include in the response.")] = None,
|
|
197
|
+
exclude_fields: Annotated[Optional[List[StrictStr]], Field(description="A list of fields to exclude from the response.")] = None,
|
|
198
|
+
_request_timeout: Union[
|
|
199
|
+
None,
|
|
200
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
201
|
+
Tuple[
|
|
202
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
203
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
204
|
+
]
|
|
205
|
+
] = None,
|
|
206
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
207
|
+
_content_type: Optional[StrictStr] = None,
|
|
208
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
209
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
210
|
+
) -> RESTResponseType:
|
|
211
|
+
"""get
|
|
212
|
+
|
|
213
|
+
Release all Redis locks for a given task UUID. Query parameters: task_id: UUID of the task to release locks for Returns: 200: Locks released successfully 400: Missing or invalid task_id parameter 404: Task not found 500: Error releasing locks
|
|
214
|
+
|
|
215
|
+
:param x_task_diagnostics: List of profilers to use on tasks.
|
|
216
|
+
:type x_task_diagnostics: List[str]
|
|
217
|
+
:param fields: A list of fields to include in the response.
|
|
218
|
+
:type fields: List[str]
|
|
219
|
+
:param exclude_fields: A list of fields to exclude from the response.
|
|
220
|
+
:type exclude_fields: List[str]
|
|
221
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
222
|
+
number provided, it will be total request
|
|
223
|
+
timeout. It can also be a pair (tuple) of
|
|
224
|
+
(connection, read) timeouts.
|
|
225
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
226
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
227
|
+
request; this effectively ignores the
|
|
228
|
+
authentication in the spec for a single request.
|
|
229
|
+
:type _request_auth: dict, optional
|
|
230
|
+
:param _content_type: force content-type for the request.
|
|
231
|
+
:type _content_type: str, Optional
|
|
232
|
+
:param _headers: set to override the headers for a single
|
|
233
|
+
request; this effectively ignores the headers
|
|
234
|
+
in the spec for a single request.
|
|
235
|
+
:type _headers: dict, optional
|
|
236
|
+
:param _host_index: set to override the host_index for a single
|
|
237
|
+
request; this effectively ignores the host_index
|
|
238
|
+
in the spec for a single request.
|
|
239
|
+
:type _host_index: int, optional
|
|
240
|
+
:return: Returns the result object.
|
|
241
|
+
""" # noqa: E501
|
|
242
|
+
|
|
243
|
+
_param = self._get_serialize(
|
|
244
|
+
x_task_diagnostics=x_task_diagnostics,
|
|
245
|
+
fields=fields,
|
|
246
|
+
exclude_fields=exclude_fields,
|
|
247
|
+
_request_auth=_request_auth,
|
|
248
|
+
_content_type=_content_type,
|
|
249
|
+
_headers=_headers,
|
|
250
|
+
_host_index=_host_index
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
254
|
+
'200': None,
|
|
255
|
+
}
|
|
256
|
+
response_data = self.api_client.call_api(
|
|
257
|
+
*_param,
|
|
258
|
+
_request_timeout=_request_timeout
|
|
259
|
+
)
|
|
260
|
+
return response_data.response
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def _get_serialize(
|
|
264
|
+
self,
|
|
265
|
+
x_task_diagnostics,
|
|
266
|
+
fields,
|
|
267
|
+
exclude_fields,
|
|
268
|
+
_request_auth,
|
|
269
|
+
_content_type,
|
|
270
|
+
_headers,
|
|
271
|
+
_host_index,
|
|
272
|
+
) -> RequestSerialized:
|
|
273
|
+
|
|
274
|
+
_host = None
|
|
275
|
+
|
|
276
|
+
_collection_formats: Dict[str, str] = {
|
|
277
|
+
'X-Task-Diagnostics': 'csv',
|
|
278
|
+
'fields': 'multi',
|
|
279
|
+
'exclude_fields': 'multi',
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
_path_params: Dict[str, str] = {}
|
|
283
|
+
_query_params: List[Tuple[str, str]] = []
|
|
284
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
285
|
+
_form_params: List[Tuple[str, str]] = []
|
|
286
|
+
_files: Dict[
|
|
287
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
288
|
+
] = {}
|
|
289
|
+
_body_params: Optional[bytes] = None
|
|
290
|
+
|
|
291
|
+
# process the path parameters
|
|
292
|
+
# process the query parameters
|
|
293
|
+
if fields is not None:
|
|
294
|
+
|
|
295
|
+
_query_params.append(('fields', fields))
|
|
296
|
+
|
|
297
|
+
if exclude_fields is not None:
|
|
298
|
+
|
|
299
|
+
_query_params.append(('exclude_fields', exclude_fields))
|
|
300
|
+
|
|
301
|
+
# process the header parameters
|
|
302
|
+
if x_task_diagnostics is not None:
|
|
303
|
+
_header_params['X-Task-Diagnostics'] = x_task_diagnostics
|
|
304
|
+
# process the form parameters
|
|
305
|
+
# process the body parameter
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
# authentication setting
|
|
311
|
+
_auth_settings: List[str] = [
|
|
312
|
+
'json_header_remote_authentication',
|
|
313
|
+
'basicAuth',
|
|
314
|
+
'cookieAuth'
|
|
315
|
+
]
|
|
316
|
+
|
|
317
|
+
return self.api_client.param_serialize(
|
|
318
|
+
method='GET',
|
|
319
|
+
resource_path='/api/pulp/debug/release-task-locks/',
|
|
320
|
+
path_params=_path_params,
|
|
321
|
+
query_params=_query_params,
|
|
322
|
+
header_params=_header_params,
|
|
323
|
+
body=_body_params,
|
|
324
|
+
post_params=_form_params,
|
|
325
|
+
files=_files,
|
|
326
|
+
auth_settings=_auth_settings,
|
|
327
|
+
collection_formats=_collection_formats,
|
|
328
|
+
_host=_host,
|
|
329
|
+
_request_auth=_request_auth
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
|
|
@@ -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-s4l2og.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:
|
|
560
|
+
"SDK Package Version: 20260115.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-s4l2og.apps.crc-eph.r9lp.p1.openshiftapps.com",
|
|
571
571
|
'description': "No description provided",
|
|
572
572
|
}
|
|
573
573
|
]
|
{crc_pulp_service_client-20260109.2.dist-info → crc_pulp_service_client-20260115.4.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|