nucliadb-utils 6.2.1.post3025__py3-none-any.whl → 6.2.1.post3032__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.

Potentially problematic release.


This version of nucliadb-utils might be problematic. Click here for more details.

@@ -549,14 +549,13 @@ class GCSStorage(Storage):
549
549
  except Exception:
550
550
  text = await resp.text()
551
551
  data = {"text": text}
552
- if resp.status not in (200, 204, 404):
553
- if resp.status == 404:
554
- logger.error(
555
- f"Attempt to delete not found gcloud: {data}, " f"status: {resp.status}",
556
- exc_info=True,
557
- )
558
- else:
559
- raise GoogleCloudException(f"{resp.status}: {json.dumps(data)}")
552
+ if resp.status == 404:
553
+ logger.warning(
554
+ f"Attempt to delete not found gcloud: {data}, " f"status: {resp.status}",
555
+ exc_info=True,
556
+ )
557
+ elif resp.status not in (200, 204):
558
+ raise GoogleCloudException(f"{resp.status}: {json.dumps(data)}")
560
559
  else:
561
560
  raise AttributeError("No valid uri")
562
561
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: nucliadb_utils
3
- Version: 6.2.1.post3025
3
+ Version: 6.2.1.post3032
4
4
  Home-page: https://nuclia.com
5
5
  License: BSD
6
6
  Classifier: Development Status :: 4 - Beta
@@ -19,13 +19,12 @@ Requires-Dist: httpx>=0.27.0
19
19
  Requires-Dist: prometheus-client>=0.12.0
20
20
  Requires-Dist: types-requests>=2.27.7
21
21
  Requires-Dist: mmh3>=3.0.0
22
- Requires-Dist: nats-py[nkeys]>=2.6.0
22
+ Requires-Dist: nats-py>=2.6.0
23
23
  Requires-Dist: PyNaCl
24
24
  Requires-Dist: pyjwt>=2.4.0
25
- Requires-Dist: memorylru>=1.1.2
26
25
  Requires-Dist: mrflagly>=0.2.9
27
- Requires-Dist: nucliadb-protos>=6.2.1.post3025
28
- Requires-Dist: nucliadb-telemetry>=6.2.1.post3025
26
+ Requires-Dist: nucliadb-protos>=6.2.1.post3032
27
+ Requires-Dist: nucliadb-telemetry>=6.2.1.post3032
29
28
  Provides-Extra: cache
30
29
  Requires-Dist: redis>=4.3.4; extra == "cache"
31
30
  Requires-Dist: orjson>=3.6.7; extra == "cache"
@@ -42,7 +42,7 @@ nucliadb_utils/nuclia_usage/utils/kb_usage_report.py,sha256=F6dhQWhrWzl3qfAdvrqV
42
42
  nucliadb_utils/storages/__init__.py,sha256=5Qc8AUWiJv9_JbGCBpAn88AIJhwDlm0OPQpg2ZdRL4U,872
43
43
  nucliadb_utils/storages/azure.py,sha256=FK4c_v9AUAwagScm_F1uDmJeQQq7P4jZswiD2trwb4A,16394
44
44
  nucliadb_utils/storages/exceptions.py,sha256=_xUDbfr3XkmUc0xXYZu3DpG1C8TtfmEweRwj9mbRvMU,2507
45
- nucliadb_utils/storages/gcs.py,sha256=iWfPDx_-LWmyOFzzqOsvXFYeW0Iig4x14ATPvvLE6Fw,28962
45
+ nucliadb_utils/storages/gcs.py,sha256=R35XQmf_M8Ba_eIuQumjAWSgU_lSouoTp-TTua-VgOM,28911
46
46
  nucliadb_utils/storages/local.py,sha256=JxlWNtu49JJ04dq6o7bBAqbpbeYpVyvvBM5jq1sGJ-4,11003
47
47
  nucliadb_utils/storages/nuclia.py,sha256=vEv94xAT7QM2g80S25QyrOw2pzvP2BAX-ADgZLtuCVc,2097
48
48
  nucliadb_utils/storages/object_store.py,sha256=HtKjIKhErSBvuqx1SuCOnL0SkiHqgfyekNMP8o2piZU,4492
@@ -59,8 +59,8 @@ nucliadb_utils/tests/indexing.py,sha256=YW2QhkhO9Q_8A4kKWJaWSvXvyQ_AiAwY1VylcfVQ
59
59
  nucliadb_utils/tests/local.py,sha256=fXIBasrvdaFJM-sw2wk1_oiFzBcm9O10iCyC-OiXwY8,1914
60
60
  nucliadb_utils/tests/nats.py,sha256=RWHjwqq5esuO7OFbP24yYX1cXnpPLcWJwDUdmwCpH28,1897
61
61
  nucliadb_utils/tests/s3.py,sha256=pl-RJFjA4MH6iXkqhsh5g8gDuEhrYu1nPZ-laxlrMlE,3704
62
- nucliadb_utils-6.2.1.post3025.dist-info/METADATA,sha256=QR6wz-5eFKiPu-_J8F9BcII2ny05Rz2l8WWWtfYBy1Y,2204
63
- nucliadb_utils-6.2.1.post3025.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
64
- nucliadb_utils-6.2.1.post3025.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
65
- nucliadb_utils-6.2.1.post3025.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
66
- nucliadb_utils-6.2.1.post3025.dist-info/RECORD,,
62
+ nucliadb_utils-6.2.1.post3032.dist-info/METADATA,sha256=OillPL-6DSFUNrajYOYbU1yfI2_pMhNfiUxTsUarQsA,2165
63
+ nucliadb_utils-6.2.1.post3032.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
64
+ nucliadb_utils-6.2.1.post3032.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
65
+ nucliadb_utils-6.2.1.post3032.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
66
+ nucliadb_utils-6.2.1.post3032.dist-info/RECORD,,