From 88203b91784f4dae8ff115e7e459419f5bf17c9c Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Mon, 23 Oct 2023 21:29:53 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(store.py):=20change=20method?= =?UTF-8?q?=20name=20from=20`get`=20to=20`download`=20in=20`store=5Fservic?= =?UTF-8?q?e`=20to=20improve=20clarity=20and=20consistency?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/api/v1/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/api/v1/store.py b/src/backend/langflow/api/v1/store.py index 825d019e1..9ecca12c3 100644 --- a/src/backend/langflow/api/v1/store.py +++ b/src/backend/langflow/api/v1/store.py @@ -78,7 +78,7 @@ def read_component( try: decrypted = auth_utils.decrypt_api_key(store_api_Key, settings_service) - component = store_service.get(decrypted, component_id) + component = store_service.download(decrypted, component_id) except Exception as exc: raise HTTPException(status_code=400, detail=str(exc)) from exc