feat: allow extensions to add url views (#1025)

* feat: allow extensions to add url views

* refactor: fix linter errors
This commit is contained in:
Juro Oravec 2025-03-17 08:36:47 +01:00 committed by GitHub
parent d3d2d0ab08
commit 12a64f8e41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 443 additions and 76 deletions

View file

@ -111,7 +111,7 @@ CssDataType = TypeVar("CssDataType", bound=Mapping[str, Any])
# NOTE: `ReferenceType` is NOT a generic pre-3.9
if sys.version_info >= (3, 9):
AllComponents = List[ReferenceType["ComponentRegistry"]]
AllComponents = List[ReferenceType["Component"]]
else:
AllComponents = List[ReferenceType]