mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-03-10 18:57:50 +01:00
fix(rpc_base): rpc_call wrapper passes full_name for Devices indeed of name
This commit is contained in:
@@ -28,6 +28,10 @@ class EntryValidator:
|
||||
if not available_entries:
|
||||
available_entries = [name]
|
||||
|
||||
# edge case for if name is passed instead of full_name, should not happen
|
||||
if entry in signals_dict:
|
||||
entry = signals_dict[entry].get("obj_name", entry)
|
||||
|
||||
if entry is None or entry == "":
|
||||
entry = next(iter(device._hints), name) if hasattr(device, "_hints") else name
|
||||
if entry not in available_entries:
|
||||
|
||||
Reference in New Issue
Block a user