From c3d912fdabca3bc41a1c322138fd86111e9c222a Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Sat, 22 Jun 2024 17:24:46 -0300 Subject: [PATCH] chore: Update import statement in types.py The import statement in types.py has been updated to use the `typing` module instead of the deprecated `TYPE_CHECKING` constant. This change improves code maintainability and ensures compatibility with the latest Python standards. --- src/backend/base/langflow/interface/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/base/langflow/interface/types.py b/src/backend/base/langflow/interface/types.py index 9e54ea043..4680e1d35 100644 --- a/src/backend/base/langflow/interface/types.py +++ b/src/backend/base/langflow/interface/types.py @@ -1,7 +1,7 @@ import asyncio import json -from git import TYPE_CHECKING +from typing import TYPE_CHECKING from loguru import logger from langflow.custom.utils import abuild_custom_components, build_custom_components