Skip to content

Commit 63f6d4d

Browse files
committed
Formatting for worker file
1 parent 6c33437 commit 63f6d4d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/my_uvicorn_worker.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
},
2727
},
2828
"loggers": {
29-
"root": {
30-
"level": "INFO",
31-
"handlers": ["default"]
32-
},
29+
"root": {"level": "INFO", "handlers": ["default"]},
3330
"uvicorn.error": {
3431
"level": "INFO",
3532
"handlers": ["default"],
@@ -43,10 +40,11 @@
4340
},
4441
}
4542

43+
4644
class MyUvicornWorker(UvicornWorker):
4745
CONFIG_KWARGS = {
4846
"loop": "asyncio",
4947
"http": "auto",
5048
"lifespan": "off",
51-
"log_config": logconfig_dict
52-
}
49+
"log_config": logconfig_dict,
50+
}

0 commit comments

Comments
 (0)