nucliadb-utils 4.0.3.post578__py3-none-any.whl → 4.0.3.post581__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.
@@ -29,13 +29,12 @@ from typing import Any, Awaitable, Callable, Coroutine, Dict, TypeVar
29
29
 
30
30
  import pytest
31
31
  from pytest_benchmark.session import BenchmarkSession # type: ignore
32
+ from pytest_benchmark.stats import Metadata # type: ignore
32
33
  from pytest_benchmark.timers import compute_timer_precision # type: ignore
33
34
  from pytest_benchmark.utils import NameWrapper, format_time # type: ignore
34
35
 
35
36
  T = TypeVar("T")
36
37
 
37
- from pytest_benchmark.stats import Metadata # type: ignore
38
-
39
38
 
40
39
  class FixtureAlreadyUsed(Exception): ... # noqa
41
40
 
@@ -160,7 +160,7 @@ class Gnatsd(object):
160
160
  if self.proc.returncode is not None:
161
161
  if self.debug:
162
162
  print(
163
- "[\033[0;31mDEBUG\033[0;0m] Server listening on port {port} finished running already with exit {ret}".format(
163
+ "[\033[0;31mDEBUG\033[0;0m] Server listening on port {port} finished running already with exit {ret}".format( # noqa: E501
164
164
  port=self.port, ret=self.proc.returncode
165
165
  )
166
166
  )
@@ -195,7 +195,7 @@ def start_gnatsd(gnatsd: Gnatsd): # pragma: no cover
195
195
  response = httpclient.getresponse()
196
196
  if response.status == 200:
197
197
  break
198
- except:
198
+ except Exception:
199
199
  retries += 1
200
200
  time.sleep(0.1)
201
201
 
@@ -250,7 +250,7 @@ class NatsImage(BaseImage): # pragma: no cover
250
250
  try:
251
251
  s.connect((self.host, int(self.get_port())))
252
252
  return True
253
- except:
253
+ except Exception:
254
254
  return False
255
255
 
256
256
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nucliadb_utils
3
- Version: 4.0.3.post578
3
+ Version: 4.0.3.post581
4
4
  Home-page: https://nuclia.com
5
5
  License: BSD
6
6
  Classifier: Development Status :: 4 - Beta
@@ -23,8 +23,8 @@ Requires-Dist: PyNaCl
23
23
  Requires-Dist: pyjwt >=2.4.0
24
24
  Requires-Dist: memorylru >=1.1.2
25
25
  Requires-Dist: mrflagly
26
- Requires-Dist: nucliadb-protos >=4.0.3.post578
27
- Requires-Dist: nucliadb-telemetry >=4.0.3.post578
26
+ Requires-Dist: nucliadb-protos >=4.0.3.post581
27
+ Requires-Dist: nucliadb-telemetry >=4.0.3.post581
28
28
  Provides-Extra: cache
29
29
  Requires-Dist: redis >=4.3.4 ; extra == 'cache'
30
30
  Requires-Dist: orjson >=3.6.7 ; extra == 'cache'
@@ -47,15 +47,15 @@ nucliadb_utils/storages/s3.py,sha256=RRbcYr4FE-Vfisr-zPoUN0Q_LfEHF-L2B0ggFuVsOwU
47
47
  nucliadb_utils/storages/settings.py,sha256=ugCPy1zxBOmA2KosT-4tsjpvP002kg5iQyi42yCGCJA,1285
48
48
  nucliadb_utils/storages/storage.py,sha256=KJ5VDYoZuRmiCFwfLj__tDOHIJWyQAMi-sOXCMoJv9w,20831
49
49
  nucliadb_utils/tests/__init__.py,sha256=Oo9CAE7B0eW5VHn8sHd6o30SQzOWUhktLPRXdlDOleA,1456
50
- nucliadb_utils/tests/asyncbenchmark.py,sha256=rN_NNDk4ras0qgFp0QlRyAi9ZU9xITdzxl2s5CigzBo,10698
50
+ nucliadb_utils/tests/asyncbenchmark.py,sha256=6VP_G0BGNpmFGa4pwmsnGxYhj-h_fABBbX_RVZTEfJo,10697
51
51
  nucliadb_utils/tests/fixtures.py,sha256=j58fTvoWZClC52LX7QOvLXX9DS5QbytSnRp0F4nGzN8,1671
52
52
  nucliadb_utils/tests/gcs.py,sha256=1dbt_zG3uZPZDF3Nyrgrvi_bsKmafAUOm4Pu4bzt7wI,3098
53
53
  nucliadb_utils/tests/indexing.py,sha256=YW2QhkhO9Q_8A4kKWJaWSvXvyQ_AiAwY1VylcfVQFxk,1513
54
54
  nucliadb_utils/tests/local.py,sha256=c3gZJJWmvOftruJkIQIwB3q_hh3uxEhqGIAVWim1Bbk,1343
55
- nucliadb_utils/tests/nats.py,sha256=lgRe6YH9LSoI7XgcyKAC2VTSAtuu8EeMve0jWWC_kOY,7701
55
+ nucliadb_utils/tests/nats.py,sha256=0Ow8jRUHIcOJfh-h1lWxA4h52OFgGVoWqRClR4Y1YHo,7735
56
56
  nucliadb_utils/tests/s3.py,sha256=YB8QqDaBXxyhHonEHmeBbRRDmvB7sTOaKBSi8KBGokg,2330
57
- nucliadb_utils-4.0.3.post578.dist-info/METADATA,sha256=PuUJOE2CQbi1419xilmcO84h1hzAxqrWXUOBtbfREe0,2030
58
- nucliadb_utils-4.0.3.post578.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
59
- nucliadb_utils-4.0.3.post578.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
60
- nucliadb_utils-4.0.3.post578.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
61
- nucliadb_utils-4.0.3.post578.dist-info/RECORD,,
57
+ nucliadb_utils-4.0.3.post581.dist-info/METADATA,sha256=RM3Tvq4y1k19n6YpfHTTZo7vprniIKQnXUnjCEKlVSE,2030
58
+ nucliadb_utils-4.0.3.post581.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
59
+ nucliadb_utils-4.0.3.post581.dist-info/top_level.txt,sha256=fE3vJtALTfgh7bcAWcNhcfXkNPp_eVVpbKK-2IYua3E,15
60
+ nucliadb_utils-4.0.3.post581.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
61
+ nucliadb_utils-4.0.3.post581.dist-info/RECORD,,