pulp-python-client 3.10.0__tar.gz → 3.11.1__tar.gz

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.

Potentially problematic release.


This version of pulp-python-client might be problematic. Click here for more details.

Files changed (114) hide show
  1. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/PKG-INFO +6 -6
  2. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/README.md +19 -9
  3. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulp_python_client.egg-info/PKG-INFO +6 -6
  4. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulp_python_client.egg-info/SOURCES.txt +9 -1
  5. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/__init__.py +5 -1
  6. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/content_packages_api.py +19 -9
  7. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/distributions_pypi_api.py +281 -2
  8. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/publications_pypi_api.py +5 -0
  9. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/remotes_python_api.py +279 -0
  10. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/repositories_python_api.py +279 -0
  11. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/repositories_python_versions_api.py +5 -0
  12. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api_client.py +1 -1
  13. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/configuration.py +3 -3
  14. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/__init__.py +4 -0
  15. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginated_repository_version_response_list.py +6 -4
  16. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginatedpython_python_distribution_response_list.py +6 -4
  17. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginatedpython_python_package_content_response_list.py +6 -4
  18. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginatedpython_python_publication_response_list.py +6 -4
  19. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginatedpython_python_remote_response_list.py +6 -4
  20. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/paginatedpython_python_repository_response_list.py +6 -4
  21. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/patchedpython_python_distribution.py +29 -1
  22. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_distribution.py +29 -1
  23. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_distribution_response.py +57 -1
  24. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_package_content.py +33 -33
  25. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_package_content_response.py +29 -1
  26. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_publication_response.py +29 -1
  27. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_remote_response.py +29 -29
  28. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_remote_response_hidden_fields.py +6 -4
  29. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_repository_response.py +29 -1
  30. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/repository_version_response.py +29 -1
  31. pulp_python-client-3.11.1/pulpcore/client/pulp_python/models/set_label.py +153 -0
  32. pulp_python-client-3.11.1/pulpcore/client/pulp_python/models/set_label_response.py +150 -0
  33. pulp_python-client-3.11.1/pulpcore/client/pulp_python/models/unset_label.py +128 -0
  34. pulp_python-client-3.11.1/pulpcore/client/pulp_python/models/unset_label_response.py +151 -0
  35. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/setup.py +1 -1
  36. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_distributions_pypi_api.py +14 -0
  37. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginated_repository_version_response_list.py +12 -0
  38. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginatedpython_python_distribution_response_list.py +21 -0
  39. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginatedpython_python_package_content_response_list.py +36 -0
  40. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginatedpython_python_publication_response_list.py +13 -0
  41. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginatedpython_python_remote_response_list.py +47 -1
  42. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_paginatedpython_python_repository_response_list.py +18 -0
  43. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_patchedpython_python_distribution.py +1 -0
  44. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_distribution.py +1 -0
  45. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_distribution_response.py +2 -0
  46. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_package_content_response.py +1 -0
  47. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_publication_response.py +1 -0
  48. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_remote_response_hidden_fields.py +2 -0
  49. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_repository_response.py +1 -0
  50. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_remotes_python_api.py +14 -0
  51. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repositories_python_api.py +14 -0
  52. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repository_version_response.py +1 -0
  53. pulp_python-client-3.11.1/test/test_set_label.py +56 -0
  54. pulp_python-client-3.11.1/test/test_set_label_response.py +56 -0
  55. pulp_python-client-3.11.1/test/test_unset_label.py +54 -0
  56. pulp_python-client-3.11.1/test/test_unset_label_response.py +55 -0
  57. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulp_python_client.egg-info/dependency_links.txt +0 -0
  58. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulp_python_client.egg-info/requires.txt +0 -0
  59. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulp_python_client.egg-info/top_level.txt +0 -0
  60. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/__init__.py +0 -0
  61. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/__init__.py +0 -0
  62. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/__init__.py +0 -0
  63. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/pypi_api.py +0 -0
  64. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/pypi_legacy_api.py +0 -0
  65. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/pypi_metadata_api.py +0 -0
  66. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/api/pypi_simple_api.py +0 -0
  67. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/exceptions.py +0 -0
  68. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/async_operation_response.py +0 -0
  69. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/content_summary_response.py +0 -0
  70. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/exclude_platforms_enum.py +0 -0
  71. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/package_metadata_response.py +0 -0
  72. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/package_types_enum.py +0 -0
  73. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/package_upload.py +0 -0
  74. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/package_upload_task_response.py +0 -0
  75. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/patchedpython_python_remote.py +0 -0
  76. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/patchedpython_python_repository.py +0 -0
  77. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/policy_enum.py +0 -0
  78. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_bander_remote.py +0 -0
  79. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_publication.py +0 -0
  80. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_remote.py +0 -0
  81. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/python_python_repository.py +0 -0
  82. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/repair.py +0 -0
  83. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/repository_add_remove_content.py +0 -0
  84. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/repository_sync_url.py +0 -0
  85. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/models/summary_response.py +0 -0
  86. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/pulpcore/client/pulp_python/rest.py +0 -0
  87. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/setup.cfg +0 -0
  88. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_async_operation_response.py +0 -0
  89. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_content_packages_api.py +0 -0
  90. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_content_summary_response.py +0 -0
  91. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_exclude_platforms_enum.py +0 -0
  92. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_package_metadata_response.py +0 -0
  93. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_package_types_enum.py +0 -0
  94. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_package_upload.py +0 -0
  95. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_package_upload_task_response.py +0 -0
  96. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_patchedpython_python_remote.py +0 -0
  97. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_patchedpython_python_repository.py +0 -0
  98. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_policy_enum.py +0 -0
  99. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_publications_pypi_api.py +0 -0
  100. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_pypi_api.py +0 -0
  101. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_pypi_legacy_api.py +0 -0
  102. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_pypi_metadata_api.py +0 -0
  103. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_pypi_simple_api.py +0 -0
  104. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_bander_remote.py +0 -0
  105. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_package_content.py +1 -1
  106. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_publication.py +0 -0
  107. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_remote.py +0 -0
  108. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_remote_response.py +1 -1
  109. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_python_python_repository.py +0 -0
  110. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repair.py +0 -0
  111. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repositories_python_versions_api.py +0 -0
  112. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repository_add_remove_content.py +0 -0
  113. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_repository_sync_url.py +0 -0
  114. {pulp_python-client-3.10.0 → pulp_python-client-3.11.1}/test/test_summary_response.py +0 -0
@@ -1,13 +1,13 @@
1
- Metadata-Version: 1.2
1
+ Metadata-Version: 2.1
2
2
  Name: pulp_python-client
3
- Version: 3.10.0
3
+ Version: 3.11.1
4
4
  Summary: Pulp 3 API
5
- Home-page: UNKNOWN
5
+ Home-page:
6
6
  Author: Pulp Team
7
7
  Author-email: pulp-list@redhat.com
8
8
  License: GPLv2+
9
- Description: Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
10
-
11
9
  Keywords: pulp,pulpcore,client,Pulp 3 API
12
- Platform: UNKNOWN
13
10
  Requires-Python: >=3.4
11
+
12
+ Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
13
+
@@ -4,7 +4,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
4
4
  This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
5
5
 
6
6
  - API version: v3
7
- - Package version: 3.10.0
7
+ - Package version: 3.11.1
8
8
  - Build package: org.openapitools.codegen.languages.PythonClientCodegen
9
9
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
10
10
 
@@ -53,10 +53,10 @@ import pulpcore.client.pulp_python
53
53
  from pulpcore.client.pulp_python.rest import ApiException
54
54
  from pprint import pprint
55
55
 
56
- # Defining the host is optional and defaults to https://pulp
56
+ # Defining the host is optional and defaults to http://pulp
57
57
  # See configuration.py for a list of all supported configuration parameters.
58
58
  configuration = pulpcore.client.pulp_python.Configuration(
59
- host = "https://pulp"
59
+ host = "http://pulp"
60
60
  )
61
61
 
62
62
  # The client must configure the authentication and authorization parameters
@@ -72,7 +72,7 @@ configuration = pulpcore.client.pulp_python.Configuration(
72
72
 
73
73
  # Configure API key authorization: cookieAuth
74
74
  configuration = pulpcore.client.pulp_python.Configuration(
75
- host = "https://pulp",
75
+ host = "http://pulp",
76
76
  api_key = {
77
77
  'sessionid': 'YOUR_API_KEY'
78
78
  }
@@ -86,10 +86,10 @@ with pulpcore.client.pulp_python.ApiClient(configuration) as api_client:
86
86
  # Create an instance of the API class
87
87
  api_instance = pulpcore.client.pulp_python.ContentPackagesApi(api_client)
88
88
  relative_path = 'relative_path_example' # str | Path where the artifact is located relative to distributions base_path
89
- artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
90
- file = '/path/to/file' # file | An uploaded file that may be turned into the artifact of the content unit. (optional)
91
89
  repository = 'repository_example' # str | A URI of a repository the new content unit should be associated with. (optional)
92
- upload = 'upload_example' # str | An uncommitted upload that may be turned into the artifact of the content unit. (optional)
90
+ artifact = 'artifact_example' # str | Artifact file representing the physical content (optional)
91
+ file = '/path/to/file' # file | An uploaded file that may be turned into the content unit. (optional)
92
+ upload = 'upload_example' # str | An uncommitted upload that may be turned into the content unit. (optional)
93
93
  sha256 = '' # str | The SHA256 digest of this package. (optional) (default to '')
94
94
  summary = 'summary_example' # str | A one-line summary of what the package does. (optional)
95
95
  description = 'description_example' # str | A longer description of the package that can run to several paragraphs. (optional)
@@ -115,7 +115,7 @@ classifiers = None # object | A JSON list containing classification values for a
115
115
 
116
116
  try:
117
117
  # Create a python package content
118
- api_response = api_instance.create(relative_path, artifact=artifact, file=file, repository=repository, upload=upload, sha256=sha256, summary=summary, description=description, description_content_type=description_content_type, keywords=keywords, home_page=home_page, download_url=download_url, author=author, author_email=author_email, maintainer=maintainer, maintainer_email=maintainer_email, license=license, requires_python=requires_python, project_url=project_url, project_urls=project_urls, platform=platform, supported_platform=supported_platform, requires_dist=requires_dist, provides_dist=provides_dist, obsoletes_dist=obsoletes_dist, requires_external=requires_external, classifiers=classifiers)
118
+ api_response = api_instance.create(relative_path, repository=repository, artifact=artifact, file=file, upload=upload, sha256=sha256, summary=summary, description=description, description_content_type=description_content_type, keywords=keywords, home_page=home_page, download_url=download_url, author=author, author_email=author_email, maintainer=maintainer, maintainer_email=maintainer_email, license=license, requires_python=requires_python, project_url=project_url, project_urls=project_urls, platform=platform, supported_platform=supported_platform, requires_dist=requires_dist, provides_dist=provides_dist, obsoletes_dist=obsoletes_dist, requires_external=requires_external, classifiers=classifiers)
119
119
  pprint(api_response)
120
120
  except ApiException as e:
121
121
  print("Exception when calling ContentPackagesApi->create: %s\n" % e)
@@ -124,7 +124,7 @@ classifiers = None # object | A JSON list containing classification values for a
124
124
 
125
125
  ## Documentation for API Endpoints
126
126
 
127
- All URIs are relative to *https://pulp*
127
+ All URIs are relative to *http://pulp*
128
128
 
129
129
  Class | Method | HTTP request | Description
130
130
  ------------ | ------------- | ------------- | -------------
@@ -136,6 +136,8 @@ Class | Method | HTTP request | Description
136
136
  *DistributionsPypiApi* | [**list**](docs/DistributionsPypiApi.md#list) | **GET** /pulp/api/v3/distributions/python/pypi/ | List python distributions
137
137
  *DistributionsPypiApi* | [**partial_update**](docs/DistributionsPypiApi.md#partial_update) | **PATCH** {python_python_distribution_href} | Update a python distribution
138
138
  *DistributionsPypiApi* | [**read**](docs/DistributionsPypiApi.md#read) | **GET** {python_python_distribution_href} | Inspect a python distribution
139
+ *DistributionsPypiApi* | [**set_label**](docs/DistributionsPypiApi.md#set_label) | **POST** {python_python_distribution_href}set_label/ | Set a label
140
+ *DistributionsPypiApi* | [**unset_label**](docs/DistributionsPypiApi.md#unset_label) | **POST** {python_python_distribution_href}unset_label/ | Unset a label
139
141
  *DistributionsPypiApi* | [**update**](docs/DistributionsPypiApi.md#update) | **PUT** {python_python_distribution_href} | Update a python distribution
140
142
  *PublicationsPypiApi* | [**create**](docs/PublicationsPypiApi.md#create) | **POST** /pulp/api/v3/publications/python/pypi/ | Create a python publication
141
143
  *PublicationsPypiApi* | [**delete**](docs/PublicationsPypiApi.md#delete) | **DELETE** {python_python_publication_href} | Delete a python publication
@@ -153,6 +155,8 @@ Class | Method | HTTP request | Description
153
155
  *RemotesPythonApi* | [**list**](docs/RemotesPythonApi.md#list) | **GET** /pulp/api/v3/remotes/python/python/ | List python remotes
154
156
  *RemotesPythonApi* | [**partial_update**](docs/RemotesPythonApi.md#partial_update) | **PATCH** {python_python_remote_href} | Update a python remote
155
157
  *RemotesPythonApi* | [**read**](docs/RemotesPythonApi.md#read) | **GET** {python_python_remote_href} | Inspect a python remote
158
+ *RemotesPythonApi* | [**set_label**](docs/RemotesPythonApi.md#set_label) | **POST** {python_python_remote_href}set_label/ | Set a label
159
+ *RemotesPythonApi* | [**unset_label**](docs/RemotesPythonApi.md#unset_label) | **POST** {python_python_remote_href}unset_label/ | Unset a label
156
160
  *RemotesPythonApi* | [**update**](docs/RemotesPythonApi.md#update) | **PUT** {python_python_remote_href} | Update a python remote
157
161
  *RepositoriesPythonApi* | [**create**](docs/RepositoriesPythonApi.md#create) | **POST** /pulp/api/v3/repositories/python/python/ | Create a python repository
158
162
  *RepositoriesPythonApi* | [**delete**](docs/RepositoriesPythonApi.md#delete) | **DELETE** {python_python_repository_href} | Delete a python repository
@@ -160,7 +164,9 @@ Class | Method | HTTP request | Description
160
164
  *RepositoriesPythonApi* | [**modify**](docs/RepositoriesPythonApi.md#modify) | **POST** {python_python_repository_href}modify/ | Modify Repository Content
161
165
  *RepositoriesPythonApi* | [**partial_update**](docs/RepositoriesPythonApi.md#partial_update) | **PATCH** {python_python_repository_href} | Update a python repository
162
166
  *RepositoriesPythonApi* | [**read**](docs/RepositoriesPythonApi.md#read) | **GET** {python_python_repository_href} | Inspect a python repository
167
+ *RepositoriesPythonApi* | [**set_label**](docs/RepositoriesPythonApi.md#set_label) | **POST** {python_python_repository_href}set_label/ | Set a label
163
168
  *RepositoriesPythonApi* | [**sync**](docs/RepositoriesPythonApi.md#sync) | **POST** {python_python_repository_href}sync/ | Sync from remote
169
+ *RepositoriesPythonApi* | [**unset_label**](docs/RepositoriesPythonApi.md#unset_label) | **POST** {python_python_repository_href}unset_label/ | Unset a label
164
170
  *RepositoriesPythonApi* | [**update**](docs/RepositoriesPythonApi.md#update) | **PUT** {python_python_repository_href} | Update a python repository
165
171
  *RepositoriesPythonVersionsApi* | [**delete**](docs/RepositoriesPythonVersionsApi.md#delete) | **DELETE** {python_python_repository_version_href} | Delete a repository version
166
172
  *RepositoriesPythonVersionsApi* | [**list**](docs/RepositoriesPythonVersionsApi.md#list) | **GET** {python_python_repository_href}versions/ | List repository versions
@@ -203,7 +209,11 @@ Class | Method | HTTP request | Description
203
209
  - [RepositoryAddRemoveContent](docs/RepositoryAddRemoveContent.md)
204
210
  - [RepositorySyncURL](docs/RepositorySyncURL.md)
205
211
  - [RepositoryVersionResponse](docs/RepositoryVersionResponse.md)
212
+ - [SetLabel](docs/SetLabel.md)
213
+ - [SetLabelResponse](docs/SetLabelResponse.md)
206
214
  - [SummaryResponse](docs/SummaryResponse.md)
215
+ - [UnsetLabel](docs/UnsetLabel.md)
216
+ - [UnsetLabelResponse](docs/UnsetLabelResponse.md)
207
217
 
208
218
 
209
219
  ## Documentation For Authorization
@@ -1,13 +1,13 @@
1
- Metadata-Version: 1.2
1
+ Metadata-Version: 2.1
2
2
  Name: pulp-python-client
3
- Version: 3.10.0
3
+ Version: 3.11.1
4
4
  Summary: Pulp 3 API
5
- Home-page: UNKNOWN
5
+ Home-page:
6
6
  Author: Pulp Team
7
7
  Author-email: pulp-list@redhat.com
8
8
  License: GPLv2+
9
- Description: Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
10
-
11
9
  Keywords: pulp,pulpcore,client,Pulp 3 API
12
- Platform: UNKNOWN
13
10
  Requires-Python: >=3.4
11
+
12
+ Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
13
+
@@ -58,7 +58,11 @@ pulpcore/client/pulp_python/models/repair.py
58
58
  pulpcore/client/pulp_python/models/repository_add_remove_content.py
59
59
  pulpcore/client/pulp_python/models/repository_sync_url.py
60
60
  pulpcore/client/pulp_python/models/repository_version_response.py
61
+ pulpcore/client/pulp_python/models/set_label.py
62
+ pulpcore/client/pulp_python/models/set_label_response.py
61
63
  pulpcore/client/pulp_python/models/summary_response.py
64
+ pulpcore/client/pulp_python/models/unset_label.py
65
+ pulpcore/client/pulp_python/models/unset_label_response.py
62
66
  test/test_async_operation_response.py
63
67
  test/test_content_packages_api.py
64
68
  test/test_content_summary_response.py
@@ -102,4 +106,8 @@ test/test_repositories_python_versions_api.py
102
106
  test/test_repository_add_remove_content.py
103
107
  test/test_repository_sync_url.py
104
108
  test/test_repository_version_response.py
105
- test/test_summary_response.py
109
+ test/test_set_label.py
110
+ test/test_set_label_response.py
111
+ test/test_summary_response.py
112
+ test/test_unset_label.py
113
+ test/test_unset_label_response.py
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "3.10.0"
18
+ __version__ = "3.11.1"
19
19
 
20
20
  # import apis into sdk package
21
21
  from pulpcore.client.pulp_python.api.content_packages_api import ContentPackagesApi
@@ -71,5 +71,9 @@ from pulpcore.client.pulp_python.models.repair import Repair
71
71
  from pulpcore.client.pulp_python.models.repository_add_remove_content import RepositoryAddRemoveContent
72
72
  from pulpcore.client.pulp_python.models.repository_sync_url import RepositorySyncURL
73
73
  from pulpcore.client.pulp_python.models.repository_version_response import RepositoryVersionResponse
74
+ from pulpcore.client.pulp_python.models.set_label import SetLabel
75
+ from pulpcore.client.pulp_python.models.set_label_response import SetLabelResponse
74
76
  from pulpcore.client.pulp_python.models.summary_response import SummaryResponse
77
+ from pulpcore.client.pulp_python.models.unset_label import UnsetLabel
78
+ from pulpcore.client.pulp_python.models.unset_label_response import UnsetLabelResponse
75
79
 
@@ -48,10 +48,10 @@ class ContentPackagesApi(object):
48
48
 
49
49
  :param async_req bool: execute request asynchronously
50
50
  :param str relative_path: Path where the artifact is located relative to distributions base_path (required)
51
- :param str artifact: Artifact file representing the physical content
52
- :param file file: An uploaded file that may be turned into the artifact of the content unit.
53
51
  :param str repository: A URI of a repository the new content unit should be associated with.
54
- :param str upload: An uncommitted upload that may be turned into the artifact of the content unit.
52
+ :param str artifact: Artifact file representing the physical content
53
+ :param file file: An uploaded file that may be turned into the content unit.
54
+ :param str upload: An uncommitted upload that may be turned into the content unit.
55
55
  :param str sha256: The SHA256 digest of this package.
56
56
  :param str summary: A one-line summary of what the package does.
57
57
  :param str description: A longer description of the package that can run to several paragraphs.
@@ -99,10 +99,10 @@ class ContentPackagesApi(object):
99
99
 
100
100
  :param async_req bool: execute request asynchronously
101
101
  :param str relative_path: Path where the artifact is located relative to distributions base_path (required)
102
- :param str artifact: Artifact file representing the physical content
103
- :param file file: An uploaded file that may be turned into the artifact of the content unit.
104
102
  :param str repository: A URI of a repository the new content unit should be associated with.
105
- :param str upload: An uncommitted upload that may be turned into the artifact of the content unit.
103
+ :param str artifact: Artifact file representing the physical content
104
+ :param file file: An uploaded file that may be turned into the content unit.
105
+ :param str upload: An uncommitted upload that may be turned into the content unit.
106
106
  :param str sha256: The SHA256 digest of this package.
107
107
  :param str summary: A one-line summary of what the package does.
108
108
  :param str description: A longer description of the package that can run to several paragraphs.
@@ -143,9 +143,9 @@ class ContentPackagesApi(object):
143
143
 
144
144
  all_params = [
145
145
  'relative_path',
146
+ 'repository',
146
147
  'artifact',
147
148
  'file',
148
- 'repository',
149
149
  'upload',
150
150
  'sha256',
151
151
  'summary',
@@ -208,14 +208,14 @@ class ContentPackagesApi(object):
208
208
 
209
209
  form_params = []
210
210
  local_var_files = {}
211
+ if 'repository' in local_var_params:
212
+ form_params.append(('repository', local_var_params['repository'])) # noqa: E501
211
213
  if 'artifact' in local_var_params:
212
214
  form_params.append(('artifact', local_var_params['artifact'])) # noqa: E501
213
215
  if 'relative_path' in local_var_params:
214
216
  form_params.append(('relative_path', local_var_params['relative_path'])) # noqa: E501
215
217
  if 'file' in local_var_params:
216
218
  local_var_files['file'] = local_var_params['file'] # noqa: E501
217
- if 'repository' in local_var_params:
218
- form_params.append(('repository', local_var_params['repository'])) # noqa: E501
219
219
  if 'upload' in local_var_params:
220
220
  form_params.append(('upload', local_var_params['upload'])) # noqa: E501
221
221
  if 'sha256' in local_var_params:
@@ -313,10 +313,12 @@ class ContentPackagesApi(object):
313
313
  :param list[str] name__in: Filter results where name is in a comma-separated list of values
314
314
  :param int offset: The initial index from which to return the results.
315
315
  :param list[str] ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
316
+ :param float orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
316
317
  :param str packagetype: Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
317
318
  :param list[str] packagetype__in: Filter results where packagetype is in a comma-separated list of values
318
319
  :param list[str] pulp_href__in: Multiple values may be separated by commas.
319
320
  :param list[str] pulp_id__in: Multiple values may be separated by commas.
321
+ :param str q:
320
322
  :param str repository_version: Repository Version referenced by HREF
321
323
  :param str repository_version_added: Repository Version referenced by HREF
322
324
  :param str repository_version_removed: Repository Version referenced by HREF
@@ -368,10 +370,12 @@ class ContentPackagesApi(object):
368
370
  :param list[str] name__in: Filter results where name is in a comma-separated list of values
369
371
  :param int offset: The initial index from which to return the results.
370
372
  :param list[str] ordering: Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `filename` - Filename * `-filename` - Filename (descending) * `packagetype` - Packagetype * `-packagetype` - Packagetype (descending) * `name` - Name * `-name` - Name (descending) * `version` - Version * `-version` - Version (descending) * `sha256` - Sha256 * `-sha256` - Sha256 (descending) * `python_version` - Python version * `-python_version` - Python version (descending) * `metadata_version` - Metadata version * `-metadata_version` - Metadata version (descending) * `summary` - Summary * `-summary` - Summary (descending) * `description` - Description * `-description` - Description (descending) * `keywords` - Keywords * `-keywords` - Keywords (descending) * `home_page` - Home page * `-home_page` - Home page (descending) * `download_url` - Download url * `-download_url` - Download url (descending) * `author` - Author * `-author` - Author (descending) * `author_email` - Author email * `-author_email` - Author email (descending) * `maintainer` - Maintainer * `-maintainer` - Maintainer (descending) * `maintainer_email` - Maintainer email * `-maintainer_email` - Maintainer email (descending) * `license` - License * `-license` - License (descending) * `requires_python` - Requires python * `-requires_python` - Requires python (descending) * `project_url` - Project url * `-project_url` - Project url (descending) * `platform` - Platform * `-platform` - Platform (descending) * `supported_platform` - Supported platform * `-supported_platform` - Supported platform (descending) * `requires_dist` - Requires dist * `-requires_dist` - Requires dist (descending) * `provides_dist` - Provides dist * `-provides_dist` - Provides dist (descending) * `obsoletes_dist` - Obsoletes dist * `-obsoletes_dist` - Obsoletes dist (descending) * `requires_external` - Requires external * `-requires_external` - Requires external (descending) * `classifiers` - Classifiers * `-classifiers` - Classifiers (descending) * `project_urls` - Project urls * `-project_urls` - Project urls (descending) * `description_content_type` - Description content type * `-description_content_type` - Description content type (descending) * `pk` - Pk * `-pk` - Pk (descending)
373
+ :param float orphaned_for: Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
371
374
  :param str packagetype: Filter results where packagetype matches value * `bdist_dmg` - bdist_dmg * `bdist_dumb` - bdist_dumb * `bdist_egg` - bdist_egg * `bdist_msi` - bdist_msi * `bdist_rpm` - bdist_rpm * `bdist_wheel` - bdist_wheel * `bdist_wininst` - bdist_wininst * `sdist` - sdist
372
375
  :param list[str] packagetype__in: Filter results where packagetype is in a comma-separated list of values
373
376
  :param list[str] pulp_href__in: Multiple values may be separated by commas.
374
377
  :param list[str] pulp_id__in: Multiple values may be separated by commas.
378
+ :param str q:
375
379
  :param str repository_version: Repository Version referenced by HREF
376
380
  :param str repository_version_added: Repository Version referenced by HREF
377
381
  :param str repository_version_removed: Repository Version referenced by HREF
@@ -416,10 +420,12 @@ class ContentPackagesApi(object):
416
420
  'name__in',
417
421
  'offset',
418
422
  'ordering',
423
+ 'orphaned_for',
419
424
  'packagetype',
420
425
  'packagetype__in',
421
426
  'pulp_href__in',
422
427
  'pulp_id__in',
428
+ 'q',
423
429
  'repository_version',
424
430
  'repository_version_added',
425
431
  'repository_version_removed',
@@ -488,6 +494,8 @@ class ContentPackagesApi(object):
488
494
  if 'ordering' in local_var_params and local_var_params['ordering'] is not None: # noqa: E501
489
495
  query_params.append(('ordering', local_var_params['ordering'])) # noqa: E501
490
496
  collection_formats['ordering'] = 'csv' # noqa: E501
497
+ if 'orphaned_for' in local_var_params and local_var_params['orphaned_for'] is not None: # noqa: E501
498
+ query_params.append(('orphaned_for', local_var_params['orphaned_for'])) # noqa: E501
491
499
  if 'packagetype' in local_var_params and local_var_params['packagetype'] is not None: # noqa: E501
492
500
  query_params.append(('packagetype', local_var_params['packagetype'])) # noqa: E501
493
501
  if 'packagetype__in' in local_var_params and local_var_params['packagetype__in'] is not None: # noqa: E501
@@ -499,6 +507,8 @@ class ContentPackagesApi(object):
499
507
  if 'pulp_id__in' in local_var_params and local_var_params['pulp_id__in'] is not None: # noqa: E501
500
508
  query_params.append(('pulp_id__in', local_var_params['pulp_id__in'])) # noqa: E501
501
509
  collection_formats['pulp_id__in'] = 'csv' # noqa: E501
510
+ if 'q' in local_var_params and local_var_params['q'] is not None: # noqa: E501
511
+ query_params.append(('q', local_var_params['q'])) # noqa: E501
502
512
  if 'repository_version' in local_var_params and local_var_params['repository_version'] is not None: # noqa: E501
503
513
  query_params.append(('repository_version', local_var_params['repository_version'])) # noqa: E501
504
514
  if 'repository_version_added' in local_var_params and local_var_params['repository_version_added'] is not None: # noqa: E501