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.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-22 17:24:46 -03:00
commit c3d912fdab

View file

@ -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