nucliadb 6.3.3.post3611__py3-none-any.whl → 6.3.3.post3613__py3-none-any.whl

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.
@@ -174,7 +174,12 @@ async def backup_resource_with_binaries(
174
174
  if not await exists_cf(context, cloud_file):
175
175
  logger.warning(
176
176
  "Cloud file not found in storage, skipping",
177
- extra={"kbid": kbid, "rid": rid, "cf_uri": cloud_file.uri},
177
+ extra={
178
+ "kbid": kbid,
179
+ "rid": rid,
180
+ "cf_uri": cloud_file.uri,
181
+ "cf_bucket": cloud_file.bucket_name,
182
+ },
178
183
  )
179
184
  continue
180
185
 
@@ -260,7 +265,8 @@ async def delete_metadata(context: ApplicationContext, kbid: str, backup_id: str
260
265
 
261
266
 
262
267
  async def exists_cf(context: ApplicationContext, cf: resources_pb2.CloudFile) -> bool:
263
- return await context.blob_storage.exists_object(bucket=cf.bucket_name, key=cf.uri)
268
+ bucket_name = context.blob_storage.get_bucket_name_from_cf(cf)
269
+ return await context.blob_storage.exists_object(bucket=bucket_name, key=cf.uri)
264
270
 
265
271
 
266
272
  async def upload_to_bucket(context: ApplicationContext, bytes_iterator: AsyncIterator[bytes], key: str):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nucliadb
3
- Version: 6.3.3.post3611
3
+ Version: 6.3.3.post3613
4
4
  Summary: NucliaDB
5
5
  Author-email: Nuclia <nucliadb@nuclia.com>
6
6
  License: AGPL
@@ -20,11 +20,11 @@ Classifier: Programming Language :: Python :: 3.12
20
20
  Classifier: Programming Language :: Python :: 3 :: Only
21
21
  Requires-Python: <4,>=3.9
22
22
  Description-Content-Type: text/markdown
23
- Requires-Dist: nucliadb-telemetry[all]>=6.3.3.post3611
24
- Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.3.post3611
25
- Requires-Dist: nucliadb-protos>=6.3.3.post3611
26
- Requires-Dist: nucliadb-models>=6.3.3.post3611
27
- Requires-Dist: nidx-protos>=6.3.3.post3611
23
+ Requires-Dist: nucliadb-telemetry[all]>=6.3.3.post3613
24
+ Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.3.3.post3613
25
+ Requires-Dist: nucliadb-protos>=6.3.3.post3613
26
+ Requires-Dist: nucliadb-models>=6.3.3.post3613
27
+ Requires-Dist: nidx-protos>=6.3.3.post3613
28
28
  Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
29
29
  Requires-Dist: nuclia-models>=0.24.2
30
30
  Requires-Dist: uvicorn
@@ -41,7 +41,7 @@ nucliadb/openapi.py,sha256=wDiw0dVEvTpJvbatkJ0JZLkKm9RItZT5PWRHjqRfqTA,2272
41
41
  nucliadb/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
42
  nucliadb/backups/__init__.py,sha256=cp15ZcFnHvpcu_5-aK2A4uUyvuZVV_MJn4bIXMa20ks,835
43
43
  nucliadb/backups/const.py,sha256=9vPAhLxQO_gNAjSdPxWuv3V66s9WcdpjOQ89CZlfmuk,1894
44
- nucliadb/backups/create.py,sha256=x5Ezd1p8qqlcn-srbE_iFxTwEEjycKWhTezUIkXL-oo,11230
44
+ nucliadb/backups/create.py,sha256=TJtYewhD0jkYV_h3rNUhKzhqB2QHAhLWYOgRVlGysGs,11450
45
45
  nucliadb/backups/delete.py,sha256=1rnBhVUGYYZJXSZUrrgYMDZ5NyswEWkIA-G-crRCyHk,2404
46
46
  nucliadb/backups/models.py,sha256=-hITU4Mv6AxePu12toBu_fjpEv6vVGcwNVxV22O9jQA,1273
47
47
  nucliadb/backups/restore.py,sha256=YD3Bbo9ry4YLMM6imB-DXbOAMXfGxVzJtTAAUFDvB0I,10153
@@ -351,8 +351,8 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
351
351
  nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
352
352
  nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
353
353
  nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
354
- nucliadb-6.3.3.post3611.dist-info/METADATA,sha256=k4CK1ALRNK5NsSVw0Lo-VG8RNfvYELnUJbd2pxziQzE,4291
355
- nucliadb-6.3.3.post3611.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
356
- nucliadb-6.3.3.post3611.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
357
- nucliadb-6.3.3.post3611.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
358
- nucliadb-6.3.3.post3611.dist-info/RECORD,,
354
+ nucliadb-6.3.3.post3613.dist-info/METADATA,sha256=NjyQDQSB_zbOUyfe9Zcekfh2SMCNZHggFv3GkrVI6gE,4291
355
+ nucliadb-6.3.3.post3613.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
356
+ nucliadb-6.3.3.post3613.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
357
+ nucliadb-6.3.3.post3613.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
358
+ nucliadb-6.3.3.post3613.dist-info/RECORD,,