Skip to content

Commit 143e231

Browse files
committed
revert pydantic model change
1 parent a6a4694 commit 143e231

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

graphrag/index/config/cache.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ class PipelineBlobCacheConfig(PipelineCacheConfig[Literal[CacheType.blob]]):
5252
type: Literal[CacheType.blob] = CacheType.blob
5353
"""The type of cache."""
5454

55-
base_dir: str = Field(description="The base directory for the cache.", default="")
55+
base_dir: str | None = Field(
56+
description="The base directory for the cache.", default=None
57+
)
5658
"""The base directory for the cache."""
5759

5860
connection_string: str | None = Field(

0 commit comments

Comments
 (0)