feat( FastAPI(default_response_class=ORJSONResponse)):

This commit is contained in:
Alexander Myasoedov
2025-02-21 18:57:03 +02:00
parent 5bb5fafa89
commit 5c37e33069
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import os
from asyncio import Event, Queue
from fastapi import FastAPI
from fastapi.responses import ORJSONResponse
tools_inbox: Queue = Queue()
stop_event: Event = Event()
@@ -11,7 +12,7 @@ _secrets = {}
def create_app() -> FastAPI:
"""Create and configure the FastAPI application."""
app = FastAPI()
app = FastAPI(default_response_class=ORJSONResponse)
return app
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB