format
This commit is contained in:
parent
7b0879f88a
commit
a8378a429d
3 changed files with 0 additions and 6 deletions
|
|
@ -212,11 +212,9 @@ async def run_cognify_blocking(
|
|||
tasks,
|
||||
user,
|
||||
datasets,
|
||||
|
||||
graph_db_config=None,
|
||||
vector_db_config=None,
|
||||
incremental_loading: bool = True,
|
||||
|
||||
):
|
||||
total_run_info = {}
|
||||
|
||||
|
|
@ -244,7 +242,6 @@ async def run_cognify_as_background_process(
|
|||
graph_db_config=None,
|
||||
vector_db_config=None,
|
||||
incremental_loading: bool = True,
|
||||
|
||||
):
|
||||
# Convert dataset to list if it's a string
|
||||
if isinstance(datasets, str):
|
||||
|
|
|
|||
|
|
@ -13,11 +13,9 @@ class BaseConfig(BaseSettings):
|
|||
default_user_email: Optional[str] = os.getenv("DEFAULT_USER_EMAIL")
|
||||
default_user_password: Optional[str] = os.getenv("DEFAULT_USER_PASSWORD")
|
||||
|
||||
|
||||
model_config = SettingsConfigDict(env_file=".env", extra="allow")
|
||||
|
||||
|
||||
|
||||
@lru_cache
|
||||
def get_base_config():
|
||||
return BaseConfig()
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@ class GraphConfig(BaseSettings):
|
|||
return values
|
||||
|
||||
|
||||
|
||||
@lru_cache
|
||||
def get_graph_config():
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue