mirror of
https://github.com/bec-project/bec_widgets.git
synced 2026-07-16 08:21:10 +02:00
feat: move to lazy widget import
This commit is contained in:
committed by
Jan Wyzula
co-authored by
Jan Wyzula
parent
bb1544ecb7
commit
5cc82425f0
@@ -63,6 +63,10 @@ class DesignerPluginGenerator:
|
||||
def filenames(self):
|
||||
return plugin_filenames(self.info.plugin_name_snake)
|
||||
|
||||
@property
|
||||
def excluded(self):
|
||||
return self._excluded
|
||||
|
||||
def run(self, validate=True):
|
||||
if self._excluded:
|
||||
print(f"Plugin {self.widget.__name__} is excluded from generation.")
|
||||
|
||||
Reference in New Issue
Block a user