dve-lumipy-testing 1.0.489__py3-none-any.whl → 1.0.490__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dve-lumipy-testing
3
- Version: 1.0.489
3
+ Version: 1.0.490
4
4
  Summary: Python library for Luminesce
5
5
  Author: FINBOURNE Technology
6
6
  Author-email: engineering@finbourne.com
@@ -12,7 +12,7 @@ lumipy/cli/commands/run.py,sha256=q_mQwPdeRliRG4rCuDcK6GG8M-cwwZpHGGPAaGQRFvg,49
12
12
  lumipy/cli/commands/setup.py,sha256=cdB0SFubk4qV2g2xLI5trNz1JVIfkXmTbFuk6t2TtGw,1761
13
13
  lumipy/cli/commands/test.py,sha256=K0sMcf-IhQHi1aZ6izzdqBCYVvtiqjdicLkMbgP5gJM,4462
14
14
  lumipy/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
- lumipy/helpers/backoff_handler.py,sha256=ET8q6uOK4EWoLHiQSf4B662BUcjCHfVl6-GySTsKTvU,773
15
+ lumipy/helpers/backoff_handler.py,sha256=dXz1ISZpT4XZWe8b_mdeCmSUgYeF-uAqsXu3cVBqP20,772
16
16
  lumipy/lumiflex/__init__.py,sha256=3IwIV_MfU2thRLDBl-BmDV0j-oG2LfNAY07WBh0Wlb8,50
17
17
  lumipy/lumiflex/column.py,sha256=qONYKsaanXQlhAHLNVjBvl3tUDjx5SJANNarc7zJ1YI,30585
18
18
  lumipy/lumiflex/table.py,sha256=wTDVgaYN_5cvtzcoThyPDcOGAm4kb3r5qiqzrrNADVs,6793
@@ -78,7 +78,7 @@ lumipy/provider/common.py,sha256=95210WHs_s2PmFqQBFeIFHm3KeJVbTsy8kOLysvkvD4,696
78
78
  lumipy/provider/context.py,sha256=VwsHZO46HP3G9BN4Eot_jQlbfETGKyNg2vG5wm1zL_4,5401
79
79
  lumipy/provider/factory.py,sha256=QFuSCT_byJwbFmHF669I2iz0vLAF0T9Or1ghIEUZ0ok,9257
80
80
  lumipy/provider/manager.py,sha256=A4bxCO__m5nc9GL8veOLtySbK1giMNDMml_r3B-q8y8,7218
81
- lumipy/provider/max_version.py,sha256=epGae8z1ELH-pPV9B92NLz_cui_BHugM2b3DOQNx_eY,28
81
+ lumipy/provider/max_version.py,sha256=kcIIX1pkeiqfnktgx42D6SF88JfY6ZNQt6cUgg3vzXA,28
82
82
  lumipy/provider/metadata.py,sha256=WGfMv_tLn5W29-zMKipqBpueroe0eF-w9Hj_6QRdZAI,5483
83
83
  lumipy/provider/provider_sets.py,sha256=Z_VyiN2dBP1xuIdRiuGgyzLD7LfO4wxFvodprME2Uls,1478
84
84
  lumipy/provider/implementation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -378,9 +378,9 @@ lumipy/test/unit/provider_tests/test_provider_api.py,sha256=ZovhykIlIRzEG5jj7-ic
378
378
  lumipy/test/unit/provider_tests/test_provider_factory.py,sha256=ICHlEiYS-GvKFoI5JCTsH17InQfUeYL0uNOHZO6V8a0,6395
379
379
  lumipy/test/unit/provider_tests/test_provider_manager.py,sha256=-TT-3ZGpDsFKMz4efWIy7TGAUVtZ2gTDa67DiorIioc,13456
380
380
  lumipy/test/unit/queryjob_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
381
- lumipy/test/unit/queryjob_tests/test_queryjob.py,sha256=1UE4-VuIkAE6vo0vogq3p2iXtTukiAPxOt5Uankx7c4,1542
382
- dve_lumipy_testing-1.0.489.dist-info/METADATA,sha256=q8nUg1KsPym_jaEZpPB2QVkQVzXcoJCjYZB-H1oLefI,14827
383
- dve_lumipy_testing-1.0.489.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
384
- dve_lumipy_testing-1.0.489.dist-info/entry_points.txt,sha256=L7hRlqwmvzHMwaOQzygKLK-gx4k4e1q4Qz5m0DGihW8,46
385
- dve_lumipy_testing-1.0.489.dist-info/top_level.txt,sha256=DVww8LaQM3Xm0WOgo4JE0epePgCM1xGWWWxh7wuv-CY,7
386
- dve_lumipy_testing-1.0.489.dist-info/RECORD,,
381
+ lumipy/test/unit/queryjob_tests/test_queryjob.py,sha256=CVcMaezQ578Qh_5sukr6BqKMHJxs9Pawiik0J1rVObo,1539
382
+ dve_lumipy_testing-1.0.490.dist-info/METADATA,sha256=-GQuWTQJ8-iiH23QPBFoEjcFZXySQslNDf7mSS7KdPc,14827
383
+ dve_lumipy_testing-1.0.490.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
384
+ dve_lumipy_testing-1.0.490.dist-info/entry_points.txt,sha256=L7hRlqwmvzHMwaOQzygKLK-gx4k4e1q4Qz5m0DGihW8,46
385
+ dve_lumipy_testing-1.0.490.dist-info/top_level.txt,sha256=DVww8LaQM3Xm0WOgo4JE0epePgCM1xGWWWxh7wuv-CY,7
386
+ dve_lumipy_testing-1.0.490.dist-info/RECORD,,
@@ -4,7 +4,7 @@ import time
4
4
 
5
5
 
6
6
  class BackoffHandler:
7
- def __init__(self, pause_time: Optional[float] = 0.1, max_pause_time: Optional[float] = 10, beta: Optional[float] = math.exp(1/200)):
7
+ def __init__(self, pause_time: Optional[float] = 0.1, max_pause_time: Optional[float] = 10, beta: Optional[float] = math.exp(1/20)):
8
8
  if pause_time < 0.1 or pause_time > max_pause_time:
9
9
  raise ValueError(f"Pause time must be between 0.1 and {max_pause_time}, both inclusive.")
10
10
  if beta < 1:
@@ -1 +1 @@
1
- max_version_str = '1.18.673'
1
+ max_version_str = '1.18.681'
@@ -23,11 +23,11 @@ class TestQueryJob(unittest.TestCase):
23
23
  def test_default_optional_values(self):
24
24
  backoff_handler_test = BackoffHandler()
25
25
  backoff_handler_test.sleep()
26
- self.assertAlmostEqual(backoff_handler_test.pause_time, 0.1005012520859401, places = 5)
26
+ self.assertAlmostEqual(backoff_handler_test.pause_time, 0.105127109637602, places = 5)
27
27
 
28
28
  def test_call_1000_times_pause_time_equals_max_pause_time(self):
29
29
  backoff_handler_test = BackoffHandler()
30
- # I have checked that this is constant after 922 requests
31
- for i in range(1000):
30
+ # I have checked that this is constant after 94 requests
31
+ for i in range(100):
32
32
  backoff_handler_test._update_pause_time()
33
33
  self.assertEqual(backoff_handler_test.pause_time, 10)