pulp_hugging_face_client 0.0.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 +7 -0
- data/Gemfile +9 -0
- data/README.md +176 -0
- data/Rakefile +10 -0
- data/docs/AsyncOperationResponse.md +18 -0
- data/docs/ContentHuggingFaceApi.md +424 -0
- data/docs/ContentSummaryResponse.md +22 -0
- data/docs/DistributionsHuggingFaceApi.md +671 -0
- data/docs/HuggingFaceHuggingFaceContent.md +36 -0
- data/docs/HuggingFaceHuggingFaceContentResponse.md +42 -0
- data/docs/HuggingFaceHuggingFaceDistribution.md +32 -0
- data/docs/HuggingFaceHuggingFaceDistributionResponse.md +44 -0
- data/docs/HuggingFaceHuggingFacePublication.md +20 -0
- data/docs/HuggingFaceHuggingFacePublicationResponse.md +28 -0
- data/docs/HuggingFaceHuggingFaceRemote.md +62 -0
- data/docs/HuggingFaceHuggingFaceRemoteResponse.md +62 -0
- data/docs/HuggingFaceHuggingFaceRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/HuggingFaceHuggingFaceRepository.md +26 -0
- data/docs/HuggingFaceHuggingFaceRepositoryResponse.md +38 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +24 -0
- data/docs/PaginatedhuggingFaceHuggingFaceContentResponseList.md +24 -0
- data/docs/PaginatedhuggingFaceHuggingFaceDistributionResponseList.md +24 -0
- data/docs/PaginatedhuggingFaceHuggingFacePublicationResponseList.md +24 -0
- data/docs/PaginatedhuggingFaceHuggingFaceRemoteResponseList.md +24 -0
- data/docs/PaginatedhuggingFaceHuggingFaceRepositoryResponseList.md +24 -0
- data/docs/PatchedhuggingFaceHuggingFaceDistribution.md +32 -0
- data/docs/PatchedhuggingFaceHuggingFaceRemote.md +62 -0
- data/docs/PatchedhuggingFaceHuggingFaceRepository.md +26 -0
- data/docs/PolicyEnum.md +15 -0
- data/docs/PublicationsHuggingFaceApi.md +350 -0
- data/docs/RemotesHuggingFaceApi.md +669 -0
- data/docs/Repair.md +18 -0
- data/docs/RepoTypeEnum.md +15 -0
- data/docs/RepositoriesHuggingFaceApi.md +831 -0
- data/docs/RepositoriesHuggingFaceVersionsApi.md +359 -0
- data/docs/RepositoryAddRemoveContent.md +22 -0
- data/docs/RepositorySyncURL.md +20 -0
- data/docs/RepositoryVersionResponse.md +32 -0
- data/docs/SetLabel.md +20 -0
- data/docs/SetLabelResponse.md +20 -0
- data/docs/UnsetLabel.md +18 -0
- data/docs/UnsetLabelResponse.md +20 -0
- data/lib/pulp_hugging_face_client/api/content_hugging_face_api.rb +441 -0
- data/lib/pulp_hugging_face_client/api/distributions_hugging_face_api.rb +684 -0
- data/lib/pulp_hugging_face_client/api/publications_hugging_face_api.rb +356 -0
- data/lib/pulp_hugging_face_client/api/remotes_hugging_face_api.rb +681 -0
- data/lib/pulp_hugging_face_client/api/repositories_hugging_face_api.rb +847 -0
- data/lib/pulp_hugging_face_client/api/repositories_hugging_face_versions_api.rb +374 -0
- data/lib/pulp_hugging_face_client/api_client.rb +438 -0
- data/lib/pulp_hugging_face_client/api_error.rb +58 -0
- data/lib/pulp_hugging_face_client/configuration.rb +392 -0
- data/lib/pulp_hugging_face_client/models/async_operation_response.rb +223 -0
- data/lib/pulp_hugging_face_client/models/content_summary_response.rb +260 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_content.rb +428 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_content_response.rb +385 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_distribution.rb +345 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_distribution_response.rb +366 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_publication.rb +225 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_publication_response.rb +264 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_remote.rb +745 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_remote_response.rb +564 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_remote_response_hidden_fields_inner.rb +237 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_repository.rb +316 -0
- data/lib/pulp_hugging_face_client/models/hugging_face_hugging_face_repository_response.rb +339 -0
- data/lib/pulp_hugging_face_client/models/paginated_repository_version_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_content_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_distribution_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_publication_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_remote_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_repository_response_list.rb +259 -0
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_distribution.rb +331 -0
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_remote.rb +731 -0
- data/lib/pulp_hugging_face_client/models/patchedhugging_face_hugging_face_repository.rb +309 -0
- data/lib/pulp_hugging_face_client/models/policy_enum.rb +41 -0
- data/lib/pulp_hugging_face_client/models/repair.rb +217 -0
- data/lib/pulp_hugging_face_client/models/repo_type_enum.rb +41 -0
- data/lib/pulp_hugging_face_client/models/repository_add_remove_content.rb +240 -0
- data/lib/pulp_hugging_face_client/models/repository_sync_url.rb +228 -0
- data/lib/pulp_hugging_face_client/models/repository_version_response.rb +283 -0
- data/lib/pulp_hugging_face_client/models/set_label.rb +264 -0
- data/lib/pulp_hugging_face_client/models/set_label_response.rb +255 -0
- data/lib/pulp_hugging_face_client/models/unset_label.rb +252 -0
- data/lib/pulp_hugging_face_client/models/unset_label_response.rb +252 -0
- data/lib/pulp_hugging_face_client/version.rb +15 -0
- data/lib/pulp_hugging_face_client.rb +77 -0
- data/pulp_hugging_face_client.gemspec +41 -0
- data/spec/api/content_hugging_face_api_spec.rb +121 -0
- data/spec/api/distributions_hugging_face_api_spec.rb +171 -0
- data/spec/api/publications_hugging_face_api_spec.rb +109 -0
- data/spec/api/remotes_hugging_face_api_spec.rb +170 -0
- data/spec/api/repositories_hugging_face_api_spec.rb +202 -0
- data/spec/api/repositories_hugging_face_versions_api_spec.rb +112 -0
- data/spec/models/async_operation_response_spec.rb +36 -0
- data/spec/models/content_summary_response_spec.rb +48 -0
- data/spec/models/hugging_face_hugging_face_content_response_spec.rb +108 -0
- data/spec/models/hugging_face_hugging_face_content_spec.rb +90 -0
- data/spec/models/hugging_face_hugging_face_distribution_response_spec.rb +114 -0
- data/spec/models/hugging_face_hugging_face_distribution_spec.rb +78 -0
- data/spec/models/hugging_face_hugging_face_publication_response_spec.rb +66 -0
- data/spec/models/hugging_face_hugging_face_publication_spec.rb +42 -0
- data/spec/models/hugging_face_hugging_face_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/hugging_face_hugging_face_remote_response_spec.rb +168 -0
- data/spec/models/hugging_face_hugging_face_remote_spec.rb +168 -0
- data/spec/models/hugging_face_hugging_face_repository_response_spec.rb +96 -0
- data/spec/models/hugging_face_hugging_face_repository_spec.rb +60 -0
- data/spec/models/paginated_repository_version_response_list_spec.rb +54 -0
- data/spec/models/paginatedhugging_face_hugging_face_content_response_list_spec.rb +54 -0
- data/spec/models/paginatedhugging_face_hugging_face_distribution_response_list_spec.rb +54 -0
- data/spec/models/paginatedhugging_face_hugging_face_publication_response_list_spec.rb +54 -0
- data/spec/models/paginatedhugging_face_hugging_face_remote_response_list_spec.rb +54 -0
- data/spec/models/paginatedhugging_face_hugging_face_repository_response_list_spec.rb +54 -0
- data/spec/models/patchedhugging_face_hugging_face_distribution_spec.rb +78 -0
- data/spec/models/patchedhugging_face_hugging_face_remote_spec.rb +168 -0
- data/spec/models/patchedhugging_face_hugging_face_repository_spec.rb +60 -0
- data/spec/models/policy_enum_spec.rb +30 -0
- data/spec/models/repair_spec.rb +36 -0
- data/spec/models/repo_type_enum_spec.rb +30 -0
- data/spec/models/repository_add_remove_content_spec.rb +48 -0
- data/spec/models/repository_sync_url_spec.rb +42 -0
- data/spec/models/repository_version_response_spec.rb +78 -0
- data/spec/models/set_label_response_spec.rb +42 -0
- data/spec/models/set_label_spec.rb +42 -0
- data/spec/models/unset_label_response_spec.rb +42 -0
- data/spec/models/unset_label_spec.rb +36 -0
- data/spec/spec_helper.rb +111 -0
- metadata +274 -0
@@ -0,0 +1,252 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'date'
|
14
|
+
require 'time'
|
15
|
+
|
16
|
+
module PulpHuggingFaceClient
|
17
|
+
# Serializer for synchronously UNsetting a label.
|
18
|
+
class UnsetLabelResponse
|
19
|
+
attr_accessor :key
|
20
|
+
|
21
|
+
attr_accessor :value
|
22
|
+
|
23
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
24
|
+
def self.attribute_map
|
25
|
+
{
|
26
|
+
:'key' => :'key',
|
27
|
+
:'value' => :'value'
|
28
|
+
}
|
29
|
+
end
|
30
|
+
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
def self.openapi_types
|
38
|
+
{
|
39
|
+
:'key' => :'String',
|
40
|
+
:'value' => :'String'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# List of attributes with nullable: true
|
45
|
+
def self.openapi_nullable
|
46
|
+
Set.new([
|
47
|
+
])
|
48
|
+
end
|
49
|
+
|
50
|
+
# Initializes the object
|
51
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
52
|
+
def initialize(attributes = {})
|
53
|
+
if (!attributes.is_a?(Hash))
|
54
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpHuggingFaceClient::UnsetLabelResponse` initialize method"
|
55
|
+
end
|
56
|
+
|
57
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
59
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
60
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpHuggingFaceClient::UnsetLabelResponse`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
61
|
+
end
|
62
|
+
h[k.to_sym] = v
|
63
|
+
}
|
64
|
+
|
65
|
+
if attributes.key?(:'key')
|
66
|
+
self.key = attributes[:'key']
|
67
|
+
else
|
68
|
+
self.key = nil
|
69
|
+
end
|
70
|
+
|
71
|
+
if attributes.key?(:'value')
|
72
|
+
self.value = attributes[:'value']
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
77
|
+
# @return Array for valid properties with the reasons
|
78
|
+
def list_invalid_properties
|
79
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
80
|
+
invalid_properties = Array.new
|
81
|
+
if @key.nil?
|
82
|
+
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
83
|
+
end
|
84
|
+
|
85
|
+
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
86
|
+
if @key !~ pattern
|
87
|
+
invalid_properties.push("invalid value for \"key\", must conform to the pattern #{pattern}.")
|
88
|
+
end
|
89
|
+
|
90
|
+
invalid_properties
|
91
|
+
end
|
92
|
+
|
93
|
+
# Check to see if the all the properties in the model are valid
|
94
|
+
# @return true if the model is valid
|
95
|
+
def valid?
|
96
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
97
|
+
return false if @key.nil?
|
98
|
+
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
99
|
+
true
|
100
|
+
end
|
101
|
+
|
102
|
+
# Custom attribute writer method with validation
|
103
|
+
# @param [Object] key Value to be assigned
|
104
|
+
def key=(key)
|
105
|
+
if key.nil?
|
106
|
+
fail ArgumentError, 'key cannot be nil'
|
107
|
+
end
|
108
|
+
|
109
|
+
pattern = Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
110
|
+
if key !~ pattern
|
111
|
+
fail ArgumentError, "invalid value for \"key\", must conform to the pattern #{pattern}."
|
112
|
+
end
|
113
|
+
|
114
|
+
@key = key
|
115
|
+
end
|
116
|
+
|
117
|
+
# Checks equality by comparing each attribute.
|
118
|
+
# @param [Object] Object to be compared
|
119
|
+
def ==(o)
|
120
|
+
return true if self.equal?(o)
|
121
|
+
self.class == o.class &&
|
122
|
+
key == o.key &&
|
123
|
+
value == o.value
|
124
|
+
end
|
125
|
+
|
126
|
+
# @see the `==` method
|
127
|
+
# @param [Object] Object to be compared
|
128
|
+
def eql?(o)
|
129
|
+
self == o
|
130
|
+
end
|
131
|
+
|
132
|
+
# Calculates hash code according to all attributes.
|
133
|
+
# @return [Integer] Hash code
|
134
|
+
def hash
|
135
|
+
[key, value].hash
|
136
|
+
end
|
137
|
+
|
138
|
+
# Builds the object from hash
|
139
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
140
|
+
# @return [Object] Returns the model itself
|
141
|
+
def self.build_from_hash(attributes)
|
142
|
+
return nil unless attributes.is_a?(Hash)
|
143
|
+
attributes = attributes.transform_keys(&:to_sym)
|
144
|
+
transformed_hash = {}
|
145
|
+
openapi_types.each_pair do |key, type|
|
146
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
147
|
+
transformed_hash["#{key}"] = nil
|
148
|
+
elsif type =~ /\AArray<(.*)>/i
|
149
|
+
# check to ensure the input is an array given that the attribute
|
150
|
+
# is documented as an array but the input is not
|
151
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
152
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
153
|
+
end
|
154
|
+
elsif !attributes[attribute_map[key]].nil?
|
155
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
156
|
+
end
|
157
|
+
end
|
158
|
+
new(transformed_hash)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Deserializes the data based on type
|
162
|
+
# @param string type Data type
|
163
|
+
# @param string value Value to be deserialized
|
164
|
+
# @return [Object] Deserialized data
|
165
|
+
def self._deserialize(type, value)
|
166
|
+
case type.to_sym
|
167
|
+
when :Time
|
168
|
+
Time.parse(value)
|
169
|
+
when :Date
|
170
|
+
Date.parse(value)
|
171
|
+
when :String
|
172
|
+
value.to_s
|
173
|
+
when :Integer
|
174
|
+
value.to_i
|
175
|
+
when :Float
|
176
|
+
value.to_f
|
177
|
+
when :Boolean
|
178
|
+
if value.to_s =~ /\A(true|t|yes|y|1)\z/i
|
179
|
+
true
|
180
|
+
else
|
181
|
+
false
|
182
|
+
end
|
183
|
+
when :Object
|
184
|
+
# generic object (usually a Hash), return directly
|
185
|
+
value
|
186
|
+
when /\AArray<(?<inner_type>.+)>\z/
|
187
|
+
inner_type = Regexp.last_match[:inner_type]
|
188
|
+
value.map { |v| _deserialize(inner_type, v) }
|
189
|
+
when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
|
190
|
+
k_type = Regexp.last_match[:k_type]
|
191
|
+
v_type = Regexp.last_match[:v_type]
|
192
|
+
{}.tap do |hash|
|
193
|
+
value.each do |k, v|
|
194
|
+
hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
|
195
|
+
end
|
196
|
+
end
|
197
|
+
else # model
|
198
|
+
# models (e.g. Pet) or oneOf
|
199
|
+
klass = PulpHuggingFaceClient.const_get(type)
|
200
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# Returns the string representation of the object
|
205
|
+
# @return [String] String presentation of the object
|
206
|
+
def to_s
|
207
|
+
to_hash.to_s
|
208
|
+
end
|
209
|
+
|
210
|
+
# to_body is an alias to to_hash (backward compatibility)
|
211
|
+
# @return [Hash] Returns the object in the form of hash
|
212
|
+
def to_body
|
213
|
+
to_hash
|
214
|
+
end
|
215
|
+
|
216
|
+
# Returns the object in the form of hash
|
217
|
+
# @return [Hash] Returns the object in the form of hash
|
218
|
+
def to_hash
|
219
|
+
hash = {}
|
220
|
+
self.class.attribute_map.each_pair do |attr, param|
|
221
|
+
value = self.send(attr)
|
222
|
+
if value.nil?
|
223
|
+
is_nullable = self.class.openapi_nullable.include?(attr)
|
224
|
+
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
225
|
+
end
|
226
|
+
|
227
|
+
hash[param] = _to_hash(value)
|
228
|
+
end
|
229
|
+
hash
|
230
|
+
end
|
231
|
+
|
232
|
+
# Outputs non-array value in the form of hash
|
233
|
+
# For object, use to_hash. Otherwise, just return the value
|
234
|
+
# @param [Object] value Any valid value
|
235
|
+
# @return [Hash] Returns the value in the form of hash
|
236
|
+
def _to_hash(value)
|
237
|
+
if value.is_a?(Array)
|
238
|
+
value.compact.map { |v| _to_hash(v) }
|
239
|
+
elsif value.is_a?(Hash)
|
240
|
+
{}.tap do |hash|
|
241
|
+
value.each { |k, v| hash[k] = _to_hash(v) }
|
242
|
+
end
|
243
|
+
elsif value.respond_to? :to_hash
|
244
|
+
value.to_hash
|
245
|
+
else
|
246
|
+
value
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
250
|
+
end
|
251
|
+
|
252
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
module PulpHuggingFaceClient
|
14
|
+
VERSION = '0.0.1'
|
15
|
+
end
|
@@ -0,0 +1,77 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# Common files
|
14
|
+
require 'pulp_hugging_face_client/api_client'
|
15
|
+
require 'pulp_hugging_face_client/api_error'
|
16
|
+
require 'pulp_hugging_face_client/version'
|
17
|
+
require 'pulp_hugging_face_client/configuration'
|
18
|
+
|
19
|
+
# Models
|
20
|
+
require 'pulp_hugging_face_client/models/async_operation_response'
|
21
|
+
require 'pulp_hugging_face_client/models/content_summary_response'
|
22
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_content'
|
23
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_content_response'
|
24
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_distribution'
|
25
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_distribution_response'
|
26
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_publication'
|
27
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_publication_response'
|
28
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_remote'
|
29
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_remote_response'
|
30
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_remote_response_hidden_fields_inner'
|
31
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_repository'
|
32
|
+
require 'pulp_hugging_face_client/models/hugging_face_hugging_face_repository_response'
|
33
|
+
require 'pulp_hugging_face_client/models/paginated_repository_version_response_list'
|
34
|
+
require 'pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_content_response_list'
|
35
|
+
require 'pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_distribution_response_list'
|
36
|
+
require 'pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_publication_response_list'
|
37
|
+
require 'pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_remote_response_list'
|
38
|
+
require 'pulp_hugging_face_client/models/paginatedhugging_face_hugging_face_repository_response_list'
|
39
|
+
require 'pulp_hugging_face_client/models/patchedhugging_face_hugging_face_distribution'
|
40
|
+
require 'pulp_hugging_face_client/models/patchedhugging_face_hugging_face_remote'
|
41
|
+
require 'pulp_hugging_face_client/models/patchedhugging_face_hugging_face_repository'
|
42
|
+
require 'pulp_hugging_face_client/models/policy_enum'
|
43
|
+
require 'pulp_hugging_face_client/models/repair'
|
44
|
+
require 'pulp_hugging_face_client/models/repo_type_enum'
|
45
|
+
require 'pulp_hugging_face_client/models/repository_add_remove_content'
|
46
|
+
require 'pulp_hugging_face_client/models/repository_sync_url'
|
47
|
+
require 'pulp_hugging_face_client/models/repository_version_response'
|
48
|
+
require 'pulp_hugging_face_client/models/set_label'
|
49
|
+
require 'pulp_hugging_face_client/models/set_label_response'
|
50
|
+
require 'pulp_hugging_face_client/models/unset_label'
|
51
|
+
require 'pulp_hugging_face_client/models/unset_label_response'
|
52
|
+
|
53
|
+
# APIs
|
54
|
+
require 'pulp_hugging_face_client/api/content_hugging_face_api'
|
55
|
+
require 'pulp_hugging_face_client/api/distributions_hugging_face_api'
|
56
|
+
require 'pulp_hugging_face_client/api/publications_hugging_face_api'
|
57
|
+
require 'pulp_hugging_face_client/api/remotes_hugging_face_api'
|
58
|
+
require 'pulp_hugging_face_client/api/repositories_hugging_face_api'
|
59
|
+
require 'pulp_hugging_face_client/api/repositories_hugging_face_versions_api'
|
60
|
+
|
61
|
+
module PulpHuggingFaceClient
|
62
|
+
class << self
|
63
|
+
# Customize default settings for the SDK using block.
|
64
|
+
# PulpHuggingFaceClient.configure do |config|
|
65
|
+
# config.username = "xxx"
|
66
|
+
# config.password = "xxx"
|
67
|
+
# end
|
68
|
+
# If no block given, return the default Configuration object.
|
69
|
+
def configure
|
70
|
+
if block_given?
|
71
|
+
yield(Configuration.default)
|
72
|
+
else
|
73
|
+
Configuration.default
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
|
3
|
+
=begin
|
4
|
+
#Pulp 3 API
|
5
|
+
|
6
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
7
|
+
|
8
|
+
The version of the OpenAPI document: v3
|
9
|
+
Contact: pulp-list@redhat.com
|
10
|
+
Generated by: https://openapi-generator.tech
|
11
|
+
Generator version: 7.10.0
|
12
|
+
|
13
|
+
=end
|
14
|
+
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
16
|
+
require "pulp_hugging_face_client/version"
|
17
|
+
|
18
|
+
Gem::Specification.new do |s|
|
19
|
+
s.name = "pulp_hugging_face_client"
|
20
|
+
s.version = PulpHuggingFaceClient::VERSION
|
21
|
+
s.platform = Gem::Platform::RUBY
|
22
|
+
s.authors = ["OpenAPI-Generator"]
|
23
|
+
s.email = ["pulp-list@redhat.com"]
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_hugging_face"
|
25
|
+
s.summary = "Pulp 3 API Ruby Gem"
|
26
|
+
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
+
s.license = "GPLv2+"
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
29
|
+
s.metadata = {}
|
30
|
+
|
31
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
32
|
+
s.add_runtime_dependency 'faraday-multipart'
|
33
|
+
s.add_runtime_dependency 'marcel'
|
34
|
+
|
35
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
36
|
+
|
37
|
+
s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
|
38
|
+
s.test_files = `find spec/*`.split("\n")
|
39
|
+
s.executables = []
|
40
|
+
s.require_paths = ["lib"]
|
41
|
+
end
|
@@ -0,0 +1,121 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpHuggingFaceClient::ContentHuggingFaceApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'ContentHuggingFaceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpHuggingFaceClient::ContentHuggingFaceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of ContentHuggingFaceApi' do
|
30
|
+
it 'should create an instance of ContentHuggingFaceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpHuggingFaceClient::ContentHuggingFaceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a hugging face content
|
37
|
+
# Perform bookkeeping when saving Content. \"Artifacts\" need to be popped off and saved indpendently, as they are not actually part of the Content model.
|
38
|
+
# @param hugging_face_hugging_face_content
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
|
+
# @return [HuggingFaceHuggingFaceContentResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for list
|
49
|
+
# List hugging face contents
|
50
|
+
# A ViewSet for HuggingFaceContent. Define endpoint name which will appear in the API endpoint for this content type. For example:: https://pulp.example.com/pulp/api/v3/content/hugging-face/units/ Also specify queryset and serializer for HuggingFaceContent.
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
53
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
54
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
55
|
+
# @option opts [Array<String>] :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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `repo_id` - Repo id * `-repo_id` - Repo id (descending) * `repo_type` - Repo type * `-repo_type` - Repo type (descending) * `relative_path` - Relative path * `-relative_path` - Relative path (descending) * `revision` - Revision * `-revision` - Revision (descending) * `size` - Size * `-size` - Size (descending) * `etag` - Etag * `-etag` - Etag (descending) * `last_modified` - Last modified * `-last_modified` - Last modified (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
56
|
+
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
57
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
58
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
59
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
60
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
61
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
62
|
+
# @option opts [String] :relative_path Filter results where relative_path matches value
|
63
|
+
# @option opts [String] :repo_id Filter results where repo_id matches value
|
64
|
+
# @option opts [String] :repo_type Filter results where repo_type matches value * `models` - Models * `datasets` - Datasets * `spaces` - Spaces
|
65
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
66
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
67
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
68
|
+
# @option opts [String] :revision Filter results where revision matches value
|
69
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
|
+
# @return [PaginatedhuggingFaceHuggingFaceContentResponseList]
|
72
|
+
describe 'list test' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# unit tests for read
|
79
|
+
# Inspect a hugging face content
|
80
|
+
# A ViewSet for HuggingFaceContent. Define endpoint name which will appear in the API endpoint for this content type. For example:: https://pulp.example.com/pulp/api/v3/content/hugging-face/units/ Also specify queryset and serializer for HuggingFaceContent.
|
81
|
+
# @param hugging_face_hugging_face_content_href
|
82
|
+
# @param [Hash] opts the optional parameters
|
83
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
84
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
85
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
86
|
+
# @return [HuggingFaceHuggingFaceContentResponse]
|
87
|
+
describe 'read test' do
|
88
|
+
it 'should work' do
|
89
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
93
|
+
# unit tests for set_label
|
94
|
+
# Set a label
|
95
|
+
# Set a single pulp_label on the object to a specific value or null.
|
96
|
+
# @param hugging_face_hugging_face_content_href
|
97
|
+
# @param set_label
|
98
|
+
# @param [Hash] opts the optional parameters
|
99
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
|
+
# @return [SetLabelResponse]
|
101
|
+
describe 'set_label test' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
# unit tests for unset_label
|
108
|
+
# Unset a label
|
109
|
+
# Unset a single pulp_label on the object.
|
110
|
+
# @param hugging_face_hugging_face_content_href
|
111
|
+
# @param unset_label
|
112
|
+
# @param [Hash] opts the optional parameters
|
113
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
114
|
+
# @return [UnsetLabelResponse]
|
115
|
+
describe 'unset_label test' do
|
116
|
+
it 'should work' do
|
117
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
end
|
@@ -0,0 +1,171 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
Generator version: 7.10.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for PulpHuggingFaceClient::DistributionsHuggingFaceApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'DistributionsHuggingFaceApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = PulpHuggingFaceClient::DistributionsHuggingFaceApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of DistributionsHuggingFaceApi' do
|
30
|
+
it 'should create an instance of DistributionsHuggingFaceApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(PulpHuggingFaceClient::DistributionsHuggingFaceApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for create
|
36
|
+
# Create a hugging face distribution
|
37
|
+
# Trigger an asynchronous create task
|
38
|
+
# @param hugging_face_hugging_face_distribution
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
41
|
+
# @return [AsyncOperationResponse]
|
42
|
+
describe 'create test' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# unit tests for delete
|
49
|
+
# Delete a hugging face distribution
|
50
|
+
# Trigger an asynchronous delete task
|
51
|
+
# @param hugging_face_hugging_face_distribution_href
|
52
|
+
# @param [Hash] opts the optional parameters
|
53
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
54
|
+
# @return [AsyncOperationResponse]
|
55
|
+
describe 'delete test' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
# unit tests for list
|
62
|
+
# List hugging face distributions
|
63
|
+
# A ViewSet for HuggingFaceDistribution. Similar to the HuggingFaceContentViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
64
|
+
# @param [Hash] opts the optional parameters
|
65
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
66
|
+
# @option opts [String] :base_path Filter results where base_path matches value
|
67
|
+
# @option opts [String] :base_path__contains Filter results where base_path contains value
|
68
|
+
# @option opts [String] :base_path__icontains Filter results where base_path contains value
|
69
|
+
# @option opts [Array<String>] :base_path__in Filter results where base_path is in a comma-separated list of values
|
70
|
+
# @option opts [Boolean] :checkpoint Filter results where checkpoint matches value
|
71
|
+
# @option opts [Integer] :limit Number of results to return per page.
|
72
|
+
# @option opts [String] :name Filter results where name matches value
|
73
|
+
# @option opts [String] :name__contains Filter results where name contains value
|
74
|
+
# @option opts [String] :name__icontains Filter results where name contains value
|
75
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
76
|
+
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
77
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
78
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
79
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
80
|
+
# @option opts [String] :name__startswith Filter results where name starts with value
|
81
|
+
# @option opts [Integer] :offset The initial index from which to return the results.
|
82
|
+
# @option opts [Array<String>] :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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
83
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
84
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
85
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
86
|
+
# @option opts [String] :pulp_label_select Filter labels by search string
|
87
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
88
|
+
# @option opts [String] :repository Filter results where repository matches value
|
89
|
+
# @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
|
90
|
+
# @option opts [String] :with_content Filter distributions based on the content served by them
|
91
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
92
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
93
|
+
# @return [PaginatedhuggingFaceHuggingFaceDistributionResponseList]
|
94
|
+
describe 'list test' do
|
95
|
+
it 'should work' do
|
96
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
# unit tests for partial_update
|
101
|
+
# Update a hugging face distribution
|
102
|
+
# Trigger an asynchronous partial update task
|
103
|
+
# @param hugging_face_hugging_face_distribution_href
|
104
|
+
# @param patchedhugging_face_hugging_face_distribution
|
105
|
+
# @param [Hash] opts the optional parameters
|
106
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
107
|
+
# @return [AsyncOperationResponse]
|
108
|
+
describe 'partial_update test' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
# unit tests for read
|
115
|
+
# Inspect a hugging face distribution
|
116
|
+
# A ViewSet for HuggingFaceDistribution. Similar to the HuggingFaceContentViewSet above, define endpoint_name, queryset and serializer, at a minimum.
|
117
|
+
# @param hugging_face_hugging_face_distribution_href
|
118
|
+
# @param [Hash] opts the optional parameters
|
119
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
120
|
+
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
121
|
+
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
122
|
+
# @return [HuggingFaceHuggingFaceDistributionResponse]
|
123
|
+
describe 'read test' do
|
124
|
+
it 'should work' do
|
125
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
126
|
+
end
|
127
|
+
end
|
128
|
+
|
129
|
+
# unit tests for set_label
|
130
|
+
# Set a label
|
131
|
+
# Set a single pulp_label on the object to a specific value or null.
|
132
|
+
# @param hugging_face_hugging_face_distribution_href
|
133
|
+
# @param set_label
|
134
|
+
# @param [Hash] opts the optional parameters
|
135
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
136
|
+
# @return [SetLabelResponse]
|
137
|
+
describe 'set_label test' do
|
138
|
+
it 'should work' do
|
139
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
# unit tests for unset_label
|
144
|
+
# Unset a label
|
145
|
+
# Unset a single pulp_label on the object.
|
146
|
+
# @param hugging_face_hugging_face_distribution_href
|
147
|
+
# @param unset_label
|
148
|
+
# @param [Hash] opts the optional parameters
|
149
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
150
|
+
# @return [UnsetLabelResponse]
|
151
|
+
describe 'unset_label test' do
|
152
|
+
it 'should work' do
|
153
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
154
|
+
end
|
155
|
+
end
|
156
|
+
|
157
|
+
# unit tests for update
|
158
|
+
# Update a hugging face distribution
|
159
|
+
# Trigger an asynchronous update task
|
160
|
+
# @param hugging_face_hugging_face_distribution_href
|
161
|
+
# @param hugging_face_hugging_face_distribution
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
164
|
+
# @return [AsyncOperationResponse]
|
165
|
+
describe 'update test' do
|
166
|
+
it 'should work' do
|
167
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
end
|