|
@@ -603,7 +603,7 @@ class Component(Base, ABC):
|
|
imports = {}
|
|
imports = {}
|
|
if self.library is not None and self.tag is not None:
|
|
if self.library is not None and self.tag is not None:
|
|
imports[self.library] = {self.import_var}
|
|
imports[self.library] = {self.import_var}
|
|
- return {**imports, **self._get_dependencies_imports()}
|
|
|
|
|
|
+ return {**self._get_dependencies_imports(), **imports}
|
|
|
|
|
|
def get_imports(self) -> imports.ImportDict:
|
|
def get_imports(self) -> imports.ImportDict:
|
|
"""Get all the libraries and fields that are used by the component.
|
|
"""Get all the libraries and fields that are used by the component.
|