kopia lustrzana https://github.com/simonw/datasette
Apply black
rodzic
9c3f0b73de
commit
85c19c4037
|
@ -488,7 +488,10 @@ class Datasette:
|
||||||
if hasattr(asyncio, "all_tasks"):
|
if hasattr(asyncio, "all_tasks"):
|
||||||
tasks = asyncio.all_tasks()
|
tasks = asyncio.all_tasks()
|
||||||
d.update(
|
d.update(
|
||||||
{"num_tasks": len(tasks), "tasks": [_cleaner_task_str(t) for t in tasks]}
|
{
|
||||||
|
"num_tasks": len(tasks),
|
||||||
|
"tasks": [_cleaner_task_str(t) for t in tasks],
|
||||||
|
}
|
||||||
)
|
)
|
||||||
return d
|
return d
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue