bec-ipython-client 3.65.0__tar.gz → 3.66.0__tar.gz
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.
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/PKG-INFO +1 -1
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/main.py +6 -1
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/pyproject.toml +1 -1
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_bec_client.py +1 -1
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/.gitignore +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/beamline_mixin.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/bec_magics.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/bec_startup.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/device_progress.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/ipython_live_updates.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/live_table.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/move_device.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/utils.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/high_level_interfaces/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/high_level_interfaces/bec_hli.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/high_level_interfaces/spec_hli.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/SLS/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/SLS/sls_info.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/XTreme/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/XTreme/x-treme.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/__init__.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/flomni/flomni_config.yaml +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/prettytable.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/progressbar.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/signals.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/demo.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_beamline_mixins.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_device_progress.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_ipython_live_updates.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_live_table.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_move_callback.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_pretty_table.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/conftest.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/_ensure_requirements_container.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/test_procedures_e2e.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/test_scans_e2e.py +0 -0
- {bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/test_scans_lib_e2e.py +0 -0
|
@@ -220,9 +220,14 @@ class BECClientPrompt(Prompts):
|
|
|
220
220
|
next_scan_number = str(self.client.queue.next_scan_number)
|
|
221
221
|
except Exception:
|
|
222
222
|
next_scan_number = "?"
|
|
223
|
+
|
|
224
|
+
if self.client.active_account:
|
|
225
|
+
username = f"{self.client.active_account} | {self.username}"
|
|
226
|
+
else:
|
|
227
|
+
username = self.username
|
|
223
228
|
return [
|
|
224
229
|
(status_led, "\u2022"),
|
|
225
|
-
(Token.Prompt, " " +
|
|
230
|
+
(Token.Prompt, " " + username), # BEC ACL username and pgroup
|
|
226
231
|
(Token.Prompt, "@" + self.session_name),
|
|
227
232
|
(Token.Prompt, " ["),
|
|
228
233
|
(Token.PromptNum, str(self.shell.execution_count)),
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_bec_client.py
RENAMED
|
@@ -204,7 +204,7 @@ def test_bec_ipython_client_property_access(ipython_client):
|
|
|
204
204
|
client.start()
|
|
205
205
|
|
|
206
206
|
with mock.patch.object(client._client, "connector") as mock_connector:
|
|
207
|
-
mock_connector.
|
|
207
|
+
mock_connector.get_last.return_value = messages.VariableMessage(value="account")
|
|
208
208
|
assert client._client.active_account == "account"
|
|
209
209
|
|
|
210
210
|
with pytest.raises(AttributeError):
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/beamline_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/live_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/move_device.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/callbacks/utils.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/SLS/__init__.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/SLS/sls_info.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/XTreme/x-treme.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/bec_ipython_client/plugins/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_beamline_mixins.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_device_progress.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_live_table.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_move_callback.py
RENAMED
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/client_tests/test_pretty_table.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/test_procedures_e2e.py
RENAMED
|
File without changes
|
|
File without changes
|
{bec_ipython_client-3.65.0 → bec_ipython_client-3.66.0}/tests/end-2-end/test_scans_lib_e2e.py
RENAMED
|
File without changes
|