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

@@ -134,7 +134,7 @@ class Storage(abc.ABC, metaclass=abc.ABCMeta):
134
134
  cached_buckets: List[str] = []
135
135
  chunk_size = CHUNK_SIZE
136
136
 
137
- async def delete_resource(self, kbid: str, uuid: str, max_parallel: int = 1):
137
+ async def delete_resource(self, kbid: str, uuid: str):
138
138
  """
139
139
  Delete all storage keys related to a resource
140
140
 
@@ -145,7 +145,7 @@ class Storage(abc.ABC, metaclass=abc.ABCMeta):
145
145
  """
146
146
  bucket = self.get_bucket_name(kbid)
147
147
  resource_storage_base_path = STORAGE_RESOURCE.format(kbid=kbid, uuid=uuid)
148
- semaphore = asyncio.Semaphore(max_parallel)
148
+ semaphore = asyncio.Semaphore(20)
149
149
 
150
150
  async def _delete_object(object_info: ObjectInfo):
151
151
  async with semaphore:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nucliadb_utils
3
- Version: 6.2.1.post2682
3
+ Version: 6.2.1.post2701
4
4
  Home-page: https://nuclia.com
5
5
  License: BSD
6
6
  Classifier: Development Status :: 4 - Beta
@@ -24,8 +24,8 @@ Requires-Dist: PyNaCl
24
24
  Requires-Dist: pyjwt>=2.4.0
25
25
  Requires-Dist: memorylru>=1.1.2
26
26
  Requires-Dist: mrflagly>=0.2.9
27
- Requires-Dist: nucliadb-protos>=6.2.1.post2682
28
- Requires-Dist: nucliadb-telemetry>=6.2.1.post2682
27
+ Requires-Dist: nucliadb-protos>=6.2.1.post2701
28
+ Requires-Dist: nucliadb-telemetry>=6.2.1.post2701
29
29
  Provides-Extra: cache
30
30
  Requires-Dist: redis>=4.3.4; extra == "cache"
31
31
  Requires-Dist: orjson>=3.6.7; extra == "cache"
@@ -48,7 +48,7 @@ nucliadb_utils/storages/nuclia.py,sha256=vEv94xAT7QM2g80S25QyrOw2pzvP2BAX-ADgZLt
48
48
  nucliadb_utils/storages/object_store.py,sha256=HtKjIKhErSBvuqx1SuCOnL0SkiHqgfyekNMP8o2piZU,4492
49
49
  nucliadb_utils/storages/s3.py,sha256=zV0NBA74JE39caxKd2H33NhMsAtNKo_65tEqJIR-I88,20743
50
50
  nucliadb_utils/storages/settings.py,sha256=ugCPy1zxBOmA2KosT-4tsjpvP002kg5iQyi42yCGCJA,1285
51
- nucliadb_utils/storages/storage.py,sha256=eAwr8acamaC2iru3tJaGnkcS35WfioTrnWxcfgKDQSk,21058
51
+ nucliadb_utils/storages/storage.py,sha256=0v2o34sE-YOLQtJh7NItEQFFHXSu0FQ4Rs7I8228kF0,21025
52
52
  nucliadb_utils/storages/utils.py,sha256=8g2rIwJeYIumQLOB47Yw1rx3twlhRB_cJxer65QfZmk,1479
53
53
  nucliadb_utils/tests/__init__.py,sha256=Oo9CAE7B0eW5VHn8sHd6o30SQzOWUhktLPRXdlDOleA,1456
54
54
  nucliadb_utils/tests/asyncbenchmark.py,sha256=vrX_x9ifCXi18PfNShc23w9x_VUiB_Ph-2nuolh9z3Q,10707
@@ -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=xqpww4jZjTKY9oPGlJdDJG67L3FIBQsa9qDHxILR8r8,7687
61
61
  nucliadb_utils/tests/s3.py,sha256=pl-RJFjA4MH6iXkqhsh5g8gDuEhrYu1nPZ-laxlrMlE,3704
62
- nucliadb_utils-6.2.1.post2682.dist-info/METADATA,sha256=RO8ANKbgNZCJdCBk_d_AA6_-LEHIDBav2veKjPhANfM,2055
63
- nucliadb_utils-6.2.1.post2682.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
64
- nucliadb_utils-6.2.1.post2682.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
65
- nucliadb_utils-6.2.1.post2682.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
66
- nucliadb_utils-6.2.1.post2682.dist-info/RECORD,,
62
+ nucliadb_utils-6.2.1.post2701.dist-info/METADATA,sha256=Ni2C4NzRMGqr0HDOmTBGYx039VTnU7pNkP-g7jrJ1Dk,2055
63
+ nucliadb_utils-6.2.1.post2701.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
64
+ nucliadb_utils-6.2.1.post2701.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
65
+ nucliadb_utils-6.2.1.post2701.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
66
+ nucliadb_utils-6.2.1.post2701.dist-info/RECORD,,