mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-25 11:10:43 +08:00
Ruff check
This commit is contained in:
@ -100,8 +100,7 @@ async def reload_extension_bundle(extension_id: str, bundle_name: str) -> dict:
|
||||
error=ExtensionError(
|
||||
code="reload-bundle-not-installed",
|
||||
message=(
|
||||
f"Bundle {bundle_name!r} is registered to extension "
|
||||
f"{record.extension_id!r}, not {extension_id!r}."
|
||||
f"Bundle {bundle_name!r} is registered to extension {record.extension_id!r}, not {extension_id!r}."
|
||||
),
|
||||
location=f"{extension_id}/{bundle_name}",
|
||||
content=bundle_name,
|
||||
|
||||
@ -161,7 +161,8 @@ const BundleHeaderActionsInner = ({
|
||||
(state) => state.enableExtensionReload,
|
||||
);
|
||||
const visible = useMemo(
|
||||
() => ENABLE_EXTENSION_RELOAD && enableReloadRuntime && Boolean(extensionId),
|
||||
() =>
|
||||
ENABLE_EXTENSION_RELOAD && enableReloadRuntime && Boolean(extensionId),
|
||||
[enableReloadRuntime, extensionId],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user