From b683e8095972cc413c28155b67b3c0d05f923035 Mon Sep 17 00:00:00 2001 From: maxime Date: Tue, 28 May 2024 01:36:49 +0200 Subject: [PATCH] [halfapi] remove on_startup argument according to starlette 0.26 --- halfapi/halfapi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/halfapi/halfapi.py b/halfapi/halfapi.py index b71c7b9..1fb7ebc 100644 --- a/halfapi/halfapi.py +++ b/halfapi/halfapi.py @@ -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 = []