pulp_python_client 3.9.0.dev1674443604 → 3.9.0.dev1674616529

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24a46293a73c95aba817be0c9f6d820b2c38641e8410985fee69f75a67a9c778
4
- data.tar.gz: cd48d18e63daf4a58809699b02918a37edc126f570cd7300e6a506d7e3071845
3
+ metadata.gz: 7e65ed4f725a9d7ce3b551b533dc90bf8d9871e7330a1d1f3eac2c97d068b16c
4
+ data.tar.gz: 5e0e82195d077b5a49bfc3ed1f349bb7af2ca15d6c6c75625b9d1d0febeb5a6d
5
5
  SHA512:
6
- metadata.gz: 840853402cf85cae23b5dc6f9bfd916b7b5a41dcb95fbe7895da6314339cc73326b874008a85eb9fad7cde63cba7520d77a1d53b78e4ea9ef6af663c2f8e5f2e
7
- data.tar.gz: a3408ef234d5a2e9bc636fc1fcf1d5ec2d4e8599e7caaabea6f6bd943539139620a042be1a55861c0b3ca2c34994ab771c499233f5a98b4233a1997bf7b1312f
6
+ metadata.gz: abf913eada434e1bdfd1c6f9a81e5fb6a339b72b4f1045649db68b036dbc33c029a2a09a85d3d0901214bbe0b7f13b65081493a42d8a22423265404e59087818
7
+ data.tar.gz: f3bdf82e0a96ce2cb97c95e4d3cd0790b7fc0da2eec11e348a3454ae329311f50172bb53a9ecc5452c1614d6c4a846352397d5fcaf5d768cdfe330087f876cfb
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.9.0.dev1674443604
10
+ - Package version: 3.9.0.dev1674616529
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.9.0.dev1674443604.gem
27
+ gem install ./pulp_python_client-3.9.0.dev1674616529.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.9.0.dev1674443604.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.9.0.dev1674616529.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.9.0.dev1674443604'
36
+ gem 'pulp_python_client', '~> 3.9.0.dev1674616529'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -161,6 +161,11 @@ opts = {
161
161
  requires_python__in: ['requires_python__in_example'], # Array<String> | Filter results where requires_python is in a comma-separated list of values
162
162
  sha256: 'sha256_example', # String | Filter results where sha256 matches value
163
163
  sha256__in: ['sha256__in_example'], # Array<String> | Filter results where sha256 is in a comma-separated list of values
164
+ version: 'version_example', # String | Filter results where version matches value
165
+ version__gt: 'version__gt_example', # String | Filter results where version is greater than value
166
+ version__gte: 'version__gte_example', # String | Filter results where version is greater than or equal to value
167
+ version__lt: 'version__lt_example', # String | Filter results where version is less than value
168
+ version__lte: 'version__lte_example', # String | Filter results where version is less than or equal to value
164
169
  fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
165
170
  exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
166
171
  }
@@ -201,6 +206,11 @@ Name | Type | Description | Notes
201
206
  **requires_python__in** | [**Array&lt;String&gt;**](String.md)| Filter results where requires_python is in a comma-separated list of values | [optional]
202
207
  **sha256** | **String**| Filter results where sha256 matches value | [optional]
203
208
  **sha256__in** | [**Array&lt;String&gt;**](String.md)| Filter results where sha256 is in a comma-separated list of values | [optional]
209
+ **version** | **String**| Filter results where version matches value | [optional]
210
+ **version__gt** | **String**| Filter results where version is greater than value | [optional]
211
+ **version__gte** | **String**| Filter results where version is greater than or equal to value | [optional]
212
+ **version__lt** | **String**| Filter results where version is less than value | [optional]
213
+ **version__lte** | **String**| Filter results where version is less than or equal to value | [optional]
204
214
  **fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to include in the response. | [optional]
205
215
  **exclude_fields** | [**Array&lt;String&gt;**](String.md)| A list of fields to exclude from the response. | [optional]
206
216
 
@@ -25,8 +25,8 @@ Name | Type | Description | Notes
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
27
27
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
- **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
29
- **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
28
+ **includes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to include. | [optional]
29
+ **excludes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to exclude. | [optional]
30
30
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
31
31
  **package_types** | [**Array&lt;PackageTypesEnum&gt;**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
32
32
  **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
@@ -25,8 +25,8 @@ Name | Type | Description | Notes
25
25
  **sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
26
26
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
27
27
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
28
- **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
29
- **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
28
+ **includes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to include. | [optional]
29
+ **excludes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to exclude. | [optional]
30
30
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
31
31
  **package_types** | [**Array&lt;PackageTypesEnum&gt;**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
32
32
  **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
@@ -24,8 +24,8 @@ Name | Type | Description | Notes
24
24
  **headers** | **Array&lt;Object&gt;** | Headers for aiohttp.Clientsession | [optional]
25
25
  **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
26
26
  **hidden_fields** | [**Array&lt;PythonPythonRemoteResponseHiddenFields&gt;**](PythonPythonRemoteResponseHiddenFields.md) | List of hidden (write only) fields | [optional] [readonly]
27
- **includes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to include. | [optional]
28
- **excludes** | [**Object**](.md) | A JSON list containing project specifiers for Python packages to exclude. | [optional]
27
+ **includes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to include. | [optional]
28
+ **excludes** | **Array&lt;String&gt;** | A list containing project specifiers for Python packages to exclude. | [optional]
29
29
  **prereleases** | **Boolean** | Whether or not to include pre-release packages in the sync. | [optional]
30
30
  **package_types** | [**Array&lt;PackageTypesEnum&gt;**](PackageTypesEnum.md) | The package types to sync for Python content. Leave blank to get everypackage type. | [optional]
31
31
  **keep_latest_packages** | **Integer** | The amount of latest versions of a package to keep on sync, includespre-releases if synced. Default 0 keeps all versions. | [optional] [default to 0]
@@ -195,6 +195,11 @@ module PulpPythonClient
195
195
  # @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
196
196
  # @option opts [String] :sha256 Filter results where sha256 matches value
197
197
  # @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
198
+ # @option opts [String] :version Filter results where version matches value
199
+ # @option opts [String] :version__gt Filter results where version is greater than value
200
+ # @option opts [String] :version__gte Filter results where version is greater than or equal to value
201
+ # @option opts [String] :version__lt Filter results where version is less than value
202
+ # @option opts [String] :version__lte Filter results where version is less than or equal to value
198
203
  # @option opts [Array<String>] :fields A list of fields to include in the response.
199
204
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
200
205
  # @return [PaginatedpythonPythonPackageContentResponseList]
@@ -228,6 +233,11 @@ module PulpPythonClient
228
233
  # @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
229
234
  # @option opts [String] :sha256 Filter results where sha256 matches value
230
235
  # @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
236
+ # @option opts [String] :version Filter results where version matches value
237
+ # @option opts [String] :version__gt Filter results where version is greater than value
238
+ # @option opts [String] :version__gte Filter results where version is greater than or equal to value
239
+ # @option opts [String] :version__lt Filter results where version is less than value
240
+ # @option opts [String] :version__lte Filter results where version is less than or equal to value
231
241
  # @option opts [Array<String>] :fields A list of fields to include in the response.
232
242
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
233
243
  # @return [Array<(PaginatedpythonPythonPackageContentResponseList, Integer, Hash)>] PaginatedpythonPythonPackageContentResponseList data, response status code and response headers
@@ -270,6 +280,11 @@ module PulpPythonClient
270
280
  query_params[:'requires_python__in'] = @api_client.build_collection_param(opts[:'requires_python__in'], :csv) if !opts[:'requires_python__in'].nil?
271
281
  query_params[:'sha256'] = opts[:'sha256'] if !opts[:'sha256'].nil?
272
282
  query_params[:'sha256__in'] = @api_client.build_collection_param(opts[:'sha256__in'], :csv) if !opts[:'sha256__in'].nil?
283
+ query_params[:'version'] = opts[:'version'] if !opts[:'version'].nil?
284
+ query_params[:'version__gt'] = opts[:'version__gt'] if !opts[:'version__gt'].nil?
285
+ query_params[:'version__gte'] = opts[:'version__gte'] if !opts[:'version__gte'].nil?
286
+ query_params[:'version__lt'] = opts[:'version__lt'] if !opts[:'version__lt'].nil?
287
+ query_params[:'version__lte'] = opts[:'version__lte'] if !opts[:'version__lte'].nil?
273
288
  query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :multi) if !opts[:'fields'].nil?
274
289
  query_params[:'exclude_fields'] = @api_client.build_collection_param(opts[:'exclude_fields'], :multi) if !opts[:'exclude_fields'].nil?
275
290
 
@@ -77,10 +77,10 @@ module PulpPythonClient
77
77
  # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
80
- # A JSON list containing project specifiers for Python packages to include.
80
+ # A list containing project specifiers for Python packages to include.
81
81
  attr_accessor :includes
82
82
 
83
- # A JSON list containing project specifiers for Python packages to exclude.
83
+ # A list containing project specifiers for Python packages to exclude.
84
84
  attr_accessor :excludes
85
85
 
86
86
  # Whether or not to include pre-release packages in the sync.
@@ -152,8 +152,8 @@ module PulpPythonClient
152
152
  :'sock_read_timeout' => :'Float',
153
153
  :'headers' => :'Array<Object>',
154
154
  :'rate_limit' => :'Integer',
155
- :'includes' => :'Object',
156
- :'excludes' => :'Object',
155
+ :'includes' => :'Array<String>',
156
+ :'excludes' => :'Array<String>',
157
157
  :'prereleases' => :'Boolean',
158
158
  :'package_types' => :'Array<PackageTypesEnum>',
159
159
  :'keep_latest_packages' => :'Integer',
@@ -286,11 +286,15 @@ module PulpPythonClient
286
286
  end
287
287
 
288
288
  if attributes.key?(:'includes')
289
- self.includes = attributes[:'includes']
289
+ if (value = attributes[:'includes']).is_a?(Array)
290
+ self.includes = value
291
+ end
290
292
  end
291
293
 
292
294
  if attributes.key?(:'excludes')
293
- self.excludes = attributes[:'excludes']
295
+ if (value = attributes[:'excludes']).is_a?(Array)
296
+ self.excludes = value
297
+ end
294
298
  end
295
299
 
296
300
  if attributes.key?(:'prereleases')
@@ -77,10 +77,10 @@ module PulpPythonClient
77
77
  # Limits requests per second for each concurrent downloader
78
78
  attr_accessor :rate_limit
79
79
 
80
- # A JSON list containing project specifiers for Python packages to include.
80
+ # A list containing project specifiers for Python packages to include.
81
81
  attr_accessor :includes
82
82
 
83
- # A JSON list containing project specifiers for Python packages to exclude.
83
+ # A list containing project specifiers for Python packages to exclude.
84
84
  attr_accessor :excludes
85
85
 
86
86
  # Whether or not to include pre-release packages in the sync.
@@ -152,8 +152,8 @@ module PulpPythonClient
152
152
  :'sock_read_timeout' => :'Float',
153
153
  :'headers' => :'Array<Object>',
154
154
  :'rate_limit' => :'Integer',
155
- :'includes' => :'Object',
156
- :'excludes' => :'Object',
155
+ :'includes' => :'Array<String>',
156
+ :'excludes' => :'Array<String>',
157
157
  :'prereleases' => :'Boolean',
158
158
  :'package_types' => :'Array<PackageTypesEnum>',
159
159
  :'keep_latest_packages' => :'Integer',
@@ -286,11 +286,15 @@ module PulpPythonClient
286
286
  end
287
287
 
288
288
  if attributes.key?(:'includes')
289
- self.includes = attributes[:'includes']
289
+ if (value = attributes[:'includes']).is_a?(Array)
290
+ self.includes = value
291
+ end
290
292
  end
291
293
 
292
294
  if attributes.key?(:'excludes')
293
- self.excludes = attributes[:'excludes']
295
+ if (value = attributes[:'excludes']).is_a?(Array)
296
+ self.excludes = value
297
+ end
294
298
  end
295
299
 
296
300
  if attributes.key?(:'prereleases')
@@ -73,10 +73,10 @@ module PulpPythonClient
73
73
  # List of hidden (write only) fields
74
74
  attr_accessor :hidden_fields
75
75
 
76
- # A JSON list containing project specifiers for Python packages to include.
76
+ # A list containing project specifiers for Python packages to include.
77
77
  attr_accessor :includes
78
78
 
79
- # A JSON list containing project specifiers for Python packages to exclude.
79
+ # A list containing project specifiers for Python packages to exclude.
80
80
  attr_accessor :excludes
81
81
 
82
82
  # Whether or not to include pre-release packages in the sync.
@@ -146,8 +146,8 @@ module PulpPythonClient
146
146
  :'headers' => :'Array<Object>',
147
147
  :'rate_limit' => :'Integer',
148
148
  :'hidden_fields' => :'Array<PythonPythonRemoteResponseHiddenFields>',
149
- :'includes' => :'Object',
150
- :'excludes' => :'Object',
149
+ :'includes' => :'Array<String>',
150
+ :'excludes' => :'Array<String>',
151
151
  :'prereleases' => :'Boolean',
152
152
  :'package_types' => :'Array<PackageTypesEnum>',
153
153
  :'keep_latest_packages' => :'Integer',
@@ -273,11 +273,15 @@ module PulpPythonClient
273
273
  end
274
274
 
275
275
  if attributes.key?(:'includes')
276
- self.includes = attributes[:'includes']
276
+ if (value = attributes[:'includes']).is_a?(Array)
277
+ self.includes = value
278
+ end
277
279
  end
278
280
 
279
281
  if attributes.key?(:'excludes')
280
- self.excludes = attributes[:'excludes']
282
+ if (value = attributes[:'excludes']).is_a?(Array)
283
+ self.excludes = value
284
+ end
281
285
  end
282
286
 
283
287
  if attributes.key?(:'prereleases')
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.9.0.dev1674443604'
14
+ VERSION = '3.9.0.dev1674616529'
15
15
  end
@@ -96,6 +96,11 @@ describe 'ContentPackagesApi' do
96
96
  # @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
97
97
  # @option opts [String] :sha256 Filter results where sha256 matches value
98
98
  # @option opts [Array<String>] :sha256__in Filter results where sha256 is in a comma-separated list of values
99
+ # @option opts [String] :version Filter results where version matches value
100
+ # @option opts [String] :version__gt Filter results where version is greater than value
101
+ # @option opts [String] :version__gte Filter results where version is greater than or equal to value
102
+ # @option opts [String] :version__lt Filter results where version is less than value
103
+ # @option opts [String] :version__lte Filter results where version is less than or equal to value
99
104
  # @option opts [Array<String>] :fields A list of fields to include in the response.
100
105
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
101
106
  # @return [PaginatedpythonPythonPackageContentResponseList]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0.dev1674443604
4
+ version: 3.9.0.dev1674616529
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-23 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday