[arch] feature -> ignoring binary package when checking with rebuild-detector

This commit is contained in:
Vinicius Moreira
2021-01-18 11:20:48 -03:00
parent 465c90a7b6
commit 926ee65105
13 changed files with 53 additions and 5 deletions

View File

@@ -218,6 +218,14 @@ class FormComponent(ViewComponent):
raise Exception("'{}' is not a {}".format(id_, SingleSelectComponent.__class__.__name__))
return comp
def get_form_component(self, id_: str) -> Optional["FormComponent"]:
comp = self.get_component(id_)
if comp:
if not isinstance(comp, FormComponent):
raise Exception("'{}' is not a {}".format(id_, FormComponent.__class__.__name__))
return comp
class FileChooserComponent(ViewComponent):