feat: Add dynamic component (#627)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Juro Oravec 2024-08-29 11:28:00 +02:00 committed by GitHub
parent 8c5b088c31
commit e76227b8df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 503 additions and 34 deletions

View file

@ -99,7 +99,11 @@ class AppSettings:
return self.settings.get("autodiscover", True)
@property
def LIBRARIES(self) -> List:
def DYNAMIC_COMPONENT_NAME(self) -> str:
return self.settings.get("dynamic_component_name", "dynamic")
@property
def LIBRARIES(self) -> List[str]:
return self.settings.get("libraries", [])
@property