mirror of
https://github.com/bec-project/bec_widgets.git
synced 2025-07-13 19:21:50 +02:00
wip - fix formatter
This commit is contained in:
@ -16,6 +16,7 @@ if TYPE_CHECKING:
|
|||||||
|
|
||||||
logger = bec_logger.logger
|
logger = bec_logger.logger
|
||||||
|
|
||||||
|
|
||||||
class RPCRegister:
|
class RPCRegister:
|
||||||
"""
|
"""
|
||||||
A singleton class that keeps track of all the RPC objects registered in the system for CLI usage.
|
A singleton class that keeps track of all the RPC objects registered in the system for CLI usage.
|
||||||
@ -109,6 +110,7 @@ class RPCRegister:
|
|||||||
# i.e. curve and image items are excluded
|
# i.e. curve and image items are excluded
|
||||||
widgets = [rpc for rpc in self._rpc_register.values() if isinstance(rpc, cls)]
|
widgets = [rpc for rpc in self._rpc_register.values() if isinstance(rpc, cls)]
|
||||||
return [widget._name for widget in widgets]
|
return [widget._name for widget in widgets]
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def reset_singleton(cls):
|
def reset_singleton(cls):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user