pulp_hugging_face_client 0.3.0 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContentHuggingFaceApi.md +6 -6
- data/docs/DistributionsHuggingFaceApi.md +4 -4
- data/docs/HuggingFaceHuggingFaceContent.md +2 -0
- data/docs/HuggingFaceHuggingFaceDistribution.md +2 -0
- data/docs/HuggingFaceHuggingFaceDistributionResponse.md +4 -0
- data/docs/HuggingFaceHuggingFaceRemote.md +6 -6
- data/docs/HuggingFaceHuggingFaceRemoteResponse.md +8 -8
- data/docs/HuggingFaceHuggingFaceRepository.md +2 -0
- data/docs/HuggingFaceHuggingFaceRepositoryResponse.md +2 -0
- data/docs/PatchedhuggingFaceHuggingFaceDistribution.md +2 -0
- data/docs/PatchedhuggingFaceHuggingFaceRemote.md +6 -6
- data/docs/PatchedhuggingFaceHuggingFaceRepository.md +2 -0
- data/docs/PublicationsHuggingFaceApi.md +2 -2
- data/docs/RepositoriesHuggingFaceApi.md +20 -4
- data/docs/RepositoryAddRemoveContent.md +3 -1
- data/lib/pulp_hugging_face_client/api/content_hugging_face_api.rb +6 -6
- data/lib/pulp_hugging_face_client/api/distributions_hugging_face_api.rb +4 -4
- data/lib/pulp_hugging_face_client/api/publications_hugging_face_api.rb +2 -2
- data/lib/pulp_hugging_face_client/api/repositories_hugging_face_api.rb +29 -5
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_content.rb +11 -1
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_distribution.rb +12 -1
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_distribution_response.rb +22 -1
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_remote.rb +48 -33
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_remote_response.rb +60 -45
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_repository.rb +42 -1
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_repository_response.rb +42 -1
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_distribution.rb +12 -1
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_remote.rb +48 -33
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_repository.rb +42 -1
- data/lib/pulp_hugging_face_client/models/repository_add_remove_content.rb +16 -4
- data/lib/pulp_hugging_face_client/models/set_label.rb +0 -11
- data/lib/pulp_hugging_face_client/models/set_label_response.rb +0 -21
- data/lib/pulp_hugging_face_client/models/unset_label.rb +0 -11
- data/lib/pulp_hugging_face_client/models/unset_label_response.rb +0 -21
- data/lib/pulp_hugging_face_client/version.rb +1 -1
- data/spec/api/content_hugging_face_api_spec.rb +3 -3
- data/spec/api/distributions_hugging_face_api_spec.rb +2 -2
- data/spec/api/publications_hugging_face_api_spec.rb +1 -1
- data/spec/api/repositories_hugging_face_api_spec.rb +10 -2
- data/spec/models/hugging_face_hugging_face_content_spec.rb +6 -0
- data/spec/models/hugging_face_hugging_face_distribution_response_spec.rb +12 -0
- data/spec/models/hugging_face_hugging_face_distribution_spec.rb +6 -0
- data/spec/models/hugging_face_hugging_face_remote_response_spec.rb +10 -10
- data/spec/models/hugging_face_hugging_face_remote_spec.rb +17 -17
- data/spec/models/hugging_face_hugging_face_repository_response_spec.rb +6 -0
- data/spec/models/hugging_face_hugging_face_repository_spec.rb +6 -0
- data/spec/models/patchedhugging_face_hugging_face_distribution_spec.rb +6 -0
- data/spec/models/patchedhugging_face_hugging_face_remote_spec.rb +17 -17
- data/spec/models/patchedhugging_face_hugging_face_repository_spec.rb +6 -0
- data/spec/models/repository_add_remove_content_spec.rb +6 -0
- metadata +30 -30
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6a05e43df6b3d03292b75fb46d6c93e6d2b48fe552af514ad226d91cc591fdd
|
|
4
|
+
data.tar.gz: e44ee74794bc494ac8c3d421ded7d08ab4239beff33db47f04c8356d8f973b94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59d86ffb94f3ded9af67ac56d52ceee090ba6d871a9f802e4e5dcac25c4f1728bcc1f19a172dbd12c10e4d2ca32ecdad2df944a60e8a4d1b754afcfbd806d4ba
|
|
7
|
+
data.tar.gz: 446d712a2d33b8514834e8c7f2a29ca941a4af4c1d41b10a16eaa00dab1f30c6febd984247b843d6f962ae06a99f019c9b221006c9d5d875d877df2f60269c0c
|
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: 0.3.
|
|
10
|
+
- Package version: 0.3.1
|
|
11
11
|
- Generator version: 7.10.0
|
|
12
12
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
13
13
|
For more information, please visit [https://pulpproject.org](https://pulpproject.org)
|
|
@@ -25,16 +25,16 @@ gem build pulp_hugging_face_client.gemspec
|
|
|
25
25
|
Then either install the gem locally:
|
|
26
26
|
|
|
27
27
|
```shell
|
|
28
|
-
gem install ./pulp_hugging_face_client-0.3.
|
|
28
|
+
gem install ./pulp_hugging_face_client-0.3.1.gem
|
|
29
29
|
```
|
|
30
30
|
|
|
31
|
-
(for development, run `gem install --dev ./pulp_hugging_face_client-0.3.
|
|
31
|
+
(for development, run `gem install --dev ./pulp_hugging_face_client-0.3.1.gem` to install the development dependencies)
|
|
32
32
|
|
|
33
33
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
34
34
|
|
|
35
35
|
Finally add this to the Gemfile:
|
|
36
36
|
|
|
37
|
-
gem 'pulp_hugging_face_client', '~> 0.3.
|
|
37
|
+
gem 'pulp_hugging_face_client', '~> 0.3.1'
|
|
38
38
|
|
|
39
39
|
### Install from Git
|
|
40
40
|
|
|
@@ -120,9 +120,9 @@ opts = {
|
|
|
120
120
|
relative_path: 'relative_path_example', # String | Filter results where relative_path matches value
|
|
121
121
|
repo_id: 'repo_id_example', # String | Filter results where repo_id matches value
|
|
122
122
|
repo_type: 'datasets', # String | Filter results where repo_type matches value * `models` - Models * `datasets` - Datasets * `spaces` - Spaces
|
|
123
|
-
repository_version: 'repository_version_example', # String |
|
|
124
|
-
repository_version_added: 'repository_version_added_example', # String |
|
|
125
|
-
repository_version_removed: 'repository_version_removed_example', # String |
|
|
123
|
+
repository_version: 'repository_version_example', # String |
|
|
124
|
+
repository_version_added: 'repository_version_added_example', # String |
|
|
125
|
+
repository_version_removed: 'repository_version_removed_example', # String |
|
|
126
126
|
revision: 'revision_example', # String | Filter results where revision matches value
|
|
127
127
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
128
128
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -172,9 +172,9 @@ end
|
|
|
172
172
|
| **relative_path** | **String** | Filter results where relative_path matches value | [optional] |
|
|
173
173
|
| **repo_id** | **String** | Filter results where repo_id matches value | [optional] |
|
|
174
174
|
| **repo_type** | **String** | Filter results where repo_type matches value * `models` - Models * `datasets` - Datasets * `spaces` - Spaces | [optional] |
|
|
175
|
-
| **repository_version** | **String** |
|
|
176
|
-
| **repository_version_added** | **String** |
|
|
177
|
-
| **repository_version_removed** | **String** |
|
|
175
|
+
| **repository_version** | **String** | | [optional] |
|
|
176
|
+
| **repository_version_added** | **String** | | [optional] |
|
|
177
|
+
| **repository_version_removed** | **String** | | [optional] |
|
|
178
178
|
| **revision** | **String** | Filter results where revision matches value | [optional] |
|
|
179
179
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
180
180
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
@@ -207,8 +207,8 @@ opts = {
|
|
|
207
207
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
208
208
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
209
209
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
210
|
-
repository: '
|
|
211
|
-
repository__in: ['inner_example'], # Array<String> |
|
|
210
|
+
repository: 'repository_example', # String |
|
|
211
|
+
repository__in: ['inner_example'], # Array<String> |
|
|
212
212
|
with_content: 'with_content_example', # String | Filter distributions based on the content served by them
|
|
213
213
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
214
214
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -268,8 +268,8 @@ end
|
|
|
268
268
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
269
269
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
270
270
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
271
|
-
| **repository** | **String** |
|
|
272
|
-
| **repository__in** | [**Array<String>**](String.md) |
|
|
271
|
+
| **repository** | **String** | | [optional] |
|
|
272
|
+
| **repository__in** | [**Array<String>**](String.md) | | [optional] |
|
|
273
273
|
| **with_content** | **String** | Filter distributions based on the content served by them | [optional] |
|
|
274
274
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
275
275
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
|
8
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Only used when 'repository' is specified. Defaults to true. | [optional] |
|
|
8
9
|
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
|
9
10
|
| **artifact** | **String** | Artifact file representing the physical content | |
|
|
10
11
|
| **relative_path** | **String** | The relative path within the repository | |
|
|
@@ -22,6 +23,7 @@ require 'pulp_hugging_face_client'
|
|
|
22
23
|
|
|
23
24
|
instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceContent.new(
|
|
24
25
|
repository: null,
|
|
26
|
+
overwrite: null,
|
|
25
27
|
pulp_labels: null,
|
|
26
28
|
artifact: null,
|
|
27
29
|
relative_path: null,
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceDistribution.new(
|
|
|
25
26
|
pulp_labels: null,
|
|
26
27
|
name: null,
|
|
27
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
28
30
|
publication: null,
|
|
29
31
|
remote: null
|
|
30
32
|
)
|
|
@@ -11,11 +11,13 @@
|
|
|
11
11
|
| **base_path** | **String** | The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\") | |
|
|
12
12
|
| **base_url** | **String** | The URL for accessing the publication as defined by this distribution. | [optional][readonly] |
|
|
13
13
|
| **content_guard** | **String** | An optional content-guard. | [optional] |
|
|
14
|
+
| **content_guard_prn** | **String** | The Pulp Resource Name (PRN) of the associated optional content guard. | [optional][readonly] |
|
|
14
15
|
| **no_content_change_since** | **String** | Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes. | [optional][readonly] |
|
|
15
16
|
| **hidden** | **Boolean** | Whether this distribution should be shown in the content app. | [optional][default to false] |
|
|
16
17
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
17
18
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | |
|
|
18
19
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
20
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
19
21
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
20
22
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
21
23
|
|
|
@@ -32,11 +34,13 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceDistributionResponse.new
|
|
|
32
34
|
base_path: null,
|
|
33
35
|
base_url: null,
|
|
34
36
|
content_guard: null,
|
|
37
|
+
content_guard_prn: null,
|
|
35
38
|
no_content_change_since: null,
|
|
36
39
|
hidden: null,
|
|
37
40
|
pulp_labels: null,
|
|
38
41
|
name: null,
|
|
39
42
|
repository: null,
|
|
43
|
+
repository_version: null,
|
|
40
44
|
publication: null,
|
|
41
45
|
remote: null
|
|
42
46
|
)
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
22
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
24
|
| **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
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
| **hf_hub_url** | **String** | Base URL for Hugging Face Hub | [optional][default to 'https://huggingface.co'] |
|
|
29
29
|
| **hf_token** | **String** | Hugging Face authentication token for private repositories | [optional] |
|
|
@@ -36,6 +36,8 @@ require 'pulp_hugging_face_client'
|
|
|
36
36
|
instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceRemote.new(
|
|
37
37
|
name: null,
|
|
38
38
|
url: null,
|
|
39
|
+
pulp_labels: null,
|
|
40
|
+
policy: null,
|
|
39
41
|
ca_cert: null,
|
|
40
42
|
client_cert: null,
|
|
41
43
|
client_key: null,
|
|
@@ -45,15 +47,13 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceRemote.new(
|
|
|
45
47
|
proxy_password: null,
|
|
46
48
|
username: null,
|
|
47
49
|
password: null,
|
|
48
|
-
pulp_labels: null,
|
|
49
|
-
download_concurrency: null,
|
|
50
50
|
max_retries: null,
|
|
51
|
-
policy: null,
|
|
52
51
|
total_timeout: null,
|
|
53
52
|
connect_timeout: null,
|
|
54
53
|
sock_connect_timeout: null,
|
|
55
54
|
sock_read_timeout: null,
|
|
56
55
|
headers: null,
|
|
56
|
+
download_concurrency: null,
|
|
57
57
|
rate_limit: null,
|
|
58
58
|
hf_hub_url: null,
|
|
59
59
|
hf_token: null
|
|
@@ -10,21 +10,21 @@
|
|
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the most recent update of the remote. | [optional][readonly] |
|
|
11
11
|
| **name** | **String** | A unique name for this remote. | |
|
|
12
12
|
| **url** | **String** | The URL of an external content source. | |
|
|
13
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
14
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
15
|
+
| **hidden_fields** | [**Array<HuggingFaceHuggingFaceRemoteResponseHiddenFieldsInner>**](HuggingFaceHuggingFaceRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
13
16
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
14
17
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
15
18
|
| **tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional] |
|
|
16
19
|
| **proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional] |
|
|
17
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
18
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
19
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
20
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
21
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
22
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
24
|
| **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] |
|
|
25
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
26
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
27
|
-
| **hidden_fields** | [**Array<HuggingFaceHuggingFaceRemoteResponseHiddenFieldsInner>**](HuggingFaceHuggingFaceRemoteResponseHiddenFieldsInner.md) | List of hidden (write only) fields | [optional] |
|
|
28
28
|
| **hf_hub_url** | **String** | Base URL for Hugging Face Hub | [optional][default to 'https://huggingface.co'] |
|
|
29
29
|
| **hf_token** | **String** | Hugging Face authentication token for private repositories | [optional] |
|
|
30
30
|
|
|
@@ -40,21 +40,21 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceRemoteResponse.new(
|
|
|
40
40
|
pulp_last_updated: null,
|
|
41
41
|
name: null,
|
|
42
42
|
url: null,
|
|
43
|
+
pulp_labels: null,
|
|
44
|
+
policy: null,
|
|
45
|
+
hidden_fields: null,
|
|
43
46
|
ca_cert: null,
|
|
44
47
|
client_cert: null,
|
|
45
48
|
tls_validation: null,
|
|
46
49
|
proxy_url: null,
|
|
47
|
-
pulp_labels: null,
|
|
48
|
-
download_concurrency: null,
|
|
49
50
|
max_retries: null,
|
|
50
|
-
policy: null,
|
|
51
51
|
total_timeout: null,
|
|
52
52
|
connect_timeout: null,
|
|
53
53
|
sock_connect_timeout: null,
|
|
54
54
|
sock_read_timeout: null,
|
|
55
55
|
headers: null,
|
|
56
|
+
download_concurrency: null,
|
|
56
57
|
rate_limit: null,
|
|
57
|
-
hidden_fields: null,
|
|
58
58
|
hf_hub_url: null,
|
|
59
59
|
hf_token: null
|
|
60
60
|
)
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
| **name** | **String** | A unique name for this repository. | |
|
|
15
15
|
| **description** | **String** | An optional description. | [optional] |
|
|
16
16
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
17
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
17
18
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
18
19
|
|
|
19
20
|
## Example
|
|
@@ -32,6 +33,7 @@ instance = PulpHuggingFaceClient::HuggingFaceHuggingFaceRepositoryResponse.new(
|
|
|
32
33
|
name: null,
|
|
33
34
|
description: null,
|
|
34
35
|
retain_repo_versions: null,
|
|
36
|
+
retain_checkpoints: null,
|
|
35
37
|
remote: null
|
|
36
38
|
)
|
|
37
39
|
```
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
|
13
|
+
| **repository_version** | **String** | RepositoryVersion to be served | [optional] |
|
|
13
14
|
| **publication** | **String** | Publication to be served | [optional] |
|
|
14
15
|
| **remote** | **String** | Remote that can be used to fetch content when using pull-through caching. | [optional] |
|
|
15
16
|
|
|
@@ -25,6 +26,7 @@ instance = PulpHuggingFaceClient::PatchedhuggingFaceHuggingFaceDistribution.new(
|
|
|
25
26
|
pulp_labels: null,
|
|
26
27
|
name: null,
|
|
27
28
|
repository: null,
|
|
29
|
+
repository_version: null,
|
|
28
30
|
publication: null,
|
|
29
31
|
remote: null
|
|
30
32
|
)
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **name** | **String** | A unique name for this remote. | [optional] |
|
|
8
8
|
| **url** | **String** | The URL of an external content source. | [optional] |
|
|
9
|
+
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
10
|
+
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
9
11
|
| **ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional] |
|
|
10
12
|
| **client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional] |
|
|
11
13
|
| **client_key** | **String** | A PEM encoded private key used for authentication. | [optional] |
|
|
@@ -15,15 +17,13 @@
|
|
|
15
17
|
| **proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
16
18
|
| **username** | **String** | The username to be used for authentication when syncing. | [optional] |
|
|
17
19
|
| **password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional] |
|
|
18
|
-
| **pulp_labels** | **Hash<String, String>** | | [optional] |
|
|
19
|
-
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
20
20
|
| **max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional] |
|
|
21
|
-
| **policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' enables pull-through caching. * `immediate` - When syncing, download all metadata and content now. * `on_demand` - When syncing, download metadata, but do not download content now. Instead, download content as clients request it, and save it in Pulp to be served for future client requests. * `streamed` - When syncing, download metadata, but do not download content now. Instead,download content as clients request it, but never save it in Pulp. This causes future requests for that same content to have to be downloaded again. | [optional] |
|
|
22
21
|
| **total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
23
22
|
| **connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
24
23
|
| **sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional] |
|
|
25
24
|
| **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
25
|
| **headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional] |
|
|
26
|
+
| **download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional] |
|
|
27
27
|
| **rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional] |
|
|
28
28
|
| **hf_hub_url** | **String** | Base URL for Hugging Face Hub | [optional][default to 'https://huggingface.co'] |
|
|
29
29
|
| **hf_token** | **String** | Hugging Face authentication token for private repositories | [optional] |
|
|
@@ -36,6 +36,8 @@ require 'pulp_hugging_face_client'
|
|
|
36
36
|
instance = PulpHuggingFaceClient::PatchedhuggingFaceHuggingFaceRemote.new(
|
|
37
37
|
name: null,
|
|
38
38
|
url: null,
|
|
39
|
+
pulp_labels: null,
|
|
40
|
+
policy: null,
|
|
39
41
|
ca_cert: null,
|
|
40
42
|
client_cert: null,
|
|
41
43
|
client_key: null,
|
|
@@ -45,15 +47,13 @@ instance = PulpHuggingFaceClient::PatchedhuggingFaceHuggingFaceRemote.new(
|
|
|
45
47
|
proxy_password: null,
|
|
46
48
|
username: null,
|
|
47
49
|
password: null,
|
|
48
|
-
pulp_labels: null,
|
|
49
|
-
download_concurrency: null,
|
|
50
50
|
max_retries: null,
|
|
51
|
-
policy: null,
|
|
52
51
|
total_timeout: null,
|
|
53
52
|
connect_timeout: null,
|
|
54
53
|
sock_connect_timeout: null,
|
|
55
54
|
sock_read_timeout: null,
|
|
56
55
|
headers: null,
|
|
56
|
+
download_concurrency: null,
|
|
57
57
|
rate_limit: null,
|
|
58
58
|
hf_hub_url: null,
|
|
59
59
|
hf_token: null
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
| **name** | **String** | A unique name for this repository. | [optional] |
|
|
9
9
|
| **description** | **String** | An optional description. | [optional] |
|
|
10
10
|
| **retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional] |
|
|
11
|
+
| **retain_checkpoints** | **Integer** | Retain X checkpoint publications for the repository. Default is null which retains all checkpoints. | [optional] |
|
|
11
12
|
| **remote** | **String** | An optional remote to use by default when syncing. | [optional] |
|
|
12
13
|
|
|
13
14
|
## Example
|
|
@@ -20,6 +21,7 @@ instance = PulpHuggingFaceClient::PatchedhuggingFaceHuggingFaceRepository.new(
|
|
|
20
21
|
name: null,
|
|
21
22
|
description: null,
|
|
22
23
|
retain_repo_versions: null,
|
|
24
|
+
retain_checkpoints: null,
|
|
23
25
|
remote: null
|
|
24
26
|
)
|
|
25
27
|
```
|
|
@@ -198,7 +198,7 @@ opts = {
|
|
|
198
198
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
199
199
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
200
200
|
repository: 'repository_example', # String | Repository referenced by HREF/PRN
|
|
201
|
-
repository_version: '
|
|
201
|
+
repository_version: 'repository_version_example', # String |
|
|
202
202
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
|
203
203
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
|
204
204
|
}
|
|
@@ -253,7 +253,7 @@ end
|
|
|
253
253
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
254
254
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
255
255
|
| **repository** | **String** | Repository referenced by HREF/PRN | [optional] |
|
|
256
|
-
| **repository_version** | **String** |
|
|
256
|
+
| **repository_version** | **String** | | [optional] |
|
|
257
257
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
|
258
258
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
|
259
259
|
|
|
@@ -199,13 +199,21 @@ opts = {
|
|
|
199
199
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
|
200
200
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
|
201
201
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
202
|
-
ordering: ['-description'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
202
|
+
ordering: ['-description'], # Array<String> | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
|
203
203
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
204
204
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
205
205
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
|
206
206
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
|
207
207
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
|
208
|
-
remote: '
|
|
208
|
+
remote: 'remote_example', # String |
|
|
209
|
+
retain_checkpoints: 56, # Integer | Filter results where retain_checkpoints matches value
|
|
210
|
+
retain_checkpoints__gt: 56, # Integer | Filter results where retain_checkpoints is greater than value
|
|
211
|
+
retain_checkpoints__gte: 56, # Integer | Filter results where retain_checkpoints is greater than or equal to value
|
|
212
|
+
retain_checkpoints__isnull: true, # Boolean | Filter results where retain_checkpoints has a null value
|
|
213
|
+
retain_checkpoints__lt: 56, # Integer | Filter results where retain_checkpoints is less than value
|
|
214
|
+
retain_checkpoints__lte: 56, # Integer | Filter results where retain_checkpoints is less than or equal to value
|
|
215
|
+
retain_checkpoints__ne: 56, # Integer | Filter results where retain_checkpoints not equal to value
|
|
216
|
+
retain_checkpoints__range: [37], # Array<Integer> | Filter results where retain_checkpoints is between two comma separated values
|
|
209
217
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
|
210
218
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
|
211
219
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
|
@@ -263,13 +271,21 @@ end
|
|
|
263
271
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
|
264
272
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
|
265
273
|
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
|
266
|
-
| **ordering** | [**Array<String>**](String.md) | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
274
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `retain_checkpoints` - Retain checkpoints * `-retain_checkpoints` - Retain checkpoints (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
|
267
275
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
268
276
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
269
277
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
|
270
278
|
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
|
271
279
|
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
|
272
|
-
| **remote** | **String** |
|
|
280
|
+
| **remote** | **String** | | [optional] |
|
|
281
|
+
| **retain_checkpoints** | **Integer** | Filter results where retain_checkpoints matches value | [optional] |
|
|
282
|
+
| **retain_checkpoints__gt** | **Integer** | Filter results where retain_checkpoints is greater than value | [optional] |
|
|
283
|
+
| **retain_checkpoints__gte** | **Integer** | Filter results where retain_checkpoints is greater than or equal to value | [optional] |
|
|
284
|
+
| **retain_checkpoints__isnull** | **Boolean** | Filter results where retain_checkpoints has a null value | [optional] |
|
|
285
|
+
| **retain_checkpoints__lt** | **Integer** | Filter results where retain_checkpoints is less than value | [optional] |
|
|
286
|
+
| **retain_checkpoints__lte** | **Integer** | Filter results where retain_checkpoints is less than or equal to value | [optional] |
|
|
287
|
+
| **retain_checkpoints__ne** | **Integer** | Filter results where retain_checkpoints not equal to value | [optional] |
|
|
288
|
+
| **retain_checkpoints__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_checkpoints is between two comma separated values | [optional] |
|
|
273
289
|
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
|
274
290
|
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
|
275
291
|
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
| **add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional] |
|
|
8
8
|
| **remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional] |
|
|
9
9
|
| **base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional] |
|
|
10
|
+
| **overwrite** | **Boolean** | When set to true, existing content in the repository with the same unique key will be silently overwritten. When set to false, the task will fail if content would be overwritten. Defaults to true. | [optional][default to true] |
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,7 +17,8 @@ require 'pulp_hugging_face_client'
|
|
|
16
17
|
instance = PulpHuggingFaceClient::RepositoryAddRemoveContent.new(
|
|
17
18
|
add_content_units: null,
|
|
18
19
|
remove_content_units: null,
|
|
19
|
-
base_version: null
|
|
20
|
+
base_version: null,
|
|
21
|
+
overwrite: null
|
|
20
22
|
)
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -106,9 +106,9 @@ module PulpHuggingFaceClient
|
|
|
106
106
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
107
107
|
# @option opts [String] :repo_id Filter results where repo_id matches value
|
|
108
108
|
# @option opts [String] :repo_type Filter results where repo_type matches value * `models` - Models * `datasets` - Datasets * `spaces` - Spaces
|
|
109
|
-
# @option opts [String] :repository_version
|
|
110
|
-
# @option opts [String] :repository_version_added
|
|
111
|
-
# @option opts [String] :repository_version_removed
|
|
109
|
+
# @option opts [String] :repository_version
|
|
110
|
+
# @option opts [String] :repository_version_added
|
|
111
|
+
# @option opts [String] :repository_version_removed
|
|
112
112
|
# @option opts [String] :revision Filter results where revision matches value
|
|
113
113
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
114
114
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -134,9 +134,9 @@ module PulpHuggingFaceClient
|
|
|
134
134
|
# @option opts [String] :relative_path Filter results where relative_path matches value
|
|
135
135
|
# @option opts [String] :repo_id Filter results where repo_id matches value
|
|
136
136
|
# @option opts [String] :repo_type Filter results where repo_type matches value * `models` - Models * `datasets` - Datasets * `spaces` - Spaces
|
|
137
|
-
# @option opts [String] :repository_version
|
|
138
|
-
# @option opts [String] :repository_version_added
|
|
139
|
-
# @option opts [String] :repository_version_removed
|
|
137
|
+
# @option opts [String] :repository_version
|
|
138
|
+
# @option opts [String] :repository_version_added
|
|
139
|
+
# @option opts [String] :repository_version_removed
|
|
140
140
|
# @option opts [String] :revision Filter results where revision matches value
|
|
141
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
142
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -182,8 +182,8 @@ module PulpHuggingFaceClient
|
|
|
182
182
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
183
183
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
184
184
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
185
|
-
# @option opts [String] :repository
|
|
186
|
-
# @option opts [Array<String>] :repository__in
|
|
185
|
+
# @option opts [String] :repository
|
|
186
|
+
# @option opts [Array<String>] :repository__in
|
|
187
187
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
188
188
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
189
189
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -219,8 +219,8 @@ module PulpHuggingFaceClient
|
|
|
219
219
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
220
220
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
|
221
221
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
222
|
-
# @option opts [String] :repository
|
|
223
|
-
# @option opts [Array<String>] :repository__in
|
|
222
|
+
# @option opts [String] :repository
|
|
223
|
+
# @option opts [Array<String>] :repository__in
|
|
224
224
|
# @option opts [String] :with_content Filter distributions based on the content served by them
|
|
225
225
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
226
226
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
@@ -176,7 +176,7 @@ module PulpHuggingFaceClient
|
|
|
176
176
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
177
177
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
178
178
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
179
|
-
# @option opts [String] :repository_version
|
|
179
|
+
# @option opts [String] :repository_version
|
|
180
180
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
181
181
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
182
182
|
# @return [PaginatedhuggingFaceHuggingFacePublicationResponseList]
|
|
@@ -207,7 +207,7 @@ module PulpHuggingFaceClient
|
|
|
207
207
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
|
208
208
|
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
|
209
209
|
# @option opts [String] :repository Repository referenced by HREF/PRN
|
|
210
|
-
# @option opts [String] :repository_version
|
|
210
|
+
# @option opts [String] :repository_version
|
|
211
211
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
|
212
212
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
|
213
213
|
# @return [Array<(PaginatedhuggingFaceHuggingFacePublicationResponseList, Integer, Hash)>] PaginatedhuggingFaceHuggingFacePublicationResponseList data, response status code and response headers
|