Skip to content

workers / wine_inventory / src / pince_shelf / config / settings.py

Path: workers/wine_inventory/src/pince_shelf/config/settings.py
Lane: workers
Executable: no/unknown

Purpose

Component: settings

Lane: workers

Path: workers/wine_inventory/src/pince_shelf/config/settings.py

Role: Config

Purpose: - Defines 4 class(es) and 7 function(s) that implement this module's responsibilities.

Inputs: - Environment variables read via os.getenv/environment access.

Outputs: - No module-scope side effects beyond symbol definitions/import wiring.

Execution: - Imported and executed by upstream modules in its lane.

Failure modes: - Import path or dependency resolution errors at runtime. - Type/shape mismatches passed into exported functions/classes. - Unexpected runtime state propagated from upstream callers.

Entry points

  • No __main__ guard detected

Key symbols

Classes

  • EnvSettings
  • MotionRuntimeSettings
  • PinceConfig
  • ProposalConfig
  • TrackingSettings

Functions

  • _build_common_config(cfg)
  • _clean(s)
  • _env_files()
  • _mkdir(p)
  • _parse_int_pair(text)
  • _pick_api_base()
  • _resolve_path(raw)
  • _resolve_path_base(raw)
  • _resolve_path_darwin(raw)
  • load_pince_config(ini_path)
  • load_pince_config_darwin(ini_path)

Configuration & environment

  • (no env vars detected by regex)

Dependencies (imports)

  • __future__
  • configparser
  • dataclasses
  • os
  • pathlib
  • pince_shelf.utils.paths
  • pydantic_settings
  • typing

Operational notes (fill in)

  • Headless/interactive:
  • Systemd unit (if any):
  • Schedules/triggers:
  • Debug artifacts:
  • Failure modes: