new regex missed f-strings
This commit is contained in:
parent
16b838dfb1
commit
3c30ceb7f7
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user