api: rename run_blocking_task into run_task_blocking

This commit is contained in:
Johannes Kirschbauer
2025-07-09 09:43:56 +02:00
parent 7096ed8959
commit 186ce03e6d

View File

@@ -33,7 +33,7 @@ def delete_task(task_id: str) -> None:
@API.register
def run_blocking_task(somearg: str) -> str:
def run_task_blocking(somearg: str) -> str:
"""A long blocking task that simulates a long-running operation."""
time.sleep(1)
ctx = get_async_ctx()