From 6ec51a0d226d78daa10e7da35c3ec37923badd5a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 21 Sep 2023 14:43:47 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=80=20refactor(endpoints.py):=20rename?= =?UTF-8?q?=20process=5Fflow=20function=20to=20process=20for=20better=20na?= =?UTF-8?q?ming=20consistency=20and=20clarity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/api/v1/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/langflow/api/v1/endpoints.py b/src/backend/langflow/api/v1/endpoints.py index d1f898105..df02c828c 100644 --- a/src/backend/langflow/api/v1/endpoints.py +++ b/src/backend/langflow/api/v1/endpoints.py @@ -87,7 +87,7 @@ def get_all( "/process/{flow_id}", response_model=ProcessResponse, ) -async def process_flow( +async def process( session: Annotated[Session, Depends(get_session)], flow_id: str, inputs: Optional[dict] = None,