[halfapi] remove on_startup argument according to starlette 0.26
This commit is contained in:
parent
6f69966cb1
commit
6057d9a2c6
|
@ -99,8 +99,7 @@ class HalfAPI(Starlette):
|
|||
500: gen_exception_route(HalfAPI.exception),
|
||||
501: gen_exception_route(NotImplementedResponse),
|
||||
503: gen_exception_route(ServiceUnavailableResponse)
|
||||
},
|
||||
on_startup=startup_fcts
|
||||
}
|
||||
)
|
||||
|
||||
schemas = []
|
||||
|
|
Loading…
Reference in New Issue