[halfapi] remove on_startup argument according to starlette 0.26
This commit is contained in:
parent
b412d249a1
commit
b683e80959
|
@ -110,8 +110,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