new regex missed f-strings

This commit is contained in:
Benedikt Bartscher 2024-03-01 23:10:36 +01:00
parent 16b838dfb1
commit 3c30ceb7f7
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -1245,7 +1245,7 @@ class CustomComponent(Component):
"""A custom user-defined component."""
# Use the components library.
library = f"/{Dirs.COMPONENTS_PATH}"
library: str = f"/{Dirs.COMPONENTS_PATH}"
# The function that creates the component.
component_fn: Callable[..., Component] = Component.create

View File

@ -157,7 +157,7 @@ def _on_drop_spec(files: Var):
class UploadFilesProvider(Component):
"""AppWrap component that provides a dict of selected files by ID via useContext."""
library = f"/{Dirs.CONTEXTS_PATH}"
library: str = f"/{Dirs.CONTEXTS_PATH}"
tag: str = "UploadFilesProvider"