[halfapi] remove on_startup argument according to starlette 0.26

This commit is contained in:
maxime 2024-05-28 01:36:49 +02:00
parent b412d249a1
commit b683e80959
Signed by untrusted user who does not match committer: masq
GPG Key ID: A6BA8DA755BB4490
1 changed files with 1 additions and 2 deletions

View File

@ -110,8 +110,7 @@ class HalfAPI(Starlette):
500: gen_exception_route(HalfAPI.exception), 500: gen_exception_route(HalfAPI.exception),
501: gen_exception_route(NotImplementedResponse), 501: gen_exception_route(NotImplementedResponse),
503: gen_exception_route(ServiceUnavailableResponse) 503: gen_exception_route(ServiceUnavailableResponse)
}, }
on_startup=startup_fcts
) )
schemas = [] schemas = []