From 33e5b449863fb2a4a3aa22b66dfbef9220a4b0d0 Mon Sep 17 00:00:00 2001 From: Naseem Ali <34807727+Naseem77@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:05:38 +0300 Subject: [PATCH] Fix import sorting in falkordb_driver.py (follow-up to #910) Sort imports alphabetically and move local imports before TYPE_CHECKING conditional imports to fix ruff lint error I001. --- graphiti_core/driver/falkordb_driver.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphiti_core/driver/falkordb_driver.py b/graphiti_core/driver/falkordb_driver.py index 793f0545..2d6fc3d9 100644 --- a/graphiti_core/driver/falkordb_driver.py +++ b/graphiti_core/driver/falkordb_driver.py @@ -14,11 +14,14 @@ See the License for the specific language governing permissions and limitations under the License. """ -import datetime import asyncio +import datetime import logging from typing import TYPE_CHECKING, Any +from graphiti_core.driver.driver import GraphDriver, GraphDriverSession, GraphProvider +from graphiti_core.utils.datetime_utils import convert_datetimes_to_strings + if TYPE_CHECKING: from falkordb import Graph as FalkorGraph from falkordb.asyncio import FalkorDB @@ -33,9 +36,6 @@ else: 'Install it with: pip install graphiti-core[falkordb]' ) from None -from graphiti_core.driver.driver import GraphDriver, GraphDriverSession, GraphProvider -from graphiti_core.utils.datetime_utils import convert_datetimes_to_strings - logger = logging.getLogger(__name__) STOPWORDS = [