mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-11-03 09:05:53 +01:00
refactor(client_utils): remove unused WidgetNameSpace
This commit is contained in:
1 parent
f606fa8a71
commit
5a4b328318
1 file changed
-14
@@ -305,20 +305,6 @@ def wait_for_server(client: BECGuiClient):
|
||||
yield
|
||||
|
||||
|
||||
class WidgetNameSpace:
|
||||
def __repr__(self):
|
||||
console = Console()
|
||||
table = Table(title="Available widgets for BEC CLI usage")
|
||||
table.add_column("Widget Name", justify="left", style="magenta")
|
||||
table.add_column("Description", justify="left")
|
||||
for attr, value in self.__dict__.items():
|
||||
docs = value.__doc__
|
||||
docs = docs if docs else "No description available"
|
||||
table.add_row(attr, docs)
|
||||
console.print(table)
|
||||
return ""
|
||||
|
||||
|
||||
class AvailableWidgetsNamespace:
|
||||
"""Namespace for available widgets in the BEC GUI."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user