style: format decorators.py with ruff

Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
Devin AI
2026-04-09 03:42:50 +00:00
parent f1b7e57095
commit e22d1852fe

View File

@@ -123,9 +123,13 @@ class PersistenceDecorator:
raise RuntimeError(f"State persistence failed: {e!s}") from e
# Log storage location so users can find their persisted data
storage_location = getattr(persistence_instance, "db_path", type(persistence_instance).__name__)
storage_location = getattr(
persistence_instance, "db_path", type(persistence_instance).__name__
)
if verbose:
msg = LOG_MESSAGES["save_state_location"].format(flow_uuid, storage_location)
msg = LOG_MESSAGES["save_state_location"].format(
flow_uuid, storage_location
)
PRINTER.print(msg, color="cyan")
logger.info(
LOG_MESSAGES["save_state_location"].format(flow_uuid, storage_location)