pulp_python_client 3.13.6 → 3.14.0

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -5
  3. data/docs/ContentPackagesApi.md +8 -22
  4. data/docs/DistributionsPypiApi.md +32 -72
  5. data/docs/PublicationsPypiApi.md +16 -40
  6. data/docs/PypiApi.md +0 -2
  7. data/docs/PypiLegacyApi.md +0 -2
  8. data/docs/PypiMetadataApi.md +0 -2
  9. data/docs/PypiSimpleApi.md +0 -6
  10. data/docs/RemotesPythonApi.md +32 -74
  11. data/docs/RepositoriesPythonApi.md +40 -88
  12. data/docs/RepositoriesPythonVersionsApi.md +10 -22
  13. data/lib/pulp_python_client/api/content_packages_api.rb +0 -15
  14. data/lib/pulp_python_client/api/distributions_pypi_api.rb +0 -36
  15. data/lib/pulp_python_client/api/publications_pypi_api.rb +0 -24
  16. data/lib/pulp_python_client/api/pypi_api.rb +0 -3
  17. data/lib/pulp_python_client/api/pypi_legacy_api.rb +0 -3
  18. data/lib/pulp_python_client/api/pypi_metadata_api.rb +0 -3
  19. data/lib/pulp_python_client/api/pypi_simple_api.rb +0 -9
  20. data/lib/pulp_python_client/api/remotes_python_api.rb +0 -39
  21. data/lib/pulp_python_client/api/repositories_python_api.rb +0 -42
  22. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -15
  23. data/lib/pulp_python_client/version.rb +1 -1
  24. data/pulp_python_client.gemspec +1 -0
  25. data/spec/api/content_packages_api_spec.rb +0 -5
  26. data/spec/api/distributions_pypi_api_spec.rb +0 -12
  27. data/spec/api/publications_pypi_api_spec.rb +0 -8
  28. data/spec/api/pypi_api_spec.rb +0 -1
  29. data/spec/api/pypi_legacy_api_spec.rb +0 -1
  30. data/spec/api/pypi_metadata_api_spec.rb +0 -1
  31. data/spec/api/pypi_simple_api_spec.rb +0 -3
  32. data/spec/api/remotes_python_api_spec.rb +0 -13
  33. data/spec/api/repositories_python_api_spec.rb +0 -14
  34. data/spec/api/repositories_python_versions_api_spec.rb +1 -5
  35. metadata +59 -39
@@ -23,7 +23,6 @@ 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.
27
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
28
27
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
29
28
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -62,7 +61,6 @@ module PulpPythonClient
62
61
  # Trigger an asynchronous task to create content,optionally create new repository version.
63
62
  # @param relative_path [String] Path where the artifact is located relative to distributions base_path
64
63
  # @param [Hash] opts the optional parameters
65
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
66
64
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
67
65
  # @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
68
66
  # @option opts [String] :artifact Artifact file representing the physical content
@@ -127,7 +125,6 @@ module PulpPythonClient
127
125
  if !content_type.nil?
128
126
  header_params['Content-Type'] = content_type
129
127
  end
130
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
131
128
 
132
129
  # form parameters
133
130
  form_params = opts[:form_params] || {}
@@ -190,7 +187,6 @@ module PulpPythonClient
190
187
  # List python package contents
191
188
  # 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`.
192
189
  # @param [Hash] opts the optional parameters
193
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
194
190
  # @option opts [String] :author Filter results where author matches value
195
191
  # @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
196
192
  # @option opts [String] :filename Filter results where filename matches value
@@ -235,7 +231,6 @@ module PulpPythonClient
235
231
  # List python package contents
236
232
  # 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 &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
237
233
  # @param [Hash] opts the optional parameters
238
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
239
234
  # @option opts [String] :author Filter results where author matches value
240
235
  # @option opts [Array<String>] :author__in Filter results where author is in a comma-separated list of values
241
236
  # @option opts [String] :filename Filter results where filename matches value
@@ -329,7 +324,6 @@ module PulpPythonClient
329
324
  header_params = opts[:header_params] || {}
330
325
  # HTTP header 'Accept' (if needed)
331
326
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
332
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
333
327
 
334
328
  # form parameters
335
329
  form_params = opts[:form_params] || {}
@@ -364,7 +358,6 @@ module PulpPythonClient
364
358
  # 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`.
365
359
  # @param python_python_package_content_href [String]
366
360
  # @param [Hash] opts the optional parameters
367
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
368
361
  # @option opts [Array<String>] :fields A list of fields to include in the response.
369
362
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
370
363
  # @return [PythonPythonPackageContentResponse]
@@ -377,7 +370,6 @@ module PulpPythonClient
377
370
  # 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 &#x60;pulpcore-3.0.0rc1-py3-none-any.whl&#x60; or &#x60;pulpcore-3.0.0rc1.tar.gz&#x60;.
378
371
  # @param python_python_package_content_href [String]
379
372
  # @param [Hash] opts the optional parameters
380
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
381
373
  # @option opts [Array<String>] :fields A list of fields to include in the response.
382
374
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
383
375
  # @return [Array<(PythonPythonPackageContentResponse, Integer, Hash)>] PythonPythonPackageContentResponse data, response status code and response headers
@@ -401,7 +393,6 @@ module PulpPythonClient
401
393
  header_params = opts[:header_params] || {}
402
394
  # HTTP header 'Accept' (if needed)
403
395
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
404
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
405
396
 
406
397
  # form parameters
407
398
  form_params = opts[:form_params] || {}
@@ -437,7 +428,6 @@ module PulpPythonClient
437
428
  # @param python_python_package_content_href [String]
438
429
  # @param set_label [SetLabel]
439
430
  # @param [Hash] opts the optional parameters
440
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
441
431
  # @return [SetLabelResponse]
442
432
  def set_label(python_python_package_content_href, set_label, opts = {})
443
433
  data, _status_code, _headers = set_label_with_http_info(python_python_package_content_href, set_label, opts)
@@ -449,7 +439,6 @@ module PulpPythonClient
449
439
  # @param python_python_package_content_href [String]
450
440
  # @param set_label [SetLabel]
451
441
  # @param [Hash] opts the optional parameters
452
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
453
442
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
454
443
  def set_label_with_http_info(python_python_package_content_href, set_label, opts = {})
455
444
  if @api_client.config.debugging
@@ -478,7 +467,6 @@ module PulpPythonClient
478
467
  if !content_type.nil?
479
468
  header_params['Content-Type'] = content_type
480
469
  end
481
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
482
470
 
483
471
  # form parameters
484
472
  form_params = opts[:form_params] || {}
@@ -514,7 +502,6 @@ module PulpPythonClient
514
502
  # @param python_python_package_content_href [String]
515
503
  # @param unset_label [UnsetLabel]
516
504
  # @param [Hash] opts the optional parameters
517
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
518
505
  # @return [UnsetLabelResponse]
519
506
  def unset_label(python_python_package_content_href, unset_label, opts = {})
520
507
  data, _status_code, _headers = unset_label_with_http_info(python_python_package_content_href, unset_label, opts)
@@ -526,7 +513,6 @@ module PulpPythonClient
526
513
  # @param python_python_package_content_href [String]
527
514
  # @param unset_label [UnsetLabel]
528
515
  # @param [Hash] opts the optional parameters
529
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
530
516
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
531
517
  def unset_label_with_http_info(python_python_package_content_href, unset_label, opts = {})
532
518
  if @api_client.config.debugging
@@ -555,7 +541,6 @@ module PulpPythonClient
555
541
  if !content_type.nil?
556
542
  header_params['Content-Type'] = content_type
557
543
  end
558
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
559
544
 
560
545
  # form parameters
561
546
  form_params = opts[:form_params] || {}
@@ -24,7 +24,6 @@ module PulpPythonClient
24
24
  # @param python_python_distribution_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
27
  # @return [NestedRoleResponse]
29
28
  def add_role(python_python_distribution_href, nested_role, opts = {})
30
29
  data, _status_code, _headers = add_role_with_http_info(python_python_distribution_href, nested_role, opts)
@@ -36,7 +35,6 @@ module PulpPythonClient
36
35
  # @param python_python_distribution_href [String]
37
36
  # @param nested_role [NestedRole]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
41
39
  def add_role_with_http_info(python_python_distribution_href, nested_role, opts = {})
42
40
  if @api_client.config.debugging
@@ -65,7 +63,6 @@ module PulpPythonClient
65
63
  if !content_type.nil?
66
64
  header_params['Content-Type'] = content_type
67
65
  end
68
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
69
66
 
70
67
  # form parameters
71
68
  form_params = opts[:form_params] || {}
@@ -100,7 +97,6 @@ module PulpPythonClient
100
97
  # Trigger an asynchronous create task
101
98
  # @param python_python_distribution [PythonPythonDistribution]
102
99
  # @param [Hash] opts the optional parameters
103
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
104
100
  # @return [AsyncOperationResponse]
105
101
  def create(python_python_distribution, opts = {})
106
102
  data, _status_code, _headers = create_with_http_info(python_python_distribution, opts)
@@ -111,7 +107,6 @@ module PulpPythonClient
111
107
  # Trigger an asynchronous create task
112
108
  # @param python_python_distribution [PythonPythonDistribution]
113
109
  # @param [Hash] opts the optional parameters
114
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
115
110
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
116
111
  def create_with_http_info(python_python_distribution, opts = {})
117
112
  if @api_client.config.debugging
@@ -136,7 +131,6 @@ module PulpPythonClient
136
131
  if !content_type.nil?
137
132
  header_params['Content-Type'] = content_type
138
133
  end
139
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
140
134
 
141
135
  # form parameters
142
136
  form_params = opts[:form_params] || {}
@@ -171,7 +165,6 @@ module PulpPythonClient
171
165
  # Trigger an asynchronous delete task
172
166
  # @param python_python_distribution_href [String]
173
167
  # @param [Hash] opts the optional parameters
174
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
175
168
  # @return [AsyncOperationResponse]
176
169
  def delete(python_python_distribution_href, opts = {})
177
170
  data, _status_code, _headers = delete_with_http_info(python_python_distribution_href, opts)
@@ -182,7 +175,6 @@ module PulpPythonClient
182
175
  # Trigger an asynchronous delete task
183
176
  # @param python_python_distribution_href [String]
184
177
  # @param [Hash] opts the optional parameters
185
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
186
178
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
187
179
  def delete_with_http_info(python_python_distribution_href, opts = {})
188
180
  if @api_client.config.debugging
@@ -202,7 +194,6 @@ module PulpPythonClient
202
194
  header_params = opts[:header_params] || {}
203
195
  # HTTP header 'Accept' (if needed)
204
196
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
205
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
206
197
 
207
198
  # form parameters
208
199
  form_params = opts[:form_params] || {}
@@ -236,7 +227,6 @@ module PulpPythonClient
236
227
  # List python distributions
237
228
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
238
229
  # @param [Hash] opts the optional parameters
239
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
240
230
  # @option opts [String] :base_path Filter results where base_path matches value
241
231
  # @option opts [String] :base_path__contains Filter results where base_path contains value
242
232
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -273,7 +263,6 @@ module PulpPythonClient
273
263
  # List python distributions
274
264
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \&quot;Python Distribution\&quot; as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
275
265
  # @param [Hash] opts the optional parameters
276
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
277
266
  # @option opts [String] :base_path Filter results where base_path matches value
278
267
  # @option opts [String] :base_path__contains Filter results where base_path contains value
279
268
  # @option opts [String] :base_path__icontains Filter results where base_path contains value
@@ -347,7 +336,6 @@ module PulpPythonClient
347
336
  header_params = opts[:header_params] || {}
348
337
  # HTTP header 'Accept' (if needed)
349
338
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
350
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
351
339
 
352
340
  # form parameters
353
341
  form_params = opts[:form_params] || {}
@@ -382,7 +370,6 @@ module PulpPythonClient
382
370
  # List roles assigned to this object.
383
371
  # @param python_python_distribution_href [String]
384
372
  # @param [Hash] opts the optional parameters
385
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
386
373
  # @option opts [Array<String>] :fields A list of fields to include in the response.
387
374
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
388
375
  # @return [ObjectRolesResponse]
@@ -395,7 +382,6 @@ module PulpPythonClient
395
382
  # List roles assigned to this object.
396
383
  # @param python_python_distribution_href [String]
397
384
  # @param [Hash] opts the optional parameters
398
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
399
385
  # @option opts [Array<String>] :fields A list of fields to include in the response.
400
386
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
401
387
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -419,7 +405,6 @@ module PulpPythonClient
419
405
  header_params = opts[:header_params] || {}
420
406
  # HTTP header 'Accept' (if needed)
421
407
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
422
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
423
408
 
424
409
  # form parameters
425
410
  form_params = opts[:form_params] || {}
@@ -454,7 +439,6 @@ module PulpPythonClient
454
439
  # List permissions available to the current user on this object.
455
440
  # @param python_python_distribution_href [String]
456
441
  # @param [Hash] opts the optional parameters
457
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
458
442
  # @option opts [Array<String>] :fields A list of fields to include in the response.
459
443
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
460
444
  # @return [MyPermissionsResponse]
@@ -467,7 +451,6 @@ module PulpPythonClient
467
451
  # List permissions available to the current user on this object.
468
452
  # @param python_python_distribution_href [String]
469
453
  # @param [Hash] opts the optional parameters
470
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
471
454
  # @option opts [Array<String>] :fields A list of fields to include in the response.
472
455
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
473
456
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -491,7 +474,6 @@ module PulpPythonClient
491
474
  header_params = opts[:header_params] || {}
492
475
  # HTTP header 'Accept' (if needed)
493
476
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
494
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
495
477
 
496
478
  # form parameters
497
479
  form_params = opts[:form_params] || {}
@@ -527,7 +509,6 @@ module PulpPythonClient
527
509
  # @param python_python_distribution_href [String]
528
510
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
529
511
  # @param [Hash] opts the optional parameters
530
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
531
512
  # @return [AsyncOperationResponse]
532
513
  def partial_update(python_python_distribution_href, patchedpython_python_distribution, opts = {})
533
514
  data, _status_code, _headers = partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts)
@@ -539,7 +520,6 @@ module PulpPythonClient
539
520
  # @param python_python_distribution_href [String]
540
521
  # @param patchedpython_python_distribution [PatchedpythonPythonDistribution]
541
522
  # @param [Hash] opts the optional parameters
542
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
543
523
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
544
524
  def partial_update_with_http_info(python_python_distribution_href, patchedpython_python_distribution, opts = {})
545
525
  if @api_client.config.debugging
@@ -568,7 +548,6 @@ module PulpPythonClient
568
548
  if !content_type.nil?
569
549
  header_params['Content-Type'] = content_type
570
550
  end
571
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
572
551
 
573
552
  # form parameters
574
553
  form_params = opts[:form_params] || {}
@@ -603,7 +582,6 @@ module PulpPythonClient
603
582
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \"Python Distribution\" as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
604
583
  # @param python_python_distribution_href [String]
605
584
  # @param [Hash] opts the optional parameters
606
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
607
585
  # @option opts [Array<String>] :fields A list of fields to include in the response.
608
586
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
609
587
  # @return [PythonPythonDistributionResponse]
@@ -616,7 +594,6 @@ module PulpPythonClient
616
594
  # Pulp Python Distributions are used to distribute Python content from Python Repositories or Python Publications. Pulp Python Distributions should not be confused with \&quot;Python Distribution\&quot; as defined by the Python community. In Pulp usage, Python content is referred to as Python Package Content.
617
595
  # @param python_python_distribution_href [String]
618
596
  # @param [Hash] opts the optional parameters
619
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
620
597
  # @option opts [Array<String>] :fields A list of fields to include in the response.
621
598
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
622
599
  # @return [Array<(PythonPythonDistributionResponse, Integer, Hash)>] PythonPythonDistributionResponse data, response status code and response headers
@@ -640,7 +617,6 @@ module PulpPythonClient
640
617
  header_params = opts[:header_params] || {}
641
618
  # HTTP header 'Accept' (if needed)
642
619
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
643
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
644
620
 
645
621
  # form parameters
646
622
  form_params = opts[:form_params] || {}
@@ -676,7 +652,6 @@ module PulpPythonClient
676
652
  # @param python_python_distribution_href [String]
677
653
  # @param nested_role [NestedRole]
678
654
  # @param [Hash] opts the optional parameters
679
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
680
655
  # @return [NestedRoleResponse]
681
656
  def remove_role(python_python_distribution_href, nested_role, opts = {})
682
657
  data, _status_code, _headers = remove_role_with_http_info(python_python_distribution_href, nested_role, opts)
@@ -688,7 +663,6 @@ module PulpPythonClient
688
663
  # @param python_python_distribution_href [String]
689
664
  # @param nested_role [NestedRole]
690
665
  # @param [Hash] opts the optional parameters
691
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
692
666
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
693
667
  def remove_role_with_http_info(python_python_distribution_href, nested_role, opts = {})
694
668
  if @api_client.config.debugging
@@ -717,7 +691,6 @@ module PulpPythonClient
717
691
  if !content_type.nil?
718
692
  header_params['Content-Type'] = content_type
719
693
  end
720
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
721
694
 
722
695
  # form parameters
723
696
  form_params = opts[:form_params] || {}
@@ -753,7 +726,6 @@ module PulpPythonClient
753
726
  # @param python_python_distribution_href [String]
754
727
  # @param set_label [SetLabel]
755
728
  # @param [Hash] opts the optional parameters
756
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
757
729
  # @return [SetLabelResponse]
758
730
  def set_label(python_python_distribution_href, set_label, opts = {})
759
731
  data, _status_code, _headers = set_label_with_http_info(python_python_distribution_href, set_label, opts)
@@ -765,7 +737,6 @@ module PulpPythonClient
765
737
  # @param python_python_distribution_href [String]
766
738
  # @param set_label [SetLabel]
767
739
  # @param [Hash] opts the optional parameters
768
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
769
740
  # @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
770
741
  def set_label_with_http_info(python_python_distribution_href, set_label, opts = {})
771
742
  if @api_client.config.debugging
@@ -794,7 +765,6 @@ module PulpPythonClient
794
765
  if !content_type.nil?
795
766
  header_params['Content-Type'] = content_type
796
767
  end
797
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
798
768
 
799
769
  # form parameters
800
770
  form_params = opts[:form_params] || {}
@@ -830,7 +800,6 @@ module PulpPythonClient
830
800
  # @param python_python_distribution_href [String]
831
801
  # @param unset_label [UnsetLabel]
832
802
  # @param [Hash] opts the optional parameters
833
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
834
803
  # @return [UnsetLabelResponse]
835
804
  def unset_label(python_python_distribution_href, unset_label, opts = {})
836
805
  data, _status_code, _headers = unset_label_with_http_info(python_python_distribution_href, unset_label, opts)
@@ -842,7 +811,6 @@ module PulpPythonClient
842
811
  # @param python_python_distribution_href [String]
843
812
  # @param unset_label [UnsetLabel]
844
813
  # @param [Hash] opts the optional parameters
845
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
846
814
  # @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
847
815
  def unset_label_with_http_info(python_python_distribution_href, unset_label, opts = {})
848
816
  if @api_client.config.debugging
@@ -871,7 +839,6 @@ module PulpPythonClient
871
839
  if !content_type.nil?
872
840
  header_params['Content-Type'] = content_type
873
841
  end
874
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
875
842
 
876
843
  # form parameters
877
844
  form_params = opts[:form_params] || {}
@@ -907,7 +874,6 @@ module PulpPythonClient
907
874
  # @param python_python_distribution_href [String]
908
875
  # @param python_python_distribution [PythonPythonDistribution]
909
876
  # @param [Hash] opts the optional parameters
910
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
911
877
  # @return [AsyncOperationResponse]
912
878
  def update(python_python_distribution_href, python_python_distribution, opts = {})
913
879
  data, _status_code, _headers = update_with_http_info(python_python_distribution_href, python_python_distribution, opts)
@@ -919,7 +885,6 @@ module PulpPythonClient
919
885
  # @param python_python_distribution_href [String]
920
886
  # @param python_python_distribution [PythonPythonDistribution]
921
887
  # @param [Hash] opts the optional parameters
922
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
923
888
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
924
889
  def update_with_http_info(python_python_distribution_href, python_python_distribution, opts = {})
925
890
  if @api_client.config.debugging
@@ -948,7 +913,6 @@ module PulpPythonClient
948
913
  if !content_type.nil?
949
914
  header_params['Content-Type'] = content_type
950
915
  end
951
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
952
916
 
953
917
  # form parameters
954
918
  form_params = opts[:form_params] || {}
@@ -24,7 +24,6 @@ module PulpPythonClient
24
24
  # @param python_python_publication_href [String]
25
25
  # @param nested_role [NestedRole]
26
26
  # @param [Hash] opts the optional parameters
27
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
28
27
  # @return [NestedRoleResponse]
29
28
  def add_role(python_python_publication_href, nested_role, opts = {})
30
29
  data, _status_code, _headers = add_role_with_http_info(python_python_publication_href, nested_role, opts)
@@ -36,7 +35,6 @@ module PulpPythonClient
36
35
  # @param python_python_publication_href [String]
37
36
  # @param nested_role [NestedRole]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
41
39
  def add_role_with_http_info(python_python_publication_href, nested_role, opts = {})
42
40
  if @api_client.config.debugging
@@ -65,7 +63,6 @@ module PulpPythonClient
65
63
  if !content_type.nil?
66
64
  header_params['Content-Type'] = content_type
67
65
  end
68
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
69
66
 
70
67
  # form parameters
71
68
  form_params = opts[:form_params] || {}
@@ -100,7 +97,6 @@ module PulpPythonClient
100
97
  # Dispatches a publish task, which generates metadata that will be used by pip.
101
98
  # @param python_python_publication [PythonPythonPublication]
102
99
  # @param [Hash] opts the optional parameters
103
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
104
100
  # @return [AsyncOperationResponse]
105
101
  def create(python_python_publication, opts = {})
106
102
  data, _status_code, _headers = create_with_http_info(python_python_publication, opts)
@@ -111,7 +107,6 @@ module PulpPythonClient
111
107
  # Dispatches a publish task, which generates metadata that will be used by pip.
112
108
  # @param python_python_publication [PythonPythonPublication]
113
109
  # @param [Hash] opts the optional parameters
114
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
115
110
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
116
111
  def create_with_http_info(python_python_publication, opts = {})
117
112
  if @api_client.config.debugging
@@ -136,7 +131,6 @@ module PulpPythonClient
136
131
  if !content_type.nil?
137
132
  header_params['Content-Type'] = content_type
138
133
  end
139
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
140
134
 
141
135
  # form parameters
142
136
  form_params = opts[:form_params] || {}
@@ -171,7 +165,6 @@ module PulpPythonClient
171
165
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
172
166
  # @param python_python_publication_href [String]
173
167
  # @param [Hash] opts the optional parameters
174
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
175
168
  # @return [nil]
176
169
  def delete(python_python_publication_href, opts = {})
177
170
  delete_with_http_info(python_python_publication_href, opts)
@@ -182,7 +175,6 @@ module PulpPythonClient
182
175
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
183
176
  # @param python_python_publication_href [String]
184
177
  # @param [Hash] opts the optional parameters
185
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
186
178
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
187
179
  def delete_with_http_info(python_python_publication_href, opts = {})
188
180
  if @api_client.config.debugging
@@ -200,7 +192,6 @@ module PulpPythonClient
200
192
 
201
193
  # header parameters
202
194
  header_params = opts[:header_params] || {}
203
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
204
195
 
205
196
  # form parameters
206
197
  form_params = opts[:form_params] || {}
@@ -234,7 +225,6 @@ module PulpPythonClient
234
225
  # List python publications
235
226
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
236
227
  # @param [Hash] opts the optional parameters
237
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
238
228
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
239
229
  # @option opts [String] :content Content Unit referenced by HREF/PRN
240
230
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
@@ -265,7 +255,6 @@ module PulpPythonClient
265
255
  # List python publications
266
256
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
267
257
  # @param [Hash] opts the optional parameters
268
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
269
258
  # @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
270
259
  # @option opts [String] :content Content Unit referenced by HREF/PRN
271
260
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
@@ -327,7 +316,6 @@ module PulpPythonClient
327
316
  header_params = opts[:header_params] || {}
328
317
  # HTTP header 'Accept' (if needed)
329
318
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
330
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
331
319
 
332
320
  # form parameters
333
321
  form_params = opts[:form_params] || {}
@@ -362,7 +350,6 @@ module PulpPythonClient
362
350
  # List roles assigned to this object.
363
351
  # @param python_python_publication_href [String]
364
352
  # @param [Hash] opts the optional parameters
365
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
366
353
  # @option opts [Array<String>] :fields A list of fields to include in the response.
367
354
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
368
355
  # @return [ObjectRolesResponse]
@@ -375,7 +362,6 @@ module PulpPythonClient
375
362
  # List roles assigned to this object.
376
363
  # @param python_python_publication_href [String]
377
364
  # @param [Hash] opts the optional parameters
378
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
379
365
  # @option opts [Array<String>] :fields A list of fields to include in the response.
380
366
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
381
367
  # @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
@@ -399,7 +385,6 @@ module PulpPythonClient
399
385
  header_params = opts[:header_params] || {}
400
386
  # HTTP header 'Accept' (if needed)
401
387
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
402
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
403
388
 
404
389
  # form parameters
405
390
  form_params = opts[:form_params] || {}
@@ -434,7 +419,6 @@ module PulpPythonClient
434
419
  # List permissions available to the current user on this object.
435
420
  # @param python_python_publication_href [String]
436
421
  # @param [Hash] opts the optional parameters
437
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
438
422
  # @option opts [Array<String>] :fields A list of fields to include in the response.
439
423
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
440
424
  # @return [MyPermissionsResponse]
@@ -447,7 +431,6 @@ module PulpPythonClient
447
431
  # List permissions available to the current user on this object.
448
432
  # @param python_python_publication_href [String]
449
433
  # @param [Hash] opts the optional parameters
450
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
451
434
  # @option opts [Array<String>] :fields A list of fields to include in the response.
452
435
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
453
436
  # @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
@@ -471,7 +454,6 @@ module PulpPythonClient
471
454
  header_params = opts[:header_params] || {}
472
455
  # HTTP header 'Accept' (if needed)
473
456
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
474
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
475
457
 
476
458
  # form parameters
477
459
  form_params = opts[:form_params] || {}
@@ -506,7 +488,6 @@ module PulpPythonClient
506
488
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
507
489
  # @param python_python_publication_href [String]
508
490
  # @param [Hash] opts the optional parameters
509
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
510
491
  # @option opts [Array<String>] :fields A list of fields to include in the response.
511
492
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
512
493
  # @return [PythonPythonPublicationResponse]
@@ -519,7 +500,6 @@ module PulpPythonClient
519
500
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
520
501
  # @param python_python_publication_href [String]
521
502
  # @param [Hash] opts the optional parameters
522
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
523
503
  # @option opts [Array<String>] :fields A list of fields to include in the response.
524
504
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
525
505
  # @return [Array<(PythonPythonPublicationResponse, Integer, Hash)>] PythonPythonPublicationResponse data, response status code and response headers
@@ -543,7 +523,6 @@ module PulpPythonClient
543
523
  header_params = opts[:header_params] || {}
544
524
  # HTTP header 'Accept' (if needed)
545
525
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
546
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
547
526
 
548
527
  # form parameters
549
528
  form_params = opts[:form_params] || {}
@@ -579,7 +558,6 @@ module PulpPythonClient
579
558
  # @param python_python_publication_href [String]
580
559
  # @param nested_role [NestedRole]
581
560
  # @param [Hash] opts the optional parameters
582
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
583
561
  # @return [NestedRoleResponse]
584
562
  def remove_role(python_python_publication_href, nested_role, opts = {})
585
563
  data, _status_code, _headers = remove_role_with_http_info(python_python_publication_href, nested_role, opts)
@@ -591,7 +569,6 @@ module PulpPythonClient
591
569
  # @param python_python_publication_href [String]
592
570
  # @param nested_role [NestedRole]
593
571
  # @param [Hash] opts the optional parameters
594
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
595
572
  # @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
596
573
  def remove_role_with_http_info(python_python_publication_href, nested_role, opts = {})
597
574
  if @api_client.config.debugging
@@ -620,7 +597,6 @@ module PulpPythonClient
620
597
  if !content_type.nil?
621
598
  header_params['Content-Type'] = content_type
622
599
  end
623
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
624
600
 
625
601
  # form parameters
626
602
  form_params = opts[:form_params] || {}
@@ -23,7 +23,6 @@ module PulpPythonClient
23
23
  # Gets package summary stats of index.
24
24
  # @param path [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
27
26
  # @option opts [Array<String>] :fields A list of fields to include in the response.
28
27
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
29
28
  # @return [SummaryResponse]
@@ -36,7 +35,6 @@ module PulpPythonClient
36
35
  # Gets package summary stats of index.
37
36
  # @param path [String]
38
37
  # @param [Hash] opts the optional parameters
39
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
38
  # @option opts [Array<String>] :fields A list of fields to include in the response.
41
39
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
42
40
  # @return [Array<(SummaryResponse, Integer, Hash)>] SummaryResponse data, response status code and response headers
@@ -60,7 +58,6 @@ module PulpPythonClient
60
58
  header_params = opts[:header_params] || {}
61
59
  # HTTP header 'Accept' (if needed)
62
60
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
63
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
64
61
 
65
62
  # form parameters
66
63
  form_params = opts[:form_params] || {}
@@ -25,7 +25,6 @@ module PulpPythonClient
25
25
  # @param content [File] A Python package release file to upload to the index.
26
26
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
27
27
  # @param [Hash] opts the optional parameters
28
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
29
28
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
30
29
  # @return [PackageUploadTaskResponse]
31
30
  def create(path, content, sha256_digest, opts = {})
@@ -39,7 +38,6 @@ module PulpPythonClient
39
38
  # @param content [File] A Python package release file to upload to the index.
40
39
  # @param sha256_digest [String] SHA256 of package to validate upload integrity.
41
40
  # @param [Hash] opts the optional parameters
42
- # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
43
41
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail! (default to 'file_upload')
44
42
  # @return [Array<(PackageUploadTaskResponse, Integer, Hash)>] PackageUploadTaskResponse data, response status code and response headers
45
43
  def create_with_http_info(path, content, sha256_digest, opts = {})
@@ -85,7 +83,6 @@ module PulpPythonClient
85
83
  if !content_type.nil?
86
84
  header_params['Content-Type'] = content_type
87
85
  end
88
- header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
89
86
 
90
87
  # form parameters
91
88
  form_params = opts[:form_params] || {}