Merge pull request #42 from lucky-verma/main

Fix Docker container crash by adding missing abstractmethod import
This commit is contained in:
Tianyu Fan
2025-03-01 23:59:14 +08:00
committed by GitHub

View File

@@ -1,3 +1,4 @@
from abc import abstractmethod
from dataclasses import dataclass, field
from enum import Enum
from typing import Any, TypedDict, Optional, Union, Literal, Generic, TypeVar
@@ -106,7 +107,7 @@ class BaseGraphStorage(StorageNameSpace):
@abstractmethod
async def get_types(self) -> tuple[list[str], list[str]]:
raise NotImplementedError
async def has_node(self, node_id: str) -> bool:
raise NotImplementedError