Revert to typing_extensions.TypedDict for Pydantic compatibility
Pydantic requires typing_extensions.TypedDict on Python < 3.12. Docker container uses Python 3.11, so this is necessary. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
6805218e1b
commit
248d85f515
2 changed files with 4 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ dependencies = [
|
||||||
"graphiti-core[falkordb]>=0.23.0",
|
"graphiti-core[falkordb]>=0.23.0",
|
||||||
"pydantic-settings>=2.0.0",
|
"pydantic-settings>=2.0.0",
|
||||||
"pyyaml>=6.0",
|
"pyyaml>=6.0",
|
||||||
|
"typing-extensions>=4.0.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
"""Response type definitions for Graphiti MCP Server."""
|
"""Response type definitions for Graphiti MCP Server."""
|
||||||
|
|
||||||
from typing import Any, TypedDict
|
from typing import Any
|
||||||
|
|
||||||
|
from typing_extensions import TypedDict
|
||||||
|
|
||||||
|
|
||||||
class ErrorResponse(TypedDict):
|
class ErrorResponse(TypedDict):
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue