turbopuffer 1.9.0 → 1.9.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/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/turbopuffer/models/namespace_write_params.rb +16 -8
- data/lib/turbopuffer/version.rb +1 -1
- data/rbi/turbopuffer/models/namespace_write_params.rbi +29 -11
- data/sig/turbopuffer/models/namespace_write_params.rbs +21 -6
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5317a57b9e5ee7b9a97c67d3127944481e6ec1bb205145dda3c17c45f1cb9282
|
|
4
|
+
data.tar.gz: c38a3da7c80cc45153758504a2d041de9c489b7e713ac103ef49b6ef9b975a02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7e734989c2ea71559c836afd0af03b2f4da88d90964f9f41c8fdbbb0df6b315b3ae8e67c5733773f3c3ee6016e21bd8bb129a0d16f55e4f11e6f2fa596cce2c
|
|
7
|
+
data.tar.gz: 2911b8daa350bb6f35e5734fe8f0f1b677ca0f1ed91643bbbf0d3ce9074d23918008565a05dff8604596a82db1d3972d276448680c1cf00baac6782cec8bc7c8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.9.1 (2025-12-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.9.0...v1.9.1](https://github.com/turbopuffer/turbopuffer-ruby/compare/v1.9.0...v1.9.1)
|
|
6
|
+
|
|
7
|
+
### Documentation
|
|
8
|
+
|
|
9
|
+
* add cross-region copy_from_namespace to write API docs ([bf6a887](https://github.com/turbopuffer/turbopuffer-ruby/commit/bf6a8873718ce040cf6677bca238069fff8a4950))
|
|
10
|
+
|
|
3
11
|
## 1.9.0 (2025-12-02)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.8.0...v1.9.0](https://github.com/turbopuffer/turbopuffer-ruby/compare/v1.8.0...v1.9.0)
|
data/README.md
CHANGED
|
@@ -168,22 +168,30 @@ module Turbopuffer
|
|
|
168
168
|
variant -> { Turbopuffer::NamespaceWriteParams::CopyFromNamespace::CopyFromNamespaceConfig }
|
|
169
169
|
|
|
170
170
|
class CopyFromNamespaceConfig < Turbopuffer::Internal::Type::BaseModel
|
|
171
|
-
# @!attribute source_api_key
|
|
172
|
-
# An API key for the organization containing the source namespace
|
|
173
|
-
#
|
|
174
|
-
# @return [String]
|
|
175
|
-
required :source_api_key, String
|
|
176
|
-
|
|
177
171
|
# @!attribute source_namespace
|
|
178
172
|
# The namespace to copy documents from.
|
|
179
173
|
#
|
|
180
174
|
# @return [String]
|
|
181
175
|
required :source_namespace, String
|
|
182
176
|
|
|
183
|
-
# @!
|
|
184
|
-
#
|
|
177
|
+
# @!attribute source_api_key
|
|
178
|
+
# (Optional) An API key for the organization containing the source namespace
|
|
179
|
+
#
|
|
180
|
+
# @return [String, nil]
|
|
181
|
+
optional :source_api_key, String
|
|
182
|
+
|
|
183
|
+
# @!attribute source_region
|
|
184
|
+
# (Optional) The region of the source namespace.
|
|
185
185
|
#
|
|
186
|
+
# @return [String, nil]
|
|
187
|
+
optional :source_region, String
|
|
188
|
+
|
|
189
|
+
# @!method initialize(source_namespace:, source_api_key: nil, source_region: nil)
|
|
186
190
|
# @param source_namespace [String] The namespace to copy documents from.
|
|
191
|
+
#
|
|
192
|
+
# @param source_api_key [String] (Optional) An API key for the organization containing the source namespace
|
|
193
|
+
#
|
|
194
|
+
# @param source_region [String] (Optional) The region of the source namespace.
|
|
187
195
|
end
|
|
188
196
|
|
|
189
197
|
# @!method self.variants
|
data/lib/turbopuffer/version.rb
CHANGED
|
@@ -316,30 +316,48 @@ module Turbopuffer
|
|
|
316
316
|
)
|
|
317
317
|
end
|
|
318
318
|
|
|
319
|
-
# An API key for the organization containing the source namespace
|
|
320
|
-
sig { returns(String) }
|
|
321
|
-
attr_accessor :source_api_key
|
|
322
|
-
|
|
323
319
|
# The namespace to copy documents from.
|
|
324
320
|
sig { returns(String) }
|
|
325
321
|
attr_accessor :source_namespace
|
|
326
322
|
|
|
323
|
+
# (Optional) An API key for the organization containing the source namespace
|
|
324
|
+
sig { returns(T.nilable(String)) }
|
|
325
|
+
attr_reader :source_api_key
|
|
326
|
+
|
|
327
|
+
sig { params(source_api_key: String).void }
|
|
328
|
+
attr_writer :source_api_key
|
|
329
|
+
|
|
330
|
+
# (Optional) The region of the source namespace.
|
|
331
|
+
sig { returns(T.nilable(String)) }
|
|
332
|
+
attr_reader :source_region
|
|
333
|
+
|
|
334
|
+
sig { params(source_region: String).void }
|
|
335
|
+
attr_writer :source_region
|
|
336
|
+
|
|
327
337
|
sig do
|
|
328
|
-
params(
|
|
329
|
-
|
|
330
|
-
|
|
338
|
+
params(
|
|
339
|
+
source_namespace: String,
|
|
340
|
+
source_api_key: String,
|
|
341
|
+
source_region: String
|
|
342
|
+
).returns(T.attached_class)
|
|
331
343
|
end
|
|
332
344
|
def self.new(
|
|
333
|
-
# An API key for the organization containing the source namespace
|
|
334
|
-
source_api_key:,
|
|
335
345
|
# The namespace to copy documents from.
|
|
336
|
-
source_namespace
|
|
346
|
+
source_namespace:,
|
|
347
|
+
# (Optional) An API key for the organization containing the source namespace
|
|
348
|
+
source_api_key: nil,
|
|
349
|
+
# (Optional) The region of the source namespace.
|
|
350
|
+
source_region: nil
|
|
337
351
|
)
|
|
338
352
|
end
|
|
339
353
|
|
|
340
354
|
sig do
|
|
341
355
|
override.returns(
|
|
342
|
-
{
|
|
356
|
+
{
|
|
357
|
+
source_namespace: String,
|
|
358
|
+
source_api_key: String,
|
|
359
|
+
source_region: String
|
|
360
|
+
}
|
|
343
361
|
)
|
|
344
362
|
end
|
|
345
363
|
def to_hash
|
|
@@ -163,19 +163,34 @@ module Turbopuffer
|
|
|
163
163
|
extend Turbopuffer::Internal::Type::Union
|
|
164
164
|
|
|
165
165
|
type copy_from_namespace_config =
|
|
166
|
-
{
|
|
166
|
+
{
|
|
167
|
+
source_namespace: String,
|
|
168
|
+
source_api_key: String,
|
|
169
|
+
source_region: String
|
|
170
|
+
}
|
|
167
171
|
|
|
168
172
|
class CopyFromNamespaceConfig < Turbopuffer::Internal::Type::BaseModel
|
|
169
|
-
attr_accessor source_api_key: String
|
|
170
|
-
|
|
171
173
|
attr_accessor source_namespace: String
|
|
172
174
|
|
|
175
|
+
attr_reader source_api_key: String?
|
|
176
|
+
|
|
177
|
+
def source_api_key=: (String) -> String
|
|
178
|
+
|
|
179
|
+
attr_reader source_region: String?
|
|
180
|
+
|
|
181
|
+
def source_region=: (String) -> String
|
|
182
|
+
|
|
173
183
|
def initialize: (
|
|
174
|
-
|
|
175
|
-
|
|
184
|
+
source_namespace: String,
|
|
185
|
+
?source_api_key: String,
|
|
186
|
+
?source_region: String
|
|
176
187
|
) -> void
|
|
177
188
|
|
|
178
|
-
def to_hash: -> {
|
|
189
|
+
def to_hash: -> {
|
|
190
|
+
source_namespace: String,
|
|
191
|
+
source_api_key: String,
|
|
192
|
+
source_region: String
|
|
193
|
+
}
|
|
179
194
|
end
|
|
180
195
|
|
|
181
196
|
def self?.variants: -> ::Array[Turbopuffer::Models::NamespaceWriteParams::copy_from_namespace]
|