mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-05-03 05:14:25 +02:00
feat: add loader/helper for widget plugins
This commit is contained in:
@@ -63,6 +63,9 @@ class BECClassContainer:
|
||||
def __repr__(self):
|
||||
return str(list(cl.name for cl in self.collection))
|
||||
|
||||
def __iter__(self):
|
||||
return self._collection.__iter__()
|
||||
|
||||
def add_class(self, class_info: BECClassInfo):
|
||||
"""
|
||||
Add a class to the collection.
|
||||
|
||||
Reference in New Issue
Block a user