pulp_python_client 3.4.0 → 3.4.1
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/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/ContentPackagesApi.md +4 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/lib/pulp_python_client/api/content_packages_api.rb +7 -1
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/publications_pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +1 -1
- data/lib/pulp_python_client/api/pypi_simple_api.rb +1 -1
- data/lib/pulp_python_client/api/remotes_python_api.rb +1 -1
- data/lib/pulp_python_client/api/repositories_python_api.rb +1 -1
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +1 -1
- data/lib/pulp_python_client/api_client.rb +12 -8
- data/lib/pulp_python_client/api_error.rb +1 -1
- data/lib/pulp_python_client/configuration.rb +8 -1
- data/lib/pulp_python_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_python_client/models/content_summary.rb +1 -1
- data/lib/pulp_python_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_python_client/models/exclude_platforms_enum.rb +1 -1
- data/lib/pulp_python_client/models/package_metadata_response.rb +1 -1
- data/lib/pulp_python_client/models/package_types_enum.rb +1 -1
- data/lib/pulp_python_client/models/package_upload.rb +1 -1
- data/lib/pulp_python_client/models/package_upload_task_response.rb +1 -1
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +1 -1
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/patchedpython_python_repository.rb +1 -1
- data/lib/pulp_python_client/models/policy_enum.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +1 -1
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_publication.rb +1 -1
- data/lib/pulp_python_client/models/python_python_publication_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_repository.rb +1 -1
- data/lib/pulp_python_client/models/python_python_repository_response.rb +1 -1
- data/lib/pulp_python_client/models/repository_add_remove_content.rb +3 -3
- data/lib/pulp_python_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_python_client/models/repository_version.rb +1 -1
- data/lib/pulp_python_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_python_client/models/summary_response.rb +1 -1
- data/lib/pulp_python_client/version.rb +2 -2
- data/lib/pulp_python_client.rb +1 -1
- data/pulp_python_client.gemspec +1 -1
- data/spec/api/content_packages_api_spec.rb +3 -1
- data/spec/api/distributions_pypi_api_spec.rb +1 -1
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/pypi_api_spec.rb +1 -1
- data/spec/api/pypi_legacy_api_spec.rb +1 -1
- data/spec/api/pypi_metadata_api_spec.rb +1 -1
- data/spec/api/pypi_simple_api_spec.rb +1 -1
- data/spec/api/remotes_python_api_spec.rb +1 -1
- data/spec/api/repositories_python_api_spec.rb +1 -1
- data/spec/api/repositories_python_versions_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/exclude_platforms_enum_spec.rb +1 -1
- data/spec/models/package_metadata_response_spec.rb +1 -1
- data/spec/models/package_types_enum_spec.rb +1 -1
- data/spec/models/package_upload_spec.rb +1 -1
- data/spec/models/package_upload_task_response_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_publication_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedpython_python_repository_response_list_spec.rb +1 -1
- data/spec/models/patchedpython_python_distribution_spec.rb +1 -1
- data/spec/models/patchedpython_python_remote_spec.rb +1 -1
- data/spec/models/patchedpython_python_repository_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/python_bander_remote_spec.rb +1 -1
- data/spec/models/python_python_distribution_response_spec.rb +1 -1
- data/spec/models/python_python_distribution_spec.rb +1 -1
- data/spec/models/python_python_package_content_response_spec.rb +1 -1
- data/spec/models/python_python_package_content_spec.rb +1 -1
- data/spec/models/python_python_publication_response_spec.rb +1 -1
- data/spec/models/python_python_publication_spec.rb +1 -1
- data/spec/models/python_python_remote_response_spec.rb +1 -1
- data/spec/models/python_python_remote_spec.rb +1 -1
- data/spec/models/python_python_repository_response_spec.rb +1 -1
- data/spec/models/python_python_repository_spec.rb +1 -1
- data/spec/models/repository_add_remove_content_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/summary_response_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +33 -196
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_python/__init__.py +0 -75
- data/build/lib/pulpcore/client/pulp_python/api/__init__.py +0 -15
- data/build/lib/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
- data/build/lib/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
- data/build/lib/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
- data/build/lib/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
- data/build/lib/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
- data/build/lib/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
- data/build/lib/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
- data/build/lib/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
- data/build/lib/pulpcore/client/pulp_python/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_python/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_python/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_python/models/__init__.py +0 -51
- data/build/lib/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_python/models/content_summary.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
- data/build/lib/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
- data/build/lib/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
- data/build/lib/pulpcore/client/pulp_python/models/package_upload.py +0 -187
- data/build/lib/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
- data/build/lib/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
- data/build/lib/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
- data/build/lib/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
- data/build/lib/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
- data/build/lib/pulpcore/client/pulp_python/models/repository_version.py +0 -123
- data/build/lib/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
- data/build/lib/pulpcore/client/pulp_python/models/summary_response.py +0 -182
- data/build/lib/pulpcore/client/pulp_python/rest.py +0 -292
- data/dist/pulp_python-client-3.4.0.tar.gz +0 -0
- data/dist/pulp_python_client-3.4.0-py3-none-any.whl +0 -0
- data/pulp_python_client.egg-info/PKG-INFO +0 -15
- data/pulp_python_client.egg-info/SOURCES.txt +0 -105
- data/pulp_python_client.egg-info/dependency_links.txt +0 -1
- data/pulp_python_client.egg-info/requires.txt +0 -4
- data/pulp_python_client.egg-info/top_level.txt +0 -1
- data/pulpcore/__init__.py +0 -2
- data/pulpcore/client/__init__.py +0 -2
- data/pulpcore/client/pulp_python/__init__.py +0 -75
- data/pulpcore/client/pulp_python/api/__init__.py +0 -15
- data/pulpcore/client/pulp_python/api/content_packages_api.py +0 -626
- data/pulpcore/client/pulp_python/api/distributions_pypi_api.py +0 -830
- data/pulpcore/client/pulp_python/api/publications_pypi_api.py +0 -566
- data/pulpcore/client/pulp_python/api/pypi_api.py +0 -162
- data/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -185
- data/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -171
- data/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -434
- data/pulpcore/client/pulp_python/api/remotes_python_api.py +0 -972
- data/pulpcore/client/pulp_python/api/repositories_python_api.py +0 -1063
- data/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +0 -614
- data/pulpcore/client/pulp_python/api_client.py +0 -667
- data/pulpcore/client/pulp_python/configuration.py +0 -427
- data/pulpcore/client/pulp_python/exceptions.py +0 -121
- data/pulpcore/client/pulp_python/models/__init__.py +0 -51
- data/pulpcore/client/pulp_python/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_python/models/content_summary.py +0 -176
- data/pulpcore/client/pulp_python/models/content_summary_response.py +0 -176
- data/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -103
- data/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -209
- data/pulpcore/client/pulp_python/models/package_types_enum.py +0 -107
- data/pulpcore/client/pulp_python/models/package_upload.py +0 -187
- data/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -176
- data/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +0 -286
- data/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -823
- data/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -259
- data/pulpcore/client/pulp_python/models/policy_enum.py +0 -102
- data/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -181
- data/pulpcore/client/pulp_python/models/python_python_distribution.py +0 -288
- data/pulpcore/client/pulp_python/models/python_python_distribution_response.py +0 -368
- data/pulpcore/client/pulp_python/models/python_python_package_content.py +0 -824
- data/pulpcore/client/pulp_python/models/python_python_package_content_response.py +0 -933
- data/pulpcore/client/pulp_python/models/python_python_publication.py +0 -149
- data/pulpcore/client/pulp_python/models/python_python_publication_response.py +0 -231
- data/pulpcore/client/pulp_python/models/python_python_remote.py +0 -825
- data/pulpcore/client/pulp_python/models/python_python_remote_response.py +0 -772
- data/pulpcore/client/pulp_python/models/python_python_repository.py +0 -260
- data/pulpcore/client/pulp_python/models/python_python_repository_response.py +0 -366
- data/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -179
- data/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -151
- data/pulpcore/client/pulp_python/models/repository_version.py +0 -123
- data/pulpcore/client/pulp_python/models/repository_version_response.py +0 -257
- data/pulpcore/client/pulp_python/models/summary_response.py +0 -182
- data/pulpcore/client/pulp_python/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +0 -54
- data/test/test_content_packages_api.py +0 -55
- data/test/test_content_summary.py +0 -70
- data/test/test_content_summary_response.py +0 -70
- data/test/test_distributions_pypi_api.py +0 -76
- data/test/test_exclude_platforms_enum.py +0 -52
- data/test/test_package_metadata_response.py +0 -60
- data/test/test_package_types_enum.py +0 -52
- data/test/test_package_upload.py +0 -57
- data/test/test_package_upload_task_response.py +0 -58
- data/test/test_paginated_repository_version_response_list.py +0 -64
- data/test/test_paginatedpython_python_distribution_response_list.py +0 -68
- data/test/test_paginatedpython_python_package_content_response_list.py +0 -88
- data/test/test_paginatedpython_python_publication_response_list.py +0 -65
- data/test/test_paginatedpython_python_remote_response_list.py +0 -88
- data/test/test_paginatedpython_python_repository_response_list.py +0 -68
- data/test/test_patchedpython_python_distribution.py +0 -59
- data/test/test_patchedpython_python_remote.py +0 -84
- data/test/test_patchedpython_python_repository.py +0 -58
- data/test/test_policy_enum.py +0 -52
- data/test/test_publications_pypi_api.py +0 -62
- data/test/test_pypi_api.py +0 -41
- data/test/test_pypi_legacy_api.py +0 -41
- data/test/test_pypi_metadata_api.py +0 -41
- data/test/test_pypi_simple_api.py +0 -55
- data/test/test_python_bander_remote.py +0 -57
- data/test/test_python_python_distribution.py +0 -61
- data/test/test_python_python_distribution_response.py +0 -64
- data/test/test_python_python_package_content.py +0 -79
- data/test/test_python_python_package_content_response.py +0 -82
- data/test/test_python_python_publication.py +0 -54
- data/test/test_python_python_publication_response.py +0 -59
- data/test/test_python_python_remote.py +0 -86
- data/test/test_python_python_remote_response.py +0 -84
- data/test/test_python_python_repository.py +0 -59
- data/test/test_python_python_repository_response.py +0 -63
- data/test/test_remotes_python_api.py +0 -83
- data/test/test_repositories_python_api.py +0 -90
- data/test/test_repositories_python_versions_api.py +0 -61
- data/test/test_repository_add_remove_content.py +0 -59
- data/test/test_repository_sync_url.py +0 -54
- data/test/test_repository_version.py +0 -53
- data/test/test_repository_version_response.py +0 -58
- data/test/test_summary_response.py +0 -58
- data/test-requirements.txt +0 -3
- data/tox.ini +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f926ce939cc4f2ca215cef9d8b3b6632054026c598c34e53cf0c3db9ccea5675
|
|
4
|
+
data.tar.gz: 8344309f2f90d36f6663a3c30cf6d335f053918c0adf7f403236dc62ee0298c9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 54564d5d0c0fd6289c34952a5050b08d3f3c6027df48b33d5c96c6eb1ed21359ce3a7ea8134a29e514cab5da0fa4383f99a8b8a9d8ee9cc7ddb0a7535a94ceff
|
|
7
|
+
data.tar.gz: b1916c13f959009b8a28670836f8a4b88e19c88a6e8be0b66515d977a956dc404f38465084cd5d18106e3c1c6ae157bbf780c400e8fc23c82bec40355c4ed46d
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
|
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
8
8
|
|
|
9
9
|
- API version: v3
|
|
10
|
-
- Package version: 3.4.
|
|
10
|
+
- Package version: 3.4.1
|
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
12
12
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
13
13
|
|
|
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
|
|
|
24
24
|
Then either install the gem locally:
|
|
25
25
|
|
|
26
26
|
```shell
|
|
27
|
-
gem install ./pulp_python_client-3.4.
|
|
27
|
+
gem install ./pulp_python_client-3.4.1.gem
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
(for development, run `gem install --dev ./pulp_python_client-3.4.
|
|
30
|
+
(for development, run `gem install --dev ./pulp_python_client-3.4.1.gem` to install the development dependencies)
|
|
31
31
|
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
33
33
|
|
|
34
34
|
Finally add this to the Gemfile:
|
|
35
35
|
|
|
36
|
-
gem 'pulp_python_client', '~> 3.4.
|
|
36
|
+
gem 'pulp_python_client', '~> 3.4.1'
|
|
37
37
|
|
|
38
38
|
### Install from Git
|
|
39
39
|
|
data/docs/ContentPackagesApi.md
CHANGED
|
@@ -157,6 +157,8 @@ opts = {
|
|
|
157
157
|
requires_python: 'requires_python_example', # String | Filter results where requires_python matches value
|
|
158
158
|
requires_python__contains: 'requires_python__contains_example', # String | Filter results where requires_python contains value
|
|
159
159
|
requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
|
|
160
|
+
sha256: 'sha256_example', # String | Filter results where sha256 matches value
|
|
161
|
+
sha256__in: ['sha256__in_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
|
|
160
162
|
fields: 'fields_example', # String | A list of fields to include in the response.
|
|
161
163
|
exclude_fields: 'exclude_fields_example' # String | A list of fields to exclude from the response.
|
|
162
164
|
}
|
|
@@ -195,6 +197,8 @@ Name | Type | Description | Notes
|
|
|
195
197
|
**requires_python** | **String**| Filter results where requires_python matches value | [optional]
|
|
196
198
|
**requires_python__contains** | **String**| Filter results where requires_python contains value | [optional]
|
|
197
199
|
**requires_python__in** | [**Array<String>**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
|
|
200
|
+
**sha256** | **String**| Filter results where sha256 matches value | [optional]
|
|
201
|
+
**sha256__in** | [**Array<String>**](String.md)| Filter results where sha256 is in a comma-separated list of values | [optional]
|
|
198
202
|
**fields** | **String**| A list of fields to include in the response. | [optional]
|
|
199
203
|
**exclude_fields** | **String**| A list of fields to exclude from the response. | [optional]
|
|
200
204
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
|
7
|
-
**add_content_units** | **Array<
|
|
8
|
-
**remove_content_units** | **Array<
|
|
7
|
+
**add_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
|
8
|
+
**remove_content_units** | [**Array<AnyType>**](AnyType.md) | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
|
10
10
|
|
|
11
11
|
## Code Sample
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -182,6 +182,8 @@ module PulpPythonClient
|
|
|
182
182
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
|
183
183
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
|
184
184
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
|
185
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
186
|
+
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
|
185
187
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
186
188
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
187
189
|
# @return [PaginatedpythonPythonPackageContentResponseList]
|
|
@@ -213,6 +215,8 @@ module PulpPythonClient
|
|
|
213
215
|
# @option opts [String] :requires_python Filter results where requires_python matches value
|
|
214
216
|
# @option opts [String] :requires_python__contains Filter results where requires_python contains value
|
|
215
217
|
# @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
|
|
218
|
+
# @option opts [String] :sha256 Filter results where sha256 matches value
|
|
219
|
+
# @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
|
|
216
220
|
# @option opts [String] :fields A list of fields to include in the response.
|
|
217
221
|
# @option opts [String] :exclude_fields A list of fields to exclude from the response.
|
|
218
222
|
# @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
|
|
@@ -249,6 +253,8 @@ module PulpPythonClient
|
|
|
249
253
|
query_params[:'requires_python'] = opts[:'requires_python'] if !opts[:'requires_python'].nil?
|
|
250
254
|
query_params[:'requires_python__contains'] = opts[:'requires_python__contains'] if !opts[:'requires_python__contains'].nil?
|
|
251
255
|
query_params[:'requires_python__in'] = @api_client.build_collection_param(opts[:'requires_python__in'], :csv) if !opts[:'requires_python__in'].nil?
|
|
256
|
+
query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
|
|
257
|
+
query_params[:'sha256__in'] = @api_client.build_collection_param(opts[:'sha256__in'], :csv) if !opts[:'sha256__in'].nil?
|
|
252
258
|
query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
|
|
253
259
|
query_params[:'exclude_fields'] = opts[:'exclude_fields'] if !opts[:'exclude_fields'].nil?
|
|
254
260
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -53,8 +53,10 @@ module PulpPythonClient
|
|
|
53
53
|
:client_cert => @config.ssl_client_cert,
|
|
54
54
|
:client_key => @config.ssl_client_key
|
|
55
55
|
}
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
request_options = {
|
|
57
|
+
:params_encoder => @config.params_encoder
|
|
58
|
+
}
|
|
59
|
+
connection = Faraday.new(:url => config.base_url, :ssl => ssl_options, :request => request_options) do |conn|
|
|
58
60
|
conn.basic_auth(config.username, config.password)
|
|
59
61
|
if opts[:header_params]["Content-Type"] == "multipart/form-data"
|
|
60
62
|
conn.request :multipart
|
|
@@ -285,11 +287,13 @@ module PulpPythonClient
|
|
|
285
287
|
tempfile.write(chunk)
|
|
286
288
|
end
|
|
287
289
|
request.on_complete do |response|
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
if tempfile
|
|
291
|
+
tempfile.close
|
|
292
|
+
@config.logger.info "Temp file written to #{tempfile.path}, please copy the file to a proper folder "\
|
|
293
|
+
"with e.g. `FileUtils.cp(tempfile.path, '/new/file/path')` otherwise the temp file "\
|
|
294
|
+
"will be deleted automatically with GC. It's also recommended to delete the temp file "\
|
|
295
|
+
"explicitly with `tempfile.delete`"
|
|
296
|
+
end
|
|
293
297
|
end
|
|
294
298
|
end
|
|
295
299
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
The version of the OpenAPI document: v3
|
|
7
7
|
Contact: pulp-list@redhat.com
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
|
-
OpenAPI Generator version: 4.
|
|
9
|
+
OpenAPI Generator version: 4.3.1
|
|
10
10
|
|
|
11
11
|
=end
|
|
12
12
|
|
|
@@ -109,6 +109,12 @@ module PulpPythonClient
|
|
|
109
109
|
# Client private key file (for client certificate)
|
|
110
110
|
attr_accessor :ssl_client_key
|
|
111
111
|
|
|
112
|
+
# Set this to customize parameters encoder of array parameter.
|
|
113
|
+
# Default to nil. Faraday uses NestedParamsEncoder when nil.
|
|
114
|
+
#
|
|
115
|
+
# @see The params_encoder option of Faraday. Related source code:
|
|
116
|
+
# https://github.com/lostisland/faraday/tree/main/lib/faraday/encoders
|
|
117
|
+
attr_accessor :params_encoder
|
|
112
118
|
# Set this to customize parameters encoding of array parameter with multi collectionFormat.
|
|
113
119
|
# Default to nil.
|
|
114
120
|
#
|
|
@@ -133,6 +139,7 @@ module PulpPythonClient
|
|
|
133
139
|
@ssl_ca_file = nil
|
|
134
140
|
@ssl_client_cert = nil
|
|
135
141
|
@ssl_client_key = nil
|
|
142
|
+
@params_encoder = nil
|
|
136
143
|
@debugging = false
|
|
137
144
|
@inject_format = false
|
|
138
145
|
@force_ending_format = false
|