diff --git a/src/marqo/tensor_search/api.py b/src/marqo/tensor_search/api.py index 7a7d257be..9b968d778 100644 --- a/src/marqo/tensor_search/api.py +++ b/src/marqo/tensor_search/api.py @@ -191,8 +191,9 @@ def marqo_internal_exception_handler(request, exc: api_exceptions.MarqoError): @app.on_event("shutdown") -def shutdown_event(marqo_config: config.Config = Depends(get_config)): +def shutdown_event(): """Close the Zookeeper client on shutdown.""" + marqo_config = get_config() marqo_config.stop_and_close_zookeeper_client() diff --git a/src/marqo/version.py b/src/marqo/version.py index 5e5c98996..796af8202 100644 --- a/src/marqo/version.py +++ b/src/marqo/version.py @@ -1,4 +1,4 @@ -__version__ = "2.7.1" +__version__ = "2.7.2" def get_version() -> str: