bec-ipython-client 3.69.0__py3-none-any.whl → 3.69.1__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 bec-ipython-client might be problematic. Click here for more details.

PKG-INFO CHANGED
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_ipython_client
3
- Version: 3.69.0
3
+ Version: 3.69.1
4
4
  Summary: BEC IPython client
5
5
  Project-URL: Bug Tracker, https://github.com/bec-project/bec/issues
6
6
  Project-URL: Homepage, https://github.com/bec-project/bec
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bec_ipython_client
3
- Version: 3.69.0
3
+ Version: 3.69.1
4
4
  Summary: BEC IPython client
5
5
  Project-URL: Bug Tracker, https://github.com/bec-project/bec/issues
6
6
  Project-URL: Homepage, https://github.com/bec-project/bec
@@ -1,7 +1,7 @@
1
1
  .gitignore,sha256=UmJ0gTRAPp4EI1A6tb9Pi-k5uxDIb_NWJU9ye6AW-8Y,3306
2
- PKG-INFO,sha256=W-e6b_VpipEwXLJi5f_kFPxmLDmUDDW9f1j_TrFTPms,1052
2
+ PKG-INFO,sha256=eO-TPHlIOFMHp4E69-4skLDTClKHHwVuQZtxdvY100g,1052
3
3
  demo.py,sha256=TE-niyXPUEAP-GaL-QRBPgnaxfXqBmTsBiKUxl3F_VQ,7053
4
- pyproject.toml,sha256=te9AvEaKQNXjalBBblpYxt72tFy-gWfBxBmHSEHorGU,1229
4
+ pyproject.toml,sha256=Q6lR0XOQPPKbosWRGFUFYB0u189mcl1K7boSKc2bSws,1229
5
5
  bec_ipython_client/__init__.py,sha256=ihd_V8I7Qo0MWKMo7bcvPf-ZyUQqkcNf8IAWLJKiFJE,79
6
6
  bec_ipython_client/beamline_mixin.py,sha256=scMWIFbHJajyECzbwEVKyQUGjpqA9C_KiU2M6FuRH_Q,1067
7
7
  bec_ipython_client/bec_magics.py,sha256=Rz2aXkUCeAV_VxdXqLUNHh8T44kSH9ha83OiEtdptzI,2792
@@ -36,8 +36,8 @@ tests/client_tests/test_pretty_table.py,sha256=uQ-KPb3RXoCFE_t1IrpkT6kZAoqW7pFXx
36
36
  tests/end-2-end/_ensure_requirements_container.py,sha256=iAcTHqudgJMh7yS9kmfN1bqfqUgvj6ZG-LyuJVIfgFE,722
37
37
  tests/end-2-end/test_procedures_e2e.py,sha256=3CPzjW3VpsSU8GKVP814SSvLZ0c7bBtPB_VtX725TCY,4737
38
38
  tests/end-2-end/test_scans_e2e.py,sha256=CxlXjQrzDJebaoZObt_oYx41wbnHLuJLSjKlno4u2B4,30981
39
- tests/end-2-end/test_scans_lib_e2e.py,sha256=9_ofsT1soChV9DZ72hoUb9hAIHqZouvjPg11sh5a6lo,19128
40
- bec_ipython_client-3.69.0.dist-info/METADATA,sha256=W-e6b_VpipEwXLJi5f_kFPxmLDmUDDW9f1j_TrFTPms,1052
41
- bec_ipython_client-3.69.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
42
- bec_ipython_client-3.69.0.dist-info/entry_points.txt,sha256=oQUXYY0jjD9ZvKPHwaGn2wkUIWpDZM8L4ixDA3RlBWE,53
43
- bec_ipython_client-3.69.0.dist-info/RECORD,,
39
+ tests/end-2-end/test_scans_lib_e2e.py,sha256=bUxKX7JRRQYtjgyOX1LktpcxOE8aZbQ6Ut_alKQhGYg,19063
40
+ bec_ipython_client-3.69.1.dist-info/METADATA,sha256=eO-TPHlIOFMHp4E69-4skLDTClKHHwVuQZtxdvY100g,1052
41
+ bec_ipython_client-3.69.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
42
+ bec_ipython_client-3.69.1.dist-info/entry_points.txt,sha256=oQUXYY0jjD9ZvKPHwaGn2wkUIWpDZM8L4ixDA3RlBWE,53
43
+ bec_ipython_client-3.69.1.dist-info/RECORD,,
pyproject.toml CHANGED
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "bec_ipython_client"
7
- version = "3.69.0"
7
+ version = "3.69.1"
8
8
  description = "BEC IPython client"
9
9
  requires-python = ">=3.11"
10
10
  classifiers = [
@@ -108,12 +108,10 @@ def test_config_updates(bec_client_lib):
108
108
  assert dev.rt_controller.limits == [-50, 50]
109
109
 
110
110
  dev.rt_controller.velocity.set(10).wait()
111
+ assert dev.rt_controller.velocity.read(cached=True)["rt_controller_velocity"]["value"] == 10
111
112
  assert dev.rt_controller.velocity.read()["rt_controller_velocity"]["value"] == 10
112
- assert dev.rt_controller.velocity.read(cached=False)["rt_controller_velocity"]["value"] == 10
113
113
  assert dev.rt_controller.read_configuration()["rt_controller_velocity"]["value"] == 10
114
- assert (
115
- dev.rt_controller.read_configuration(cached=False)["rt_controller_velocity"]["value"] == 10
116
- )
114
+ assert dev.rt_controller.read_configuration()["rt_controller_velocity"]["value"] == 10
117
115
 
118
116
  dev.rt_controller.velocity.put(5)
119
117
  assert dev.rt_controller.velocity.get() == 5
@@ -454,7 +452,7 @@ def test_computed_signal(bec_client_lib):
454
452
  dev.pseudo_signal1.set_compute_method(compute_signal1)
455
453
  dev.pseudo_signal1.set_input_signals()
456
454
 
457
- assert dev.pseudo_signal1.read(cached=False)["pseudo_signal1"]["value"] == 5
455
+ assert dev.pseudo_signal1.read()["pseudo_signal1"]["value"] == 5
458
456
 
459
457
 
460
458
  def test_cached_device_readout(bec_client_lib):
@@ -476,13 +474,13 @@ def test_cached_device_readout(bec_client_lib):
476
474
 
477
475
  dev.samx.velocity.put(orig_velocity)
478
476
 
479
- data = dev.hexapod.x.readback.read(cached=False)
477
+ data = dev.hexapod.x.readback.read()
480
478
  timestamp = data["hexapod_x"]["timestamp"]
481
479
  data = dev.hexapod.x.readback.read(cached=True)
482
480
  assert data["hexapod_x"]["timestamp"] == timestamp
483
481
 
484
482
  # check that .get also updates the cache
485
- dev.hexapod.x.readback.get(cached=False)
483
+ dev.hexapod.x.readback.get()
486
484
  timestamp_2 = dev.hexapod.x.readback.read(cached=True)["hexapod_x"]["timestamp"]
487
485
  assert timestamp_2 != timestamp
488
486