fix: make graphistry parameters optional
This commit is contained in:
parent
29ba4809fe
commit
776372d3f9
1 changed files with 3 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
from typing import Optional
|
||||
from functools import lru_cache
|
||||
from pydantic_settings import BaseSettings, SettingsConfigDict
|
||||
from cognee.root_dir import get_absolute_path
|
||||
|
|
@ -6,8 +7,8 @@ from cognee.shared.data_models import MonitoringTool
|
|||
class BaseConfig(BaseSettings):
|
||||
data_root_directory: str = get_absolute_path(".data")
|
||||
monitoring_tool: object = MonitoringTool.LANGFUSE
|
||||
graphistry_username: str = None
|
||||
graphistry_password: str = None
|
||||
graphistry_username: Optional[str] = None
|
||||
graphistry_password: Optional[str] = None
|
||||
|
||||
model_config = SettingsConfigDict(env_file = ".env", extra = "allow")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue