Client script working

This commit is contained in:
2026-01-30 17:03:32 +02:00
parent 9eac7ec993
commit dd5c88e3bb
4 changed files with 64 additions and 33 deletions

View File

@@ -2,10 +2,13 @@ import os
from typing import Optional
import pyodbc
from dotenv import find_dotenv, load_dotenv
from pathlib import Path
from dotenv import load_dotenv
DOTENV_PATH = Path(__file__).resolve().parents[2] / ".env"
# Force reload environment variables from repo .env, ignoring system vars.
load_dotenv(find_dotenv(), override=True)
load_dotenv(DOTENV_PATH, override=True)
def _get_required_env(name: str) -> str: