adopt ruff as the replacement for python black (#332)

This commit is contained in:
Shuchang Zheng
2024-05-16 18:20:11 -07:00
committed by GitHub
parent 7a2be7e355
commit 2466897158
44 changed files with 1081 additions and 321 deletions

View File

@@ -91,7 +91,10 @@ class BackgroundTaskExecutor(AsyncExecutor):
api_key: str | None,
**kwargs: dict,
) -> None:
LOG.info("Executing workflow using background task executor", workflow_run_id=workflow_run_id)
LOG.info(
"Executing workflow using background task executor",
workflow_run_id=workflow_run_id,
)
background_tasks.add_task(
app.WORKFLOW_SERVICE.execute_workflow,
workflow_run_id=workflow_run_id,