pulp_python_client 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -4
- data/build/lib/pulpcore/__init__.py +2 -0
- data/build/lib/pulpcore/client/__init__.py +2 -0
- data/build/lib/pulpcore/client/pulp_python/__init__.py +75 -0
- data/build/lib/pulpcore/client/pulp_python/api/__init__.py +15 -0
- data/build/lib/pulpcore/client/pulp_python/api/content_packages_api.py +626 -0
- data/build/lib/pulpcore/client/pulp_python/api/distributions_pypi_api.py +830 -0
- data/build/lib/pulpcore/client/pulp_python/api/publications_pypi_api.py +566 -0
- data/build/lib/pulpcore/client/pulp_python/api/pypi_api.py +162 -0
- data/build/lib/pulpcore/client/pulp_python/api/pypi_legacy_api.py +185 -0
- data/build/lib/pulpcore/client/pulp_python/api/pypi_metadata_api.py +171 -0
- data/build/lib/pulpcore/client/pulp_python/api/pypi_simple_api.py +434 -0
- data/build/lib/pulpcore/client/pulp_python/api/remotes_python_api.py +972 -0
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_api.py +1063 -0
- data/build/lib/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +614 -0
- data/build/lib/pulpcore/client/pulp_python/api_client.py +667 -0
- data/build/lib/pulpcore/client/pulp_python/configuration.py +427 -0
- data/build/lib/pulpcore/client/pulp_python/exceptions.py +121 -0
- data/build/lib/pulpcore/client/pulp_python/models/__init__.py +51 -0
- data/build/lib/pulpcore/client/pulp_python/models/async_operation_response.py +124 -0
- data/build/lib/pulpcore/client/pulp_python/models/content_summary.py +176 -0
- data/build/lib/pulpcore/client/pulp_python/models/content_summary_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +103 -0
- data/build/lib/pulpcore/client/pulp_python/models/package_metadata_response.py +209 -0
- data/build/lib/pulpcore/client/pulp_python/models/package_types_enum.py +107 -0
- data/build/lib/pulpcore/client/pulp_python/models/package_upload.py +187 -0
- data/build/lib/pulpcore/client/pulp_python/models/package_upload_task_response.py +176 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +197 -0
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +286 -0
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +823 -0
- data/build/lib/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +259 -0
- data/build/lib/pulpcore/client/pulp_python/models/policy_enum.py +102 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_bander_remote.py +181 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution.py +288 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_distribution_response.py +368 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content.py +824 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_package_content_response.py +933 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication.py +149 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_publication_response.py +231 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote.py +825 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_remote_response.py +772 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository.py +260 -0
- data/build/lib/pulpcore/client/pulp_python/models/python_python_repository_response.py +366 -0
- data/build/lib/pulpcore/client/pulp_python/models/repository_add_remove_content.py +179 -0
- data/build/lib/pulpcore/client/pulp_python/models/repository_sync_url.py +151 -0
- data/build/lib/pulpcore/client/pulp_python/models/repository_version.py +123 -0
- data/build/lib/pulpcore/client/pulp_python/models/repository_version_response.py +257 -0
- data/build/lib/pulpcore/client/pulp_python/models/summary_response.py +182 -0
- data/build/lib/pulpcore/client/pulp_python/rest.py +292 -0
- 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/docs/ContentPackagesApi.md +6 -0
- data/docs/DistributionsPypiApi.md +2 -2
- data/docs/PackageMetadataResponse.md +23 -0
- data/docs/PackageUpload.md +21 -0
- data/docs/PackageUploadTaskResponse.md +21 -0
- data/docs/PatchedpythonPythonDistribution.md +3 -1
- data/docs/PatchedpythonPythonRemote.md +1 -1
- data/docs/PublicationsPypiApi.md +1 -1
- data/docs/PypiApi.md +62 -0
- data/docs/PypiLegacyApi.md +70 -0
- data/docs/PypiMetadataApi.md +64 -0
- data/docs/PypiSimpleApi.md +190 -0
- data/docs/PythonBanderRemote.md +1 -1
- data/docs/PythonPythonDistribution.md +3 -1
- data/docs/PythonPythonDistributionResponse.md +4 -2
- data/docs/PythonPythonPackageContent.md +6 -0
- data/docs/PythonPythonPackageContentResponse.md +5 -1
- data/docs/PythonPythonRemote.md +1 -1
- data/docs/PythonPythonRemoteResponse.md +1 -1
- data/docs/RemotesPythonApi.md +3 -3
- data/docs/RepositoriesPythonApi.md +4 -4
- data/docs/SummaryResponse.md +21 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +9 -0
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +4 -4
- data/lib/pulp_python_client/api/publications_pypi_api.rb +2 -2
- data/lib/pulp_python_client/api/pypi_api.rb +90 -0
- data/lib/pulp_python_client/api/pypi_legacy_api.rb +111 -0
- data/lib/pulp_python_client/api/pypi_metadata_api.rb +96 -0
- data/lib/pulp_python_client/api/pypi_simple_api.rb +249 -0
- data/lib/pulp_python_client/api/remotes_python_api.rb +4 -4
- data/lib/pulp_python_client/api/repositories_python_api.rb +8 -8
- data/lib/pulp_python_client/models/package_metadata_response.rb +257 -0
- data/lib/pulp_python_client/models/package_upload.rb +268 -0
- data/lib/pulp_python_client/models/package_upload_task_response.rb +240 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +17 -5
- data/lib/pulp_python_client/models/patchedpython_python_remote.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 +17 -5
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +17 -6
- data/lib/pulp_python_client/models/python_python_package_content.rb +33 -1
- data/lib/pulp_python_client/models/python_python_package_content_response.rb +23 -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/summary_response.rb +243 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +8 -0
- data/pulp_python_client.egg-info/PKG-INFO +15 -0
- data/pulp_python_client.egg-info/SOURCES.txt +105 -0
- data/pulp_python_client.egg-info/dependency_links.txt +1 -0
- data/pulp_python_client.egg-info/requires.txt +4 -0
- data/pulp_python_client.egg-info/top_level.txt +1 -0
- data/pulpcore/__init__.py +2 -0
- data/pulpcore/client/__init__.py +2 -0
- data/pulpcore/client/pulp_python/__init__.py +75 -0
- data/pulpcore/client/pulp_python/api/__init__.py +15 -0
- data/pulpcore/client/pulp_python/api/content_packages_api.py +626 -0
- data/pulpcore/client/pulp_python/api/distributions_pypi_api.py +830 -0
- data/pulpcore/client/pulp_python/api/publications_pypi_api.py +566 -0
- data/pulpcore/client/pulp_python/api/pypi_api.py +162 -0
- data/pulpcore/client/pulp_python/api/pypi_legacy_api.py +185 -0
- data/pulpcore/client/pulp_python/api/pypi_metadata_api.py +171 -0
- data/pulpcore/client/pulp_python/api/pypi_simple_api.py +434 -0
- data/pulpcore/client/pulp_python/api/remotes_python_api.py +972 -0
- data/pulpcore/client/pulp_python/api/repositories_python_api.py +1063 -0
- data/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +614 -0
- data/pulpcore/client/pulp_python/api_client.py +667 -0
- data/pulpcore/client/pulp_python/configuration.py +427 -0
- data/pulpcore/client/pulp_python/exceptions.py +121 -0
- data/pulpcore/client/pulp_python/models/__init__.py +51 -0
- data/pulpcore/client/pulp_python/models/async_operation_response.py +124 -0
- data/pulpcore/client/pulp_python/models/content_summary.py +176 -0
- data/pulpcore/client/pulp_python/models/content_summary_response.py +176 -0
- data/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +103 -0
- data/pulpcore/client/pulp_python/models/package_metadata_response.py +209 -0
- data/pulpcore/client/pulp_python/models/package_types_enum.py +107 -0
- data/pulpcore/client/pulp_python/models/package_upload.py +187 -0
- data/pulpcore/client/pulp_python/models/package_upload_task_response.py +176 -0
- data/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +197 -0
- data/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +286 -0
- data/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +823 -0
- data/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +259 -0
- data/pulpcore/client/pulp_python/models/policy_enum.py +102 -0
- data/pulpcore/client/pulp_python/models/python_bander_remote.py +181 -0
- data/pulpcore/client/pulp_python/models/python_python_distribution.py +288 -0
- data/pulpcore/client/pulp_python/models/python_python_distribution_response.py +368 -0
- data/pulpcore/client/pulp_python/models/python_python_package_content.py +824 -0
- data/pulpcore/client/pulp_python/models/python_python_package_content_response.py +933 -0
- data/pulpcore/client/pulp_python/models/python_python_publication.py +149 -0
- data/pulpcore/client/pulp_python/models/python_python_publication_response.py +231 -0
- data/pulpcore/client/pulp_python/models/python_python_remote.py +825 -0
- data/pulpcore/client/pulp_python/models/python_python_remote_response.py +772 -0
- data/pulpcore/client/pulp_python/models/python_python_repository.py +260 -0
- data/pulpcore/client/pulp_python/models/python_python_repository_response.py +366 -0
- data/pulpcore/client/pulp_python/models/repository_add_remove_content.py +179 -0
- data/pulpcore/client/pulp_python/models/repository_sync_url.py +151 -0
- data/pulpcore/client/pulp_python/models/repository_version.py +123 -0
- data/pulpcore/client/pulp_python/models/repository_version_response.py +257 -0
- data/pulpcore/client/pulp_python/models/summary_response.py +182 -0
- data/pulpcore/client/pulp_python/rest.py +292 -0
- data/requirements.txt +6 -0
- data/setup.cfg +2 -0
- data/setup.py +42 -0
- data/spec/api/content_packages_api_spec.rb +3 -0
- data/spec/api/distributions_pypi_api_spec.rb +2 -2
- data/spec/api/publications_pypi_api_spec.rb +1 -1
- data/spec/api/pypi_api_spec.rb +49 -0
- data/spec/api/pypi_legacy_api_spec.rb +50 -0
- data/spec/api/pypi_metadata_api_spec.rb +50 -0
- data/spec/api/pypi_simple_api_spec.rb +79 -0
- data/spec/api/remotes_python_api_spec.rb +2 -2
- data/spec/api/repositories_python_api_spec.rb +4 -4
- data/spec/models/package_metadata_response_spec.rb +59 -0
- data/spec/models/package_upload_spec.rb +53 -0
- data/spec/models/package_upload_task_response_spec.rb +53 -0
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_response_spec.rb +12 -0
- data/spec/models/python_python_package_content_spec.rb +18 -0
- data/spec/models/summary_response_spec.rb +53 -0
- data/test/__init__.py +0 -0
- data/test/test_async_operation_response.py +54 -0
- data/test/test_content_packages_api.py +55 -0
- data/test/test_content_summary.py +70 -0
- data/test/test_content_summary_response.py +70 -0
- data/test/test_distributions_pypi_api.py +76 -0
- data/test/test_exclude_platforms_enum.py +52 -0
- data/test/test_package_metadata_response.py +60 -0
- data/test/test_package_types_enum.py +52 -0
- data/test/test_package_upload.py +57 -0
- data/test/test_package_upload_task_response.py +58 -0
- data/test/test_paginated_repository_version_response_list.py +64 -0
- data/test/test_paginatedpython_python_distribution_response_list.py +68 -0
- data/test/test_paginatedpython_python_package_content_response_list.py +88 -0
- data/test/test_paginatedpython_python_publication_response_list.py +65 -0
- data/test/test_paginatedpython_python_remote_response_list.py +88 -0
- data/test/test_paginatedpython_python_repository_response_list.py +68 -0
- data/test/test_patchedpython_python_distribution.py +59 -0
- data/test/test_patchedpython_python_remote.py +84 -0
- data/test/test_patchedpython_python_repository.py +58 -0
- data/test/test_policy_enum.py +52 -0
- data/test/test_publications_pypi_api.py +62 -0
- data/test/test_pypi_api.py +41 -0
- data/test/test_pypi_legacy_api.py +41 -0
- data/test/test_pypi_metadata_api.py +41 -0
- data/test/test_pypi_simple_api.py +55 -0
- data/test/test_python_bander_remote.py +57 -0
- data/test/test_python_python_distribution.py +61 -0
- data/test/test_python_python_distribution_response.py +64 -0
- data/test/test_python_python_package_content.py +79 -0
- data/test/test_python_python_package_content_response.py +82 -0
- data/test/test_python_python_publication.py +54 -0
- data/test/test_python_python_publication_response.py +59 -0
- data/test/test_python_python_remote.py +86 -0
- data/test/test_python_python_remote_response.py +84 -0
- data/test/test_python_python_repository.py +59 -0
- data/test/test_python_python_repository_response.py +63 -0
- data/test/test_remotes_python_api.py +83 -0
- data/test/test_repositories_python_api.py +90 -0
- data/test/test_repositories_python_versions_api.py +61 -0
- data/test/test_repository_add_remove_content.py +59 -0
- data/test/test_repository_sync_url.py +54 -0
- data/test/test_repository_version.py +53 -0
- data/test/test_repository_version_response.py +58 -0
- data/test/test_summary_response.py +58 -0
- data/test-requirements.txt +3 -0
- data/tox.ini +9 -0
- metadata +221 -26
@@ -47,6 +47,9 @@ module PulpPythonClient
|
|
47
47
|
# A longer description of the package that can run to several paragraphs.
|
48
48
|
attr_accessor :description
|
49
49
|
|
50
|
+
# A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
|
51
|
+
attr_accessor :description_content_type
|
52
|
+
|
50
53
|
# Additional keywords to be used to assist searching for the package in a larger catalog.
|
51
54
|
attr_accessor :keywords
|
52
55
|
|
@@ -77,6 +80,9 @@ module PulpPythonClient
|
|
77
80
|
# A browsable URL for the project and a label for it, separated by a comma.
|
78
81
|
attr_accessor :project_url
|
79
82
|
|
83
|
+
# A dictionary of labels and URLs for the project.
|
84
|
+
attr_accessor :project_urls
|
85
|
+
|
80
86
|
# A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
|
81
87
|
attr_accessor :platform
|
82
88
|
|
@@ -112,6 +118,7 @@ module PulpPythonClient
|
|
112
118
|
:'metadata_version' => :'metadata_version',
|
113
119
|
:'summary' => :'summary',
|
114
120
|
:'description' => :'description',
|
121
|
+
:'description_content_type' => :'description_content_type',
|
115
122
|
:'keywords' => :'keywords',
|
116
123
|
:'home_page' => :'home_page',
|
117
124
|
:'download_url' => :'download_url',
|
@@ -122,6 +129,7 @@ module PulpPythonClient
|
|
122
129
|
:'license' => :'license',
|
123
130
|
:'requires_python' => :'requires_python',
|
124
131
|
:'project_url' => :'project_url',
|
132
|
+
:'project_urls' => :'project_urls',
|
125
133
|
:'platform' => :'platform',
|
126
134
|
:'supported_platform' => :'supported_platform',
|
127
135
|
:'requires_dist' => :'requires_dist',
|
@@ -146,6 +154,7 @@ module PulpPythonClient
|
|
146
154
|
:'metadata_version' => :'String',
|
147
155
|
:'summary' => :'String',
|
148
156
|
:'description' => :'String',
|
157
|
+
:'description_content_type' => :'String',
|
149
158
|
:'keywords' => :'String',
|
150
159
|
:'home_page' => :'String',
|
151
160
|
:'download_url' => :'String',
|
@@ -156,6 +165,7 @@ module PulpPythonClient
|
|
156
165
|
:'license' => :'String',
|
157
166
|
:'requires_python' => :'String',
|
158
167
|
:'project_url' => :'String',
|
168
|
+
:'project_urls' => :'Object',
|
159
169
|
:'platform' => :'String',
|
160
170
|
:'supported_platform' => :'String',
|
161
171
|
:'requires_dist' => :'Object',
|
@@ -217,6 +227,8 @@ module PulpPythonClient
|
|
217
227
|
|
218
228
|
if attributes.key?(:'sha256')
|
219
229
|
self.sha256 = attributes[:'sha256']
|
230
|
+
else
|
231
|
+
self.sha256 = ''
|
220
232
|
end
|
221
233
|
|
222
234
|
if attributes.key?(:'metadata_version')
|
@@ -231,6 +243,10 @@ module PulpPythonClient
|
|
231
243
|
self.description = attributes[:'description']
|
232
244
|
end
|
233
245
|
|
246
|
+
if attributes.key?(:'description_content_type')
|
247
|
+
self.description_content_type = attributes[:'description_content_type']
|
248
|
+
end
|
249
|
+
|
234
250
|
if attributes.key?(:'keywords')
|
235
251
|
self.keywords = attributes[:'keywords']
|
236
252
|
end
|
@@ -271,6 +287,10 @@ module PulpPythonClient
|
|
271
287
|
self.project_url = attributes[:'project_url']
|
272
288
|
end
|
273
289
|
|
290
|
+
if attributes.key?(:'project_urls')
|
291
|
+
self.project_urls = attributes[:'project_urls']
|
292
|
+
end
|
293
|
+
|
274
294
|
if attributes.key?(:'platform')
|
275
295
|
self.platform = attributes[:'platform']
|
276
296
|
end
|
@@ -329,6 +349,7 @@ module PulpPythonClient
|
|
329
349
|
metadata_version == o.metadata_version &&
|
330
350
|
summary == o.summary &&
|
331
351
|
description == o.description &&
|
352
|
+
description_content_type == o.description_content_type &&
|
332
353
|
keywords == o.keywords &&
|
333
354
|
home_page == o.home_page &&
|
334
355
|
download_url == o.download_url &&
|
@@ -339,6 +360,7 @@ module PulpPythonClient
|
|
339
360
|
license == o.license &&
|
340
361
|
requires_python == o.requires_python &&
|
341
362
|
project_url == o.project_url &&
|
363
|
+
project_urls == o.project_urls &&
|
342
364
|
platform == o.platform &&
|
343
365
|
supported_platform == o.supported_platform &&
|
344
366
|
requires_dist == o.requires_dist &&
|
@@ -357,7 +379,7 @@ module PulpPythonClient
|
|
357
379
|
# Calculates hash code according to all attributes.
|
358
380
|
# @return [Integer] Hash code
|
359
381
|
def hash
|
360
|
-
[pulp_href, pulp_created, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
|
382
|
+
[pulp_href, pulp_created, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
|
361
383
|
end
|
362
384
|
|
363
385
|
# Builds the object from hash
|
@@ -53,7 +53,7 @@ module PulpPythonClient
|
|
53
53
|
# Total number of simultaneous connections.
|
54
54
|
attr_accessor :download_concurrency
|
55
55
|
|
56
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and '
|
56
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default.
|
57
57
|
attr_accessor :policy
|
58
58
|
|
59
59
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
@@ -46,7 +46,7 @@ module PulpPythonClient
|
|
46
46
|
# Total number of simultaneous connections.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
49
|
-
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and '
|
49
|
+
# The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default.
|
50
50
|
attr_accessor :policy
|
51
51
|
|
52
52
|
# aiohttp.ClientTimeout.total (q.v.) for download-connections.
|
@@ -0,0 +1,243 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
|
15
|
+
module PulpPythonClient
|
16
|
+
# A Serializer for summary information of an index.
|
17
|
+
class SummaryResponse
|
18
|
+
# Number of Python projects in index
|
19
|
+
attr_accessor :projects
|
20
|
+
|
21
|
+
# Number of Python distribution releases in index
|
22
|
+
attr_accessor :releases
|
23
|
+
|
24
|
+
# Number of files for all distributions in index
|
25
|
+
attr_accessor :files
|
26
|
+
|
27
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
28
|
+
def self.attribute_map
|
29
|
+
{
|
30
|
+
:'projects' => :'projects',
|
31
|
+
:'releases' => :'releases',
|
32
|
+
:'files' => :'files'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.openapi_types
|
38
|
+
{
|
39
|
+
:'projects' => :'Integer',
|
40
|
+
:'releases' => :'Integer',
|
41
|
+
:'files' => :'Integer'
|
42
|
+
}
|
43
|
+
end
|
44
|
+
|
45
|
+
# List of attributes with nullable: true
|
46
|
+
def self.openapi_nullable
|
47
|
+
Set.new([
|
48
|
+
])
|
49
|
+
end
|
50
|
+
|
51
|
+
# Initializes the object
|
52
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
53
|
+
def initialize(attributes = {})
|
54
|
+
if (!attributes.is_a?(Hash))
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::SummaryResponse` initialize method"
|
56
|
+
end
|
57
|
+
|
58
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
59
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
60
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::SummaryResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
62
|
+
end
|
63
|
+
h[k.to_sym] = v
|
64
|
+
}
|
65
|
+
|
66
|
+
if attributes.key?(:'projects')
|
67
|
+
self.projects = attributes[:'projects']
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.key?(:'releases')
|
71
|
+
self.releases = attributes[:'releases']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.key?(:'files')
|
75
|
+
self.files = attributes[:'files']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
80
|
+
# @return Array for valid properties with the reasons
|
81
|
+
def list_invalid_properties
|
82
|
+
invalid_properties = Array.new
|
83
|
+
if @projects.nil?
|
84
|
+
invalid_properties.push('invalid value for "projects", projects cannot be nil.')
|
85
|
+
end
|
86
|
+
|
87
|
+
if @releases.nil?
|
88
|
+
invalid_properties.push('invalid value for "releases", releases cannot be nil.')
|
89
|
+
end
|
90
|
+
|
91
|
+
if @files.nil?
|
92
|
+
invalid_properties.push('invalid value for "files", files cannot be nil.')
|
93
|
+
end
|
94
|
+
|
95
|
+
invalid_properties
|
96
|
+
end
|
97
|
+
|
98
|
+
# Check to see if the all the properties in the model are valid
|
99
|
+
# @return true if the model is valid
|
100
|
+
def valid?
|
101
|
+
return false if @projects.nil?
|
102
|
+
return false if @releases.nil?
|
103
|
+
return false if @files.nil?
|
104
|
+
true
|
105
|
+
end
|
106
|
+
|
107
|
+
# Checks equality by comparing each attribute.
|
108
|
+
# @param [Object] Object to be compared
|
109
|
+
def ==(o)
|
110
|
+
return true if self.equal?(o)
|
111
|
+
self.class == o.class &&
|
112
|
+
projects == o.projects &&
|
113
|
+
releases == o.releases &&
|
114
|
+
files == o.files
|
115
|
+
end
|
116
|
+
|
117
|
+
# @see the `==` method
|
118
|
+
# @param [Object] Object to be compared
|
119
|
+
def eql?(o)
|
120
|
+
self == o
|
121
|
+
end
|
122
|
+
|
123
|
+
# Calculates hash code according to all attributes.
|
124
|
+
# @return [Integer] Hash code
|
125
|
+
def hash
|
126
|
+
[projects, releases, files].hash
|
127
|
+
end
|
128
|
+
|
129
|
+
# Builds the object from hash
|
130
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
131
|
+
# @return [Object] Returns the model itself
|
132
|
+
def self.build_from_hash(attributes)
|
133
|
+
new.build_from_hash(attributes)
|
134
|
+
end
|
135
|
+
|
136
|
+
# Builds the object from hash
|
137
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
138
|
+
# @return [Object] Returns the model itself
|
139
|
+
def build_from_hash(attributes)
|
140
|
+
return nil unless attributes.is_a?(Hash)
|
141
|
+
self.class.openapi_types.each_pair do |key, type|
|
142
|
+
if type =~ /\AArray<(.*)>/i
|
143
|
+
# check to ensure the input is an array given that the attribute
|
144
|
+
# is documented as an array but the input is not
|
145
|
+
if attributes[self.class.attribute_map[key]].is_a?(Array)
|
146
|
+
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
|
147
|
+
end
|
148
|
+
elsif !attributes[self.class.attribute_map[key]].nil?
|
149
|
+
self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
|
150
|
+
end # or else data not found in attributes(hash), not an issue as the data can be optional
|
151
|
+
end
|
152
|
+
|
153
|
+
self
|
154
|
+
end
|
155
|
+
|
156
|
+
# Deserializes the data based on type
|
157
|
+
# @param string type Data type
|
158
|
+
# @param string value Value to be deserialized
|
159
|
+
# @return [Object] Deserialized data
|
160
|
+
def _deserialize(type, value)
|
161
|
+
case type.to_sym
|
162
|
+
when :DateTime
|
163
|
+
DateTime.parse(value)
|
164
|
+
when :Date
|
165
|
+
Date.parse(value)
|
166
|
+
when :String
|
167
|
+
value.to_s
|
168
|
+
when :Integer
|
169
|
+
value.to_i
|
170
|
+
when :Float
|
171
|
+
value.to_f
|
172
|
+
when :Boolean
|
173
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
174
|
+
true
|
175
|
+
else
|
176
|
+
false
|
177
|
+
end
|
178
|
+
when :Object
|
179
|
+
# generic object (usually a Hash), return directly
|
180
|
+
value
|
181
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
182
|
+
inner_type = Regexp.last_match[:inner_type]
|
183
|
+
value.map { |v| _deserialize(inner_type, v) }
|
184
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
185
|
+
k_type = Regexp.last_match[:k_type]
|
186
|
+
v_type = Regexp.last_match[:v_type]
|
187
|
+
{}.tap do |hash|
|
188
|
+
value.each do |k, v|
|
189
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
190
|
+
end
|
191
|
+
end
|
192
|
+
else # model
|
193
|
+
PulpPythonClient.const_get(type).build_from_hash(value)
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
# Returns the string representation of the object
|
198
|
+
# @return [String] String presentation of the object
|
199
|
+
def to_s
|
200
|
+
to_hash.to_s
|
201
|
+
end
|
202
|
+
|
203
|
+
# to_body is an alias to to_hash (backward compatibility)
|
204
|
+
# @return [Hash] Returns the object in the form of hash
|
205
|
+
def to_body
|
206
|
+
to_hash
|
207
|
+
end
|
208
|
+
|
209
|
+
# Returns the object in the form of hash
|
210
|
+
# @return [Hash] Returns the object in the form of hash
|
211
|
+
def to_hash
|
212
|
+
hash = {}
|
213
|
+
self.class.attribute_map.each_pair do |attr, param|
|
214
|
+
value = self.send(attr)
|
215
|
+
if value.nil?
|
216
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
217
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
218
|
+
end
|
219
|
+
|
220
|
+
hash[param] = _to_hash(value)
|
221
|
+
end
|
222
|
+
hash
|
223
|
+
end
|
224
|
+
|
225
|
+
# Outputs non-array value in the form of hash
|
226
|
+
# For object, use to_hash. Otherwise, just return the value
|
227
|
+
# @param [Object] value Any valid value
|
228
|
+
# @return [Hash] Returns the value in the form of hash
|
229
|
+
def _to_hash(value)
|
230
|
+
if value.is_a?(Array)
|
231
|
+
value.compact.map { |v| _to_hash(v) }
|
232
|
+
elsif value.is_a?(Hash)
|
233
|
+
{}.tap do |hash|
|
234
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
235
|
+
end
|
236
|
+
elsif value.respond_to? :to_hash
|
237
|
+
value.to_hash
|
238
|
+
else
|
239
|
+
value
|
240
|
+
end
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
data/lib/pulp_python_client.rb
CHANGED
@@ -21,7 +21,10 @@ require 'pulp_python_client/models/async_operation_response'
|
|
21
21
|
require 'pulp_python_client/models/content_summary'
|
22
22
|
require 'pulp_python_client/models/content_summary_response'
|
23
23
|
require 'pulp_python_client/models/exclude_platforms_enum'
|
24
|
+
require 'pulp_python_client/models/package_metadata_response'
|
24
25
|
require 'pulp_python_client/models/package_types_enum'
|
26
|
+
require 'pulp_python_client/models/package_upload'
|
27
|
+
require 'pulp_python_client/models/package_upload_task_response'
|
25
28
|
require 'pulp_python_client/models/paginated_repository_version_response_list'
|
26
29
|
require 'pulp_python_client/models/paginatedpython_python_distribution_response_list'
|
27
30
|
require 'pulp_python_client/models/paginatedpython_python_package_content_response_list'
|
@@ -47,11 +50,16 @@ require 'pulp_python_client/models/repository_add_remove_content'
|
|
47
50
|
require 'pulp_python_client/models/repository_sync_url'
|
48
51
|
require 'pulp_python_client/models/repository_version'
|
49
52
|
require 'pulp_python_client/models/repository_version_response'
|
53
|
+
require 'pulp_python_client/models/summary_response'
|
50
54
|
|
51
55
|
# APIs
|
52
56
|
require 'pulp_python_client/api/content_packages_api'
|
53
57
|
require 'pulp_python_client/api/distributions_pypi_api'
|
54
58
|
require 'pulp_python_client/api/publications_pypi_api'
|
59
|
+
require 'pulp_python_client/api/pypi_api'
|
60
|
+
require 'pulp_python_client/api/pypi_legacy_api'
|
61
|
+
require 'pulp_python_client/api/pypi_metadata_api'
|
62
|
+
require 'pulp_python_client/api/pypi_simple_api'
|
55
63
|
require 'pulp_python_client/api/remotes_python_api'
|
56
64
|
require 'pulp_python_client/api/repositories_python_api'
|
57
65
|
require 'pulp_python_client/api/repositories_python_versions_api'
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: pulp-python-client
|
3
|
+
Version: 3.4.0
|
4
|
+
Summary: Pulp 3 API
|
5
|
+
Home-page: UNKNOWN
|
6
|
+
Author: Pulp Team
|
7
|
+
Author-email: pulp-list@redhat.com
|
8
|
+
License: GPLv2+
|
9
|
+
Keywords: pulp,pulpcore,client,Pulp 3 API
|
10
|
+
Platform: UNKNOWN
|
11
|
+
Requires-Python: >=3.4
|
12
|
+
|
13
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
14
|
+
|
15
|
+
|
@@ -0,0 +1,105 @@
|
|
1
|
+
README.md
|
2
|
+
setup.cfg
|
3
|
+
setup.py
|
4
|
+
pulp_python_client.egg-info/PKG-INFO
|
5
|
+
pulp_python_client.egg-info/SOURCES.txt
|
6
|
+
pulp_python_client.egg-info/dependency_links.txt
|
7
|
+
pulp_python_client.egg-info/requires.txt
|
8
|
+
pulp_python_client.egg-info/top_level.txt
|
9
|
+
pulpcore/__init__.py
|
10
|
+
pulpcore/client/__init__.py
|
11
|
+
pulpcore/client/pulp_python/__init__.py
|
12
|
+
pulpcore/client/pulp_python/api_client.py
|
13
|
+
pulpcore/client/pulp_python/configuration.py
|
14
|
+
pulpcore/client/pulp_python/exceptions.py
|
15
|
+
pulpcore/client/pulp_python/rest.py
|
16
|
+
pulpcore/client/pulp_python/api/__init__.py
|
17
|
+
pulpcore/client/pulp_python/api/content_packages_api.py
|
18
|
+
pulpcore/client/pulp_python/api/distributions_pypi_api.py
|
19
|
+
pulpcore/client/pulp_python/api/publications_pypi_api.py
|
20
|
+
pulpcore/client/pulp_python/api/pypi_api.py
|
21
|
+
pulpcore/client/pulp_python/api/pypi_legacy_api.py
|
22
|
+
pulpcore/client/pulp_python/api/pypi_metadata_api.py
|
23
|
+
pulpcore/client/pulp_python/api/pypi_simple_api.py
|
24
|
+
pulpcore/client/pulp_python/api/remotes_python_api.py
|
25
|
+
pulpcore/client/pulp_python/api/repositories_python_api.py
|
26
|
+
pulpcore/client/pulp_python/api/repositories_python_versions_api.py
|
27
|
+
pulpcore/client/pulp_python/models/__init__.py
|
28
|
+
pulpcore/client/pulp_python/models/async_operation_response.py
|
29
|
+
pulpcore/client/pulp_python/models/content_summary.py
|
30
|
+
pulpcore/client/pulp_python/models/content_summary_response.py
|
31
|
+
pulpcore/client/pulp_python/models/exclude_platforms_enum.py
|
32
|
+
pulpcore/client/pulp_python/models/package_metadata_response.py
|
33
|
+
pulpcore/client/pulp_python/models/package_types_enum.py
|
34
|
+
pulpcore/client/pulp_python/models/package_upload.py
|
35
|
+
pulpcore/client/pulp_python/models/package_upload_task_response.py
|
36
|
+
pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py
|
37
|
+
pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py
|
38
|
+
pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py
|
39
|
+
pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py
|
40
|
+
pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py
|
41
|
+
pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py
|
42
|
+
pulpcore/client/pulp_python/models/patchedpython_python_distribution.py
|
43
|
+
pulpcore/client/pulp_python/models/patchedpython_python_remote.py
|
44
|
+
pulpcore/client/pulp_python/models/patchedpython_python_repository.py
|
45
|
+
pulpcore/client/pulp_python/models/policy_enum.py
|
46
|
+
pulpcore/client/pulp_python/models/python_bander_remote.py
|
47
|
+
pulpcore/client/pulp_python/models/python_python_distribution.py
|
48
|
+
pulpcore/client/pulp_python/models/python_python_distribution_response.py
|
49
|
+
pulpcore/client/pulp_python/models/python_python_package_content.py
|
50
|
+
pulpcore/client/pulp_python/models/python_python_package_content_response.py
|
51
|
+
pulpcore/client/pulp_python/models/python_python_publication.py
|
52
|
+
pulpcore/client/pulp_python/models/python_python_publication_response.py
|
53
|
+
pulpcore/client/pulp_python/models/python_python_remote.py
|
54
|
+
pulpcore/client/pulp_python/models/python_python_remote_response.py
|
55
|
+
pulpcore/client/pulp_python/models/python_python_repository.py
|
56
|
+
pulpcore/client/pulp_python/models/python_python_repository_response.py
|
57
|
+
pulpcore/client/pulp_python/models/repository_add_remove_content.py
|
58
|
+
pulpcore/client/pulp_python/models/repository_sync_url.py
|
59
|
+
pulpcore/client/pulp_python/models/repository_version.py
|
60
|
+
pulpcore/client/pulp_python/models/repository_version_response.py
|
61
|
+
pulpcore/client/pulp_python/models/summary_response.py
|
62
|
+
test/test_async_operation_response.py
|
63
|
+
test/test_content_packages_api.py
|
64
|
+
test/test_content_summary.py
|
65
|
+
test/test_content_summary_response.py
|
66
|
+
test/test_distributions_pypi_api.py
|
67
|
+
test/test_exclude_platforms_enum.py
|
68
|
+
test/test_package_metadata_response.py
|
69
|
+
test/test_package_types_enum.py
|
70
|
+
test/test_package_upload.py
|
71
|
+
test/test_package_upload_task_response.py
|
72
|
+
test/test_paginated_repository_version_response_list.py
|
73
|
+
test/test_paginatedpython_python_distribution_response_list.py
|
74
|
+
test/test_paginatedpython_python_package_content_response_list.py
|
75
|
+
test/test_paginatedpython_python_publication_response_list.py
|
76
|
+
test/test_paginatedpython_python_remote_response_list.py
|
77
|
+
test/test_paginatedpython_python_repository_response_list.py
|
78
|
+
test/test_patchedpython_python_distribution.py
|
79
|
+
test/test_patchedpython_python_remote.py
|
80
|
+
test/test_patchedpython_python_repository.py
|
81
|
+
test/test_policy_enum.py
|
82
|
+
test/test_publications_pypi_api.py
|
83
|
+
test/test_pypi_api.py
|
84
|
+
test/test_pypi_legacy_api.py
|
85
|
+
test/test_pypi_metadata_api.py
|
86
|
+
test/test_pypi_simple_api.py
|
87
|
+
test/test_python_bander_remote.py
|
88
|
+
test/test_python_python_distribution.py
|
89
|
+
test/test_python_python_distribution_response.py
|
90
|
+
test/test_python_python_package_content.py
|
91
|
+
test/test_python_python_package_content_response.py
|
92
|
+
test/test_python_python_publication.py
|
93
|
+
test/test_python_python_publication_response.py
|
94
|
+
test/test_python_python_remote.py
|
95
|
+
test/test_python_python_remote_response.py
|
96
|
+
test/test_python_python_repository.py
|
97
|
+
test/test_python_python_repository_response.py
|
98
|
+
test/test_remotes_python_api.py
|
99
|
+
test/test_repositories_python_api.py
|
100
|
+
test/test_repositories_python_versions_api.py
|
101
|
+
test/test_repository_add_remove_content.py
|
102
|
+
test/test_repository_sync_url.py
|
103
|
+
test/test_repository_version.py
|
104
|
+
test/test_repository_version_response.py
|
105
|
+
test/test_summary_response.py
|
@@ -0,0 +1 @@
|
|
1
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
pulpcore
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
"""
|
6
|
+
Pulp 3 API
|
7
|
+
|
8
|
+
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
9
|
+
|
10
|
+
The version of the OpenAPI document: v3
|
11
|
+
Contact: pulp-list@redhat.com
|
12
|
+
Generated by: https://openapi-generator.tech
|
13
|
+
"""
|
14
|
+
|
15
|
+
|
16
|
+
from __future__ import absolute_import
|
17
|
+
|
18
|
+
__version__ = "3.4.0"
|
19
|
+
|
20
|
+
# import apis into sdk package
|
21
|
+
from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
|
22
|
+
from pulpcore.client.pulp_python.api.distributions_pypi_api import DistributionsPypiApi
|
23
|
+
from pulpcore.client.pulp_python.api.publications_pypi_api import PublicationsPypiApi
|
24
|
+
from pulpcore.client.pulp_python.api.pypi_api import PypiApi
|
25
|
+
from pulpcore.client.pulp_python.api.pypi_legacy_api import PypiLegacyApi
|
26
|
+
from pulpcore.client.pulp_python.api.pypi_metadata_api import PypiMetadataApi
|
27
|
+
from pulpcore.client.pulp_python.api.pypi_simple_api import PypiSimpleApi
|
28
|
+
from pulpcore.client.pulp_python.api.remotes_python_api import RemotesPythonApi
|
29
|
+
from pulpcore.client.pulp_python.api.repositories_python_api import RepositoriesPythonApi
|
30
|
+
from pulpcore.client.pulp_python.api.repositories_python_versions_api import RepositoriesPythonVersionsApi
|
31
|
+
|
32
|
+
# import ApiClient
|
33
|
+
from pulpcore.client.pulp_python.api_client import ApiClient
|
34
|
+
from pulpcore.client.pulp_python.configuration import Configuration
|
35
|
+
from pulpcore.client.pulp_python.exceptions import OpenApiException
|
36
|
+
from pulpcore.client.pulp_python.exceptions import ApiTypeError
|
37
|
+
from pulpcore.client.pulp_python.exceptions import ApiValueError
|
38
|
+
from pulpcore.client.pulp_python.exceptions import ApiKeyError
|
39
|
+
from pulpcore.client.pulp_python.exceptions import ApiException
|
40
|
+
# import models into sdk package
|
41
|
+
from pulpcore.client.pulp_python.models.async_operation_response import AsyncOperationResponse
|
42
|
+
from pulpcore.client.pulp_python.models.content_summary import ContentSummary
|
43
|
+
from pulpcore.client.pulp_python.models.content_summary_response import ContentSummaryResponse
|
44
|
+
from pulpcore.client.pulp_python.models.exclude_platforms_enum import ExcludePlatformsEnum
|
45
|
+
from pulpcore.client.pulp_python.models.package_metadata_response import PackageMetadataResponse
|
46
|
+
from pulpcore.client.pulp_python.models.package_types_enum import PackageTypesEnum
|
47
|
+
from pulpcore.client.pulp_python.models.package_upload import PackageUpload
|
48
|
+
from pulpcore.client.pulp_python.models.package_upload_task_response import PackageUploadTaskResponse
|
49
|
+
from pulpcore.client.pulp_python.models.paginated_repository_version_response_list import PaginatedRepositoryVersionResponseList
|
50
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_distribution_response_list import PaginatedpythonPythonDistributionResponseList
|
51
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_package_content_response_list import PaginatedpythonPythonPackageContentResponseList
|
52
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_publication_response_list import PaginatedpythonPythonPublicationResponseList
|
53
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_remote_response_list import PaginatedpythonPythonRemoteResponseList
|
54
|
+
from pulpcore.client.pulp_python.models.paginatedpython_python_repository_response_list import PaginatedpythonPythonRepositoryResponseList
|
55
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_distribution import PatchedpythonPythonDistribution
|
56
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_remote import PatchedpythonPythonRemote
|
57
|
+
from pulpcore.client.pulp_python.models.patchedpython_python_repository import PatchedpythonPythonRepository
|
58
|
+
from pulpcore.client.pulp_python.models.policy_enum import PolicyEnum
|
59
|
+
from pulpcore.client.pulp_python.models.python_bander_remote import PythonBanderRemote
|
60
|
+
from pulpcore.client.pulp_python.models.python_python_distribution import PythonPythonDistribution
|
61
|
+
from pulpcore.client.pulp_python.models.python_python_distribution_response import PythonPythonDistributionResponse
|
62
|
+
from pulpcore.client.pulp_python.models.python_python_package_content import PythonPythonPackageContent
|
63
|
+
from pulpcore.client.pulp_python.models.python_python_package_content_response import PythonPythonPackageContentResponse
|
64
|
+
from pulpcore.client.pulp_python.models.python_python_publication import PythonPythonPublication
|
65
|
+
from pulpcore.client.pulp_python.models.python_python_publication_response import PythonPythonPublicationResponse
|
66
|
+
from pulpcore.client.pulp_python.models.python_python_remote import PythonPythonRemote
|
67
|
+
from pulpcore.client.pulp_python.models.python_python_remote_response import PythonPythonRemoteResponse
|
68
|
+
from pulpcore.client.pulp_python.models.python_python_repository import PythonPythonRepository
|
69
|
+
from pulpcore.client.pulp_python.models.python_python_repository_response import PythonPythonRepositoryResponse
|
70
|
+
from pulpcore.client.pulp_python.models.repository_add_remove_content import RepositoryAddRemoveContent
|
71
|
+
from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyncURL
|
72
|
+
from pulpcore.client.pulp_python.models.repository_version import RepositoryVersion
|
73
|
+
from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
|
74
|
+
from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
|
75
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
from __future__ import absolute_import
|
2
|
+
|
3
|
+
# flake8: noqa
|
4
|
+
|
5
|
+
# import apis into api package
|
6
|
+
from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
|
7
|
+
from pulpcore.client.pulp_python.api.distributions_pypi_api import DistributionsPypiApi
|
8
|
+
from pulpcore.client.pulp_python.api.publications_pypi_api import PublicationsPypiApi
|
9
|
+
from pulpcore.client.pulp_python.api.pypi_api import PypiApi
|
10
|
+
from pulpcore.client.pulp_python.api.pypi_legacy_api import PypiLegacyApi
|
11
|
+
from pulpcore.client.pulp_python.api.pypi_metadata_api import PypiMetadataApi
|
12
|
+
from pulpcore.client.pulp_python.api.pypi_simple_api import PypiSimpleApi
|
13
|
+
from pulpcore.client.pulp_python.api.remotes_python_api import RemotesPythonApi
|
14
|
+
from pulpcore.client.pulp_python.api.repositories_python_api import RepositoriesPythonApi
|
15
|
+
from pulpcore.client.pulp_python.api.repositories_python_versions_api import RepositoriesPythonVersionsApi
|