This commit is contained in:
Gal Shubeli 2025-08-14 15:40:14 +03:00
parent 459e708131
commit 43c4692f49
5 changed files with 5 additions and 10 deletions

View file

@ -16,8 +16,8 @@ limitations under the License.
import functools import functools
import inspect import inspect
from collections.abc import Awaitable, Callable
from typing import Any, Awaitable, Callable, TypeVar from typing import Any, TypeVar
from graphiti_core.driver.driver import GraphProvider from graphiti_core.driver.driver import GraphProvider
from graphiti_core.helpers import semaphore_gather from graphiti_core.helpers import semaphore_gather
@ -96,7 +96,7 @@ def get_parameter_position(func: Callable, param_name: str) -> int | None:
If the parameter is not found, returns None. If the parameter is not found, returns None.
""" """
sig = inspect.signature(func) sig = inspect.signature(func)
for idx, (name, param) in enumerate(sig.parameters.items()): for idx, (name, _param) in enumerate(sig.parameters.items()):
if name == param_name: if name == param_name:
return idx return idx
return None return None

View file

@ -14,7 +14,6 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
""" """
import copy
import logging import logging
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from collections.abc import Coroutine from collections.abc import Coroutine

View file

@ -18,8 +18,6 @@ import logging
from datetime import datetime from datetime import datetime
from typing import TYPE_CHECKING, Any from typing import TYPE_CHECKING, Any
from typing_extensions import LiteralString
if TYPE_CHECKING: if TYPE_CHECKING:
from falkordb import Graph as FalkorGraph from falkordb import Graph as FalkorGraph
from falkordb.asyncio import FalkorDB from falkordb.asyncio import FalkorDB
@ -36,7 +34,6 @@ else:
from graphiti_core.driver.driver import GraphDriver, GraphDriverSession, GraphProvider from graphiti_core.driver.driver import GraphDriver, GraphDriverSession, GraphProvider
from graphiti_core.graph_queries import get_fulltext_indices, get_range_indices from graphiti_core.graph_queries import get_fulltext_indices, get_range_indices
from graphiti_core.helpers import semaphore_gather
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)

View file

@ -28,7 +28,6 @@ from numpy._typing import NDArray
from pydantic import BaseModel from pydantic import BaseModel
from typing_extensions import LiteralString from typing_extensions import LiteralString
from graphiti_core.driver.driver import GraphProvider
from graphiti_core.errors import GroupIdValidationError from graphiti_core.errors import GroupIdValidationError
load_dotenv() load_dotenv()

4
uv.lock generated
View file

@ -1,5 +1,5 @@
version = 1 version = 1
revision = 2 revision = 3
requires-python = ">=3.10, <4" requires-python = ">=3.10, <4"
resolution-markers = [ resolution-markers = [
"python_full_version >= '3.14'", "python_full_version >= '3.14'",
@ -746,7 +746,7 @@ wheels = [
[[package]] [[package]]
name = "graphiti-core" name = "graphiti-core"
version = "0.18.4" version = "0.18.5"
source = { editable = "." } source = { editable = "." }
dependencies = [ dependencies = [
{ name = "diskcache" }, { name = "diskcache" },