/www/server/pyporject_evn/versions/3.12.10/lib/python3.12/site-packages/fastapi/applications.py:18: StarletteDeprecationWarning: 'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated. Use 'HTTP_422_UNPROCESSABLE_CONTENT' instead.
  from fastapi.exception_handlers import (
/www/server/pyporject_evn/versions/3.12.10/lib/python3.12/site-packages/fastapi/applications.py:30: StarletteDeprecationWarning: 'HTTP_422_UNPROCESSABLE_ENTITY' is deprecated. Use 'HTTP_422_UNPROCESSABLE_CONTENT' instead.
  from fastapi.openapi.utils import get_openapi
Traceback (most recent call last):
  File "/data/wwwroot/javrs/vision_server.py", line 30, in <module>
    app = FastAPI()
          ^^^^^^^^^
  File "/www/server/pyporject_evn/versions/3.12.10/lib/python3.12/site-packages/fastapi/applications.py", line 896, in __init__
    ] = webhooks or routing.APIRouter()
                    ^^^^^^^^^^^^^^^^^^^
  File "/www/server/pyporject_evn/versions/3.12.10/lib/python3.12/site-packages/fastapi/routing.py", line 835, in __init__
    super().__init__(
TypeError: Router.__init__() got an unexpected keyword argument 'on_startup'
