pulp_python_client 3.11.6 → 3.11.8
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.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/ContentPackagesApi.md +6 -0
- data/docs/DistributionsPypiApi.md +40 -12
- data/docs/PublicationsPypiApi.md +16 -4
- data/docs/PypiApi.md +2 -0
- data/docs/PypiLegacyApi.md +2 -0
- data/docs/PypiMetadataApi.md +2 -0
- data/docs/PypiSimpleApi.md +6 -0
- data/docs/RemotesPythonApi.md +42 -12
- data/docs/RepositoriesPythonApi.md +52 -16
- data/docs/RepositoriesPythonVersionsApi.md +16 -4
- data/lib/pulp_python_client/api/content_packages_api.rb +9 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +24 -0
- data/lib/pulp_python_client/api/publications_pypi_api.rb +12 -0
- data/lib/pulp_python_client/api/pypi_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +27 -0
- data/lib/pulp_python_client/api/repositories_python_api.rb +30 -0
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +12 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -0
- data/spec/api/distributions_pypi_api_spec.rb +8 -0
- data/spec/api/publications_pypi_api_spec.rb +4 -0
- data/spec/api/pypi_api_spec.rb +1 -0
- data/spec/api/pypi_legacy_api_spec.rb +1 -0
- data/spec/api/pypi_metadata_api_spec.rb +1 -0
- data/spec/api/pypi_simple_api_spec.rb +3 -0
- data/spec/api/remotes_python_api_spec.rb +9 -0
- data/spec/api/repositories_python_api_spec.rb +10 -0
- data/spec/api/repositories_python_versions_api_spec.rb +4 -0
- metadata +32 -32
data/docs/RemotesPythonApi.md
CHANGED
|
@@ -18,7 +18,7 @@ Method | HTTP request | Description
|
|
|
18
18
|
|
|
19
19
|
## create
|
|
20
20
|
|
|
21
|
-
> PythonPythonRemoteResponse create(python_python_remote)
|
|
21
|
+
> PythonPythonRemoteResponse create(python_python_remote, opts)
|
|
22
22
|
|
|
23
23
|
Create a python remote
|
|
24
24
|
|
|
@@ -38,10 +38,13 @@ end
|
|
|
38
38
|
|
|
39
39
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
40
40
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
|
|
41
|
+
opts = {
|
|
42
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
43
|
+
}
|
|
41
44
|
|
|
42
45
|
begin
|
|
43
46
|
#Create a python remote
|
|
44
|
-
result = api_instance.create(python_python_remote)
|
|
47
|
+
result = api_instance.create(python_python_remote, opts)
|
|
45
48
|
p result
|
|
46
49
|
rescue PulpPythonClient::ApiError => e
|
|
47
50
|
puts "Exception when calling RemotesPythonApi->create: #{e}"
|
|
@@ -54,6 +57,7 @@ end
|
|
|
54
57
|
Name | Type | Description | Notes
|
|
55
58
|
------------- | ------------- | ------------- | -------------
|
|
56
59
|
**python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
|
|
60
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
57
61
|
|
|
58
62
|
### Return type
|
|
59
63
|
|
|
@@ -71,7 +75,7 @@ Name | Type | Description | Notes
|
|
|
71
75
|
|
|
72
76
|
## delete
|
|
73
77
|
|
|
74
|
-
> AsyncOperationResponse delete(python_python_remote_href)
|
|
78
|
+
> AsyncOperationResponse delete(python_python_remote_href, opts)
|
|
75
79
|
|
|
76
80
|
Delete a python remote
|
|
77
81
|
|
|
@@ -91,10 +95,13 @@ end
|
|
|
91
95
|
|
|
92
96
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
93
97
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
98
|
+
opts = {
|
|
99
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
100
|
+
}
|
|
94
101
|
|
|
95
102
|
begin
|
|
96
103
|
#Delete a python remote
|
|
97
|
-
result = api_instance.delete(python_python_remote_href)
|
|
104
|
+
result = api_instance.delete(python_python_remote_href, opts)
|
|
98
105
|
p result
|
|
99
106
|
rescue PulpPythonClient::ApiError => e
|
|
100
107
|
puts "Exception when calling RemotesPythonApi->delete: #{e}"
|
|
@@ -107,6 +114,7 @@ end
|
|
|
107
114
|
Name | Type | Description | Notes
|
|
108
115
|
------------- | ------------- | ------------- | -------------
|
|
109
116
|
**python_python_remote_href** | **String**| |
|
|
117
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
110
118
|
|
|
111
119
|
### Return type
|
|
112
120
|
|
|
@@ -146,6 +154,7 @@ api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
|
146
154
|
config = File.new('/path/to/file') # File | A Bandersnatch config that may be used to construct a Python Remote.
|
|
147
155
|
name = 'name_example' # String | A unique name for this remote
|
|
148
156
|
opts = {
|
|
157
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
149
158
|
policy: PulpPythonClient::PolicyEnum.new # PolicyEnum | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again.
|
|
150
159
|
}
|
|
151
160
|
|
|
@@ -165,6 +174,7 @@ Name | Type | Description | Notes
|
|
|
165
174
|
------------- | ------------- | ------------- | -------------
|
|
166
175
|
**config** | **File**| A Bandersnatch config that may be used to construct a Python Remote. |
|
|
167
176
|
**name** | **String**| A unique name for this remote |
|
|
177
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
168
178
|
**policy** | [**PolicyEnum**](PolicyEnum.md)| The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional]
|
|
169
179
|
|
|
170
180
|
### Return type
|
|
@@ -203,6 +213,7 @@ end
|
|
|
203
213
|
|
|
204
214
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
205
215
|
opts = {
|
|
216
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
206
217
|
limit: 56, # Integer | Number of results to return per page.
|
|
207
218
|
name: 'name_example', # String | Filter results where name matches value
|
|
208
219
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -243,6 +254,7 @@ end
|
|
|
243
254
|
|
|
244
255
|
Name | Type | Description | Notes
|
|
245
256
|
------------- | ------------- | ------------- | -------------
|
|
257
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
246
258
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
247
259
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
248
260
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -284,7 +296,7 @@ Name | Type | Description | Notes
|
|
|
284
296
|
|
|
285
297
|
## partial_update
|
|
286
298
|
|
|
287
|
-
> AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote)
|
|
299
|
+
> AsyncOperationResponse partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
|
288
300
|
|
|
289
301
|
Update a python remote
|
|
290
302
|
|
|
@@ -305,10 +317,13 @@ end
|
|
|
305
317
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
306
318
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
307
319
|
patchedpython_python_remote = PulpPythonClient::PatchedpythonPythonRemote.new # PatchedpythonPythonRemote |
|
|
320
|
+
opts = {
|
|
321
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
322
|
+
}
|
|
308
323
|
|
|
309
324
|
begin
|
|
310
325
|
#Update a python remote
|
|
311
|
-
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote)
|
|
326
|
+
result = api_instance.partial_update(python_python_remote_href, patchedpython_python_remote, opts)
|
|
312
327
|
p result
|
|
313
328
|
rescue PulpPythonClient::ApiError => e
|
|
314
329
|
puts "Exception when calling RemotesPythonApi->partial_update: #{e}"
|
|
@@ -322,6 +337,7 @@ Name | Type | Description | Notes
|
|
|
322
337
|
------------- | ------------- | ------------- | -------------
|
|
323
338
|
**python_python_remote_href** | **String**| |
|
|
324
339
|
**patchedpython_python_remote** | [**PatchedpythonPythonRemote**](PatchedpythonPythonRemote.md)| |
|
|
340
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
325
341
|
|
|
326
342
|
### Return type
|
|
327
343
|
|
|
@@ -360,6 +376,7 @@ end
|
|
|
360
376
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
361
377
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
362
378
|
opts = {
|
|
379
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
363
380
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
364
381
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
365
382
|
}
|
|
@@ -379,6 +396,7 @@ end
|
|
|
379
396
|
Name | Type | Description | Notes
|
|
380
397
|
------------- | ------------- | ------------- | -------------
|
|
381
398
|
**python_python_remote_href** | **String**| |
|
|
399
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
382
400
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
383
401
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
384
402
|
|
|
@@ -398,7 +416,7 @@ Name | Type | Description | Notes
|
|
|
398
416
|
|
|
399
417
|
## set_label
|
|
400
418
|
|
|
401
|
-
> SetLabelResponse set_label(python_python_remote_href, set_label)
|
|
419
|
+
> SetLabelResponse set_label(python_python_remote_href, set_label, opts)
|
|
402
420
|
|
|
403
421
|
Set a label
|
|
404
422
|
|
|
@@ -419,10 +437,13 @@ end
|
|
|
419
437
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
420
438
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
421
439
|
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
|
440
|
+
opts = {
|
|
441
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
442
|
+
}
|
|
422
443
|
|
|
423
444
|
begin
|
|
424
445
|
#Set a label
|
|
425
|
-
result = api_instance.set_label(python_python_remote_href, set_label)
|
|
446
|
+
result = api_instance.set_label(python_python_remote_href, set_label, opts)
|
|
426
447
|
p result
|
|
427
448
|
rescue PulpPythonClient::ApiError => e
|
|
428
449
|
puts "Exception when calling RemotesPythonApi->set_label: #{e}"
|
|
@@ -436,6 +457,7 @@ Name | Type | Description | Notes
|
|
|
436
457
|
------------- | ------------- | ------------- | -------------
|
|
437
458
|
**python_python_remote_href** | **String**| |
|
|
438
459
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
460
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
439
461
|
|
|
440
462
|
### Return type
|
|
441
463
|
|
|
@@ -453,7 +475,7 @@ Name | Type | Description | Notes
|
|
|
453
475
|
|
|
454
476
|
## unset_label
|
|
455
477
|
|
|
456
|
-
> UnsetLabelResponse unset_label(python_python_remote_href, unset_label)
|
|
478
|
+
> UnsetLabelResponse unset_label(python_python_remote_href, unset_label, opts)
|
|
457
479
|
|
|
458
480
|
Unset a label
|
|
459
481
|
|
|
@@ -474,10 +496,13 @@ end
|
|
|
474
496
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
475
497
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
476
498
|
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
|
499
|
+
opts = {
|
|
500
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
501
|
+
}
|
|
477
502
|
|
|
478
503
|
begin
|
|
479
504
|
#Unset a label
|
|
480
|
-
result = api_instance.unset_label(python_python_remote_href, unset_label)
|
|
505
|
+
result = api_instance.unset_label(python_python_remote_href, unset_label, opts)
|
|
481
506
|
p result
|
|
482
507
|
rescue PulpPythonClient::ApiError => e
|
|
483
508
|
puts "Exception when calling RemotesPythonApi->unset_label: #{e}"
|
|
@@ -491,6 +516,7 @@ Name | Type | Description | Notes
|
|
|
491
516
|
------------- | ------------- | ------------- | -------------
|
|
492
517
|
**python_python_remote_href** | **String**| |
|
|
493
518
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
519
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
494
520
|
|
|
495
521
|
### Return type
|
|
496
522
|
|
|
@@ -508,7 +534,7 @@ Name | Type | Description | Notes
|
|
|
508
534
|
|
|
509
535
|
## update
|
|
510
536
|
|
|
511
|
-
> AsyncOperationResponse update(python_python_remote_href, python_python_remote)
|
|
537
|
+
> AsyncOperationResponse update(python_python_remote_href, python_python_remote, opts)
|
|
512
538
|
|
|
513
539
|
Update a python remote
|
|
514
540
|
|
|
@@ -529,10 +555,13 @@ end
|
|
|
529
555
|
api_instance = PulpPythonClient::RemotesPythonApi.new
|
|
530
556
|
python_python_remote_href = 'python_python_remote_href_example' # String |
|
|
531
557
|
python_python_remote = PulpPythonClient::PythonPythonRemote.new # PythonPythonRemote |
|
|
558
|
+
opts = {
|
|
559
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
560
|
+
}
|
|
532
561
|
|
|
533
562
|
begin
|
|
534
563
|
#Update a python remote
|
|
535
|
-
result = api_instance.update(python_python_remote_href, python_python_remote)
|
|
564
|
+
result = api_instance.update(python_python_remote_href, python_python_remote, opts)
|
|
536
565
|
p result
|
|
537
566
|
rescue PulpPythonClient::ApiError => e
|
|
538
567
|
puts "Exception when calling RemotesPythonApi->update: #{e}"
|
|
@@ -546,6 +575,7 @@ Name | Type | Description | Notes
|
|
|
546
575
|
------------- | ------------- | ------------- | -------------
|
|
547
576
|
**python_python_remote_href** | **String**| |
|
|
548
577
|
**python_python_remote** | [**PythonPythonRemote**](PythonPythonRemote.md)| |
|
|
578
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
549
579
|
|
|
550
580
|
### Return type
|
|
551
581
|
|
|
@@ -19,7 +19,7 @@ Method | HTTP request | Description
|
|
|
19
19
|
|
|
20
20
|
## create
|
|
21
21
|
|
|
22
|
-
> PythonPythonRepositoryResponse create(python_python_repository)
|
|
22
|
+
> PythonPythonRepositoryResponse create(python_python_repository, opts)
|
|
23
23
|
|
|
24
24
|
Create a python repository
|
|
25
25
|
|
|
@@ -39,10 +39,13 @@ end
|
|
|
39
39
|
|
|
40
40
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
41
41
|
python_python_repository = PulpPythonClient::PythonPythonRepository.new # PythonPythonRepository |
|
|
42
|
+
opts = {
|
|
43
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
44
|
+
}
|
|
42
45
|
|
|
43
46
|
begin
|
|
44
47
|
#Create a python repository
|
|
45
|
-
result = api_instance.create(python_python_repository)
|
|
48
|
+
result = api_instance.create(python_python_repository, opts)
|
|
46
49
|
p result
|
|
47
50
|
rescue PulpPythonClient::ApiError => e
|
|
48
51
|
puts "Exception when calling RepositoriesPythonApi->create: #{e}"
|
|
@@ -55,6 +58,7 @@ end
|
|
|
55
58
|
Name | Type | Description | Notes
|
|
56
59
|
------------- | ------------- | ------------- | -------------
|
|
57
60
|
**python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md)| |
|
|
61
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
58
62
|
|
|
59
63
|
### Return type
|
|
60
64
|
|
|
@@ -72,7 +76,7 @@ Name | Type | Description | Notes
|
|
|
72
76
|
|
|
73
77
|
## delete
|
|
74
78
|
|
|
75
|
-
> AsyncOperationResponse delete(python_python_repository_href)
|
|
79
|
+
> AsyncOperationResponse delete(python_python_repository_href, opts)
|
|
76
80
|
|
|
77
81
|
Delete a python repository
|
|
78
82
|
|
|
@@ -92,10 +96,13 @@ end
|
|
|
92
96
|
|
|
93
97
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
94
98
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
99
|
+
opts = {
|
|
100
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
101
|
+
}
|
|
95
102
|
|
|
96
103
|
begin
|
|
97
104
|
#Delete a python repository
|
|
98
|
-
result = api_instance.delete(python_python_repository_href)
|
|
105
|
+
result = api_instance.delete(python_python_repository_href, opts)
|
|
99
106
|
p result
|
|
100
107
|
rescue PulpPythonClient::ApiError => e
|
|
101
108
|
puts "Exception when calling RepositoriesPythonApi->delete: #{e}"
|
|
@@ -108,6 +115,7 @@ end
|
|
|
108
115
|
Name | Type | Description | Notes
|
|
109
116
|
------------- | ------------- | ------------- | -------------
|
|
110
117
|
**python_python_repository_href** | **String**| |
|
|
118
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
111
119
|
|
|
112
120
|
### Return type
|
|
113
121
|
|
|
@@ -145,6 +153,7 @@ end
|
|
|
145
153
|
|
|
146
154
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
147
155
|
opts = {
|
|
156
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
148
157
|
latest_with_content: 'latest_with_content_example', # String | Content Unit referenced by HREF
|
|
149
158
|
limit: 56, # Integer | Number of results to return per page.
|
|
150
159
|
name: 'name_example', # String | Filter results where name matches value
|
|
@@ -190,6 +199,7 @@ end
|
|
|
190
199
|
|
|
191
200
|
Name | Type | Description | Notes
|
|
192
201
|
------------- | ------------- | ------------- | -------------
|
|
202
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
193
203
|
**latest_with_content** | **String**| Content Unit referenced by HREF | [optional]
|
|
194
204
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
195
205
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
@@ -236,7 +246,7 @@ Name | Type | Description | Notes
|
|
|
236
246
|
|
|
237
247
|
## modify
|
|
238
248
|
|
|
239
|
-
> AsyncOperationResponse modify(python_python_repository_href, repository_add_remove_content)
|
|
249
|
+
> AsyncOperationResponse modify(python_python_repository_href, repository_add_remove_content, opts)
|
|
240
250
|
|
|
241
251
|
Modify Repository Content
|
|
242
252
|
|
|
@@ -257,10 +267,13 @@ end
|
|
|
257
267
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
258
268
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
259
269
|
repository_add_remove_content = PulpPythonClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
|
270
|
+
opts = {
|
|
271
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
272
|
+
}
|
|
260
273
|
|
|
261
274
|
begin
|
|
262
275
|
#Modify Repository Content
|
|
263
|
-
result = api_instance.modify(python_python_repository_href, repository_add_remove_content)
|
|
276
|
+
result = api_instance.modify(python_python_repository_href, repository_add_remove_content, opts)
|
|
264
277
|
p result
|
|
265
278
|
rescue PulpPythonClient::ApiError => e
|
|
266
279
|
puts "Exception when calling RepositoriesPythonApi->modify: #{e}"
|
|
@@ -274,6 +287,7 @@ Name | Type | Description | Notes
|
|
|
274
287
|
------------- | ------------- | ------------- | -------------
|
|
275
288
|
**python_python_repository_href** | **String**| |
|
|
276
289
|
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
|
290
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
277
291
|
|
|
278
292
|
### Return type
|
|
279
293
|
|
|
@@ -291,7 +305,7 @@ Name | Type | Description | Notes
|
|
|
291
305
|
|
|
292
306
|
## partial_update
|
|
293
307
|
|
|
294
|
-
> AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository)
|
|
308
|
+
> AsyncOperationResponse partial_update(python_python_repository_href, patchedpython_python_repository, opts)
|
|
295
309
|
|
|
296
310
|
Update a python repository
|
|
297
311
|
|
|
@@ -312,10 +326,13 @@ end
|
|
|
312
326
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
313
327
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
314
328
|
patchedpython_python_repository = PulpPythonClient::PatchedpythonPythonRepository.new # PatchedpythonPythonRepository |
|
|
329
|
+
opts = {
|
|
330
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
331
|
+
}
|
|
315
332
|
|
|
316
333
|
begin
|
|
317
334
|
#Update a python repository
|
|
318
|
-
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository)
|
|
335
|
+
result = api_instance.partial_update(python_python_repository_href, patchedpython_python_repository, opts)
|
|
319
336
|
p result
|
|
320
337
|
rescue PulpPythonClient::ApiError => e
|
|
321
338
|
puts "Exception when calling RepositoriesPythonApi->partial_update: #{e}"
|
|
@@ -329,6 +346,7 @@ Name | Type | Description | Notes
|
|
|
329
346
|
------------- | ------------- | ------------- | -------------
|
|
330
347
|
**python_python_repository_href** | **String**| |
|
|
331
348
|
**patchedpython_python_repository** | [**PatchedpythonPythonRepository**](PatchedpythonPythonRepository.md)| |
|
|
349
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
332
350
|
|
|
333
351
|
### Return type
|
|
334
352
|
|
|
@@ -367,6 +385,7 @@ end
|
|
|
367
385
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
368
386
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
369
387
|
opts = {
|
|
388
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
370
389
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
371
390
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
372
391
|
}
|
|
@@ -386,6 +405,7 @@ end
|
|
|
386
405
|
Name | Type | Description | Notes
|
|
387
406
|
------------- | ------------- | ------------- | -------------
|
|
388
407
|
**python_python_repository_href** | **String**| |
|
|
408
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
389
409
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
390
410
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
391
411
|
|
|
@@ -405,7 +425,7 @@ Name | Type | Description | Notes
|
|
|
405
425
|
|
|
406
426
|
## set_label
|
|
407
427
|
|
|
408
|
-
> SetLabelResponse set_label(python_python_repository_href, set_label)
|
|
428
|
+
> SetLabelResponse set_label(python_python_repository_href, set_label, opts)
|
|
409
429
|
|
|
410
430
|
Set a label
|
|
411
431
|
|
|
@@ -426,10 +446,13 @@ end
|
|
|
426
446
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
427
447
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
428
448
|
set_label = PulpPythonClient::SetLabel.new # SetLabel |
|
|
449
|
+
opts = {
|
|
450
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
451
|
+
}
|
|
429
452
|
|
|
430
453
|
begin
|
|
431
454
|
#Set a label
|
|
432
|
-
result = api_instance.set_label(python_python_repository_href, set_label)
|
|
455
|
+
result = api_instance.set_label(python_python_repository_href, set_label, opts)
|
|
433
456
|
p result
|
|
434
457
|
rescue PulpPythonClient::ApiError => e
|
|
435
458
|
puts "Exception when calling RepositoriesPythonApi->set_label: #{e}"
|
|
@@ -443,6 +466,7 @@ Name | Type | Description | Notes
|
|
|
443
466
|
------------- | ------------- | ------------- | -------------
|
|
444
467
|
**python_python_repository_href** | **String**| |
|
|
445
468
|
**set_label** | [**SetLabel**](SetLabel.md)| |
|
|
469
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
446
470
|
|
|
447
471
|
### Return type
|
|
448
472
|
|
|
@@ -460,7 +484,7 @@ Name | Type | Description | Notes
|
|
|
460
484
|
|
|
461
485
|
## sync
|
|
462
486
|
|
|
463
|
-
> AsyncOperationResponse sync(python_python_repository_href, repository_sync_url)
|
|
487
|
+
> AsyncOperationResponse sync(python_python_repository_href, repository_sync_url, opts)
|
|
464
488
|
|
|
465
489
|
Sync from remote
|
|
466
490
|
|
|
@@ -481,10 +505,13 @@ end
|
|
|
481
505
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
482
506
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
483
507
|
repository_sync_url = PulpPythonClient::RepositorySyncURL.new # RepositorySyncURL |
|
|
508
|
+
opts = {
|
|
509
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
510
|
+
}
|
|
484
511
|
|
|
485
512
|
begin
|
|
486
513
|
#Sync from remote
|
|
487
|
-
result = api_instance.sync(python_python_repository_href, repository_sync_url)
|
|
514
|
+
result = api_instance.sync(python_python_repository_href, repository_sync_url, opts)
|
|
488
515
|
p result
|
|
489
516
|
rescue PulpPythonClient::ApiError => e
|
|
490
517
|
puts "Exception when calling RepositoriesPythonApi->sync: #{e}"
|
|
@@ -498,6 +525,7 @@ Name | Type | Description | Notes
|
|
|
498
525
|
------------- | ------------- | ------------- | -------------
|
|
499
526
|
**python_python_repository_href** | **String**| |
|
|
500
527
|
**repository_sync_url** | [**RepositorySyncURL**](RepositorySyncURL.md)| |
|
|
528
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
501
529
|
|
|
502
530
|
### Return type
|
|
503
531
|
|
|
@@ -515,7 +543,7 @@ Name | Type | Description | Notes
|
|
|
515
543
|
|
|
516
544
|
## unset_label
|
|
517
545
|
|
|
518
|
-
> UnsetLabelResponse unset_label(python_python_repository_href, unset_label)
|
|
546
|
+
> UnsetLabelResponse unset_label(python_python_repository_href, unset_label, opts)
|
|
519
547
|
|
|
520
548
|
Unset a label
|
|
521
549
|
|
|
@@ -536,10 +564,13 @@ end
|
|
|
536
564
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
537
565
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
538
566
|
unset_label = PulpPythonClient::UnsetLabel.new # UnsetLabel |
|
|
567
|
+
opts = {
|
|
568
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
569
|
+
}
|
|
539
570
|
|
|
540
571
|
begin
|
|
541
572
|
#Unset a label
|
|
542
|
-
result = api_instance.unset_label(python_python_repository_href, unset_label)
|
|
573
|
+
result = api_instance.unset_label(python_python_repository_href, unset_label, opts)
|
|
543
574
|
p result
|
|
544
575
|
rescue PulpPythonClient::ApiError => e
|
|
545
576
|
puts "Exception when calling RepositoriesPythonApi->unset_label: #{e}"
|
|
@@ -553,6 +584,7 @@ Name | Type | Description | Notes
|
|
|
553
584
|
------------- | ------------- | ------------- | -------------
|
|
554
585
|
**python_python_repository_href** | **String**| |
|
|
555
586
|
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
|
587
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
556
588
|
|
|
557
589
|
### Return type
|
|
558
590
|
|
|
@@ -570,7 +602,7 @@ Name | Type | Description | Notes
|
|
|
570
602
|
|
|
571
603
|
## update
|
|
572
604
|
|
|
573
|
-
> AsyncOperationResponse update(python_python_repository_href, python_python_repository)
|
|
605
|
+
> AsyncOperationResponse update(python_python_repository_href, python_python_repository, opts)
|
|
574
606
|
|
|
575
607
|
Update a python repository
|
|
576
608
|
|
|
@@ -591,10 +623,13 @@ end
|
|
|
591
623
|
api_instance = PulpPythonClient::RepositoriesPythonApi.new
|
|
592
624
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
593
625
|
python_python_repository = PulpPythonClient::PythonPythonRepository.new # PythonPythonRepository |
|
|
626
|
+
opts = {
|
|
627
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
628
|
+
}
|
|
594
629
|
|
|
595
630
|
begin
|
|
596
631
|
#Update a python repository
|
|
597
|
-
result = api_instance.update(python_python_repository_href, python_python_repository)
|
|
632
|
+
result = api_instance.update(python_python_repository_href, python_python_repository, opts)
|
|
598
633
|
p result
|
|
599
634
|
rescue PulpPythonClient::ApiError => e
|
|
600
635
|
puts "Exception when calling RepositoriesPythonApi->update: #{e}"
|
|
@@ -608,6 +643,7 @@ Name | Type | Description | Notes
|
|
|
608
643
|
------------- | ------------- | ------------- | -------------
|
|
609
644
|
**python_python_repository_href** | **String**| |
|
|
610
645
|
**python_python_repository** | [**PythonPythonRepository**](PythonPythonRepository.md)| |
|
|
646
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
611
647
|
|
|
612
648
|
### Return type
|
|
613
649
|
|
|
@@ -13,7 +13,7 @@ Method | HTTP request | Description
|
|
|
13
13
|
|
|
14
14
|
## delete
|
|
15
15
|
|
|
16
|
-
> AsyncOperationResponse delete(python_python_repository_version_href)
|
|
16
|
+
> AsyncOperationResponse delete(python_python_repository_version_href, opts)
|
|
17
17
|
|
|
18
18
|
Delete a repository version
|
|
19
19
|
|
|
@@ -33,10 +33,13 @@ end
|
|
|
33
33
|
|
|
34
34
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
|
35
35
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
|
36
|
+
opts = {
|
|
37
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
38
|
+
}
|
|
36
39
|
|
|
37
40
|
begin
|
|
38
41
|
#Delete a repository version
|
|
39
|
-
result = api_instance.delete(python_python_repository_version_href)
|
|
42
|
+
result = api_instance.delete(python_python_repository_version_href, opts)
|
|
40
43
|
p result
|
|
41
44
|
rescue PulpPythonClient::ApiError => e
|
|
42
45
|
puts "Exception when calling RepositoriesPythonVersionsApi->delete: #{e}"
|
|
@@ -49,6 +52,7 @@ end
|
|
|
49
52
|
Name | Type | Description | Notes
|
|
50
53
|
------------- | ------------- | ------------- | -------------
|
|
51
54
|
**python_python_repository_version_href** | **String**| |
|
|
55
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
52
56
|
|
|
53
57
|
### Return type
|
|
54
58
|
|
|
@@ -87,6 +91,7 @@ end
|
|
|
87
91
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
|
88
92
|
python_python_repository_href = 'python_python_repository_href_example' # String |
|
|
89
93
|
opts = {
|
|
94
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
90
95
|
content: 'content_example', # String | Content Unit referenced by HREF
|
|
91
96
|
content__in: 'content__in_example', # String | Content Unit referenced by HREF
|
|
92
97
|
limit: 56, # Integer | Number of results to return per page.
|
|
@@ -125,6 +130,7 @@ end
|
|
|
125
130
|
Name | Type | Description | Notes
|
|
126
131
|
------------- | ------------- | ------------- | -------------
|
|
127
132
|
**python_python_repository_href** | **String**| |
|
|
133
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
128
134
|
**content** | **String**| Content Unit referenced by HREF | [optional]
|
|
129
135
|
**content__in** | **String**| Content Unit referenced by HREF | [optional]
|
|
130
136
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
@@ -184,6 +190,7 @@ end
|
|
|
184
190
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
|
185
191
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
|
186
192
|
opts = {
|
|
193
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
187
194
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
188
195
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
189
196
|
}
|
|
@@ -203,6 +210,7 @@ end
|
|
|
203
210
|
Name | Type | Description | Notes
|
|
204
211
|
------------- | ------------- | ------------- | -------------
|
|
205
212
|
**python_python_repository_version_href** | **String**| |
|
|
213
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
206
214
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
207
215
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
208
216
|
|
|
@@ -222,7 +230,7 @@ Name | Type | Description | Notes
|
|
|
222
230
|
|
|
223
231
|
## repair
|
|
224
232
|
|
|
225
|
-
> AsyncOperationResponse repair(python_python_repository_version_href, repair)
|
|
233
|
+
> AsyncOperationResponse repair(python_python_repository_version_href, repair, opts)
|
|
226
234
|
|
|
227
235
|
|
|
228
236
|
|
|
@@ -243,9 +251,12 @@ end
|
|
|
243
251
|
api_instance = PulpPythonClient::RepositoriesPythonVersionsApi.new
|
|
244
252
|
python_python_repository_version_href = 'python_python_repository_version_href_example' # String |
|
|
245
253
|
repair = PulpPythonClient::Repair.new # Repair |
|
|
254
|
+
opts = {
|
|
255
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
256
|
+
}
|
|
246
257
|
|
|
247
258
|
begin
|
|
248
|
-
result = api_instance.repair(python_python_repository_version_href, repair)
|
|
259
|
+
result = api_instance.repair(python_python_repository_version_href, repair, opts)
|
|
249
260
|
p result
|
|
250
261
|
rescue PulpPythonClient::ApiError => e
|
|
251
262
|
puts "Exception when calling RepositoriesPythonVersionsApi->repair: #{e}"
|
|
@@ -259,6 +270,7 @@ Name | Type | Description | Notes
|
|
|
259
270
|
------------- | ------------- | ------------- | -------------
|
|
260
271
|
**python_python_repository_version_href** | **String**| |
|
|
261
272
|
**repair** | [**Repair**](Repair.md)| |
|
|
273
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
262
274
|
|
|
263
275
|
### Return type
|
|
264
276
|
|
|
@@ -23,6 +23,7 @@ module PulpPythonClient
|
|
|
23
23
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
24
24
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
25
25
|
# @param [Hash] opts the optional parameters
|
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
27
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
28
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
28
29
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -59,6 +60,7 @@ module PulpPythonClient
|
|
|
59
60
|
# Trigger an asynchronous task to create content,optionally create new repository version.
|
|
60
61
|
# @param relative_path [String] Path where the artifact is located relative to distributions base_path
|
|
61
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
62
64
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
63
65
|
# @option opts [String] :artifact Artifact file representing the physical content
|
|
64
66
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
@@ -114,6 +116,7 @@ module PulpPythonClient
|
|
|
114
116
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
115
117
|
# HTTP header 'Content-Type'
|
|
116
118
|
header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data', 'application/x-www-form-urlencoded'])
|
|
119
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
117
120
|
|
|
118
121
|
# form parameters
|
|
119
122
|
form_params = opts[:form_params] || {}
|
|
@@ -173,6 +176,7 @@ module PulpPythonClient
|
|
|
173
176
|
# List python package contents
|
|
174
177
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
175
178
|
# @param [Hash] opts the optional parameters
|
|
179
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
176
180
|
# @option opts [String] :author Filter results where author matches value
|
|
177
181
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
178
182
|
# @option opts [String] :filename Filter results where filename matches value
|
|
@@ -215,6 +219,7 @@ module PulpPythonClient
|
|
|
215
219
|
# List python package contents
|
|
216
220
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
217
221
|
# @param [Hash] opts the optional parameters
|
|
222
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
218
223
|
# @option opts [String] :author Filter results where author matches value
|
|
219
224
|
# @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
|
|
220
225
|
# @option opts [String] :filename Filter results where filename matches value
|
|
@@ -304,6 +309,7 @@ module PulpPythonClient
|
|
|
304
309
|
header_params = opts[:header_params] || {}
|
|
305
310
|
# HTTP header 'Accept' (if needed)
|
|
306
311
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
312
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
307
313
|
|
|
308
314
|
# form parameters
|
|
309
315
|
form_params = opts[:form_params] || {}
|
|
@@ -337,6 +343,7 @@ module PulpPythonClient
|
|
|
337
343
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
338
344
|
# @param python_python_package_content_href [String]
|
|
339
345
|
# @param [Hash] opts the optional parameters
|
|
346
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
340
347
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
341
348
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
342
349
|
# @return [PythonPythonPackageContentResponse]
|
|
@@ -349,6 +356,7 @@ module PulpPythonClient
|
|
|
349
356
|
# PythonPackageContent represents each individually installable Python package. In the Python ecosystem, this is called a Python Distribution, sometimes (ambiguously) refered to as a package. In Pulp Python, we refer to it as PythonPackageContent. Each PythonPackageContent corresponds to a single filename, for example `pulpcore-3.0.0rc1-py3-none-any.whl` or `pulpcore-3.0.0rc1.tar.gz`.
|
|
350
357
|
# @param python_python_package_content_href [String]
|
|
351
358
|
# @param [Hash] opts the optional parameters
|
|
359
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
352
360
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
353
361
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
354
362
|
# @return [Array<(PythonPythonPackageContentResponse, Integer, Hash)>] PythonPythonPackageContentResponse data, response status code and response headers
|
|
@@ -372,6 +380,7 @@ module PulpPythonClient
|
|
|
372
380
|
header_params = opts[:header_params] || {}
|
|
373
381
|
# HTTP header 'Accept' (if needed)
|
|
374
382
|
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
383
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
|
375
384
|
|
|
376
385
|
# form parameters
|
|
377
386
|
form_params = opts[:form_params] || {}
|