Skip to content
Prev Previous commit
Next Next commit
[autofix.ci] apply automated fixes
  • Loading branch information
autofix-ci[bot] authored and HimavarshaVS committed Oct 6, 2025
commit c334fe43dee3210677dbfcbd1dde6d1846901ec8
1 change: 1 addition & 0 deletions src/lfx/src/lfx/services/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from lfx.services.settings.constants import VARIABLES_TO_GET_FROM_ENVIRONMENT
from lfx.utils.util_strings import is_valid_database_url


def is_list_of_any(field: FieldInfo) -> bool:
"""Check if the given field is a list or an optional list of any type.

Expand Down
4 changes: 3 additions & 1 deletion src/lfx/src/lfx/services/settings/service.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from __future__ import annotations

from lfx.log.logger import logger
import os
from pathlib import Path

from dotenv import load_dotenv

from lfx.log.logger import logger
from lfx.services.base import Service
from lfx.services.settings.auth import AuthSettings
from lfx.services.settings.base import Settings
Expand All @@ -17,6 +18,7 @@
load_dotenv(env_file, override=False)
os.environ["_LANGFLOW_DOTENV_LOADED"] = "1"


class SettingsService(Service):
name = "settings_service"

Expand Down