Version: 0.0.8 (stable)
agrag.graphdb.settings.FalkorDBSettings
Bases: BaseSettings
FalkorDB connection configuration.
Attributes:
- url (
str) – The Redis connection URL, including scheme (rediss://for TLS). Env:FALKORDB_URL. - password (
SecretStr | None) – The Redis password, or None for a server without one. Env:FALKORDB_PASSWORD. - graph (
str) – The name of the graph (the Redis key) that holds all data. Env:FALKORDB_GRAPH. - max_connections (
int) – The size of the connection pool. Env:FALKORDB_MAX_CONNECTIONS.
Raises:
ValueError–urlis plaintext (redis://) and points at a non-local host whilepasswordis set. Userediss://for a remote instance.
graph
graph: str = 'agrag'
max_connections
max_connections: int = 16
model_config
model_config = SettingsConfigDict(env_prefix='FALKORDB_', env_file='.env', extra='ignore', hide_input_in_errors=True)
password
password: SecretStr | None = None
url
url: str = 'redis://localhost:6379'