- Unified google vein with OAuth + Sheets API - Prefixed vein module loading (vein_google) to avoid pip package shadowing - Preload pip packages before vein loading - Added common/auth framework - Rebranded sbwrapper from Pawprint to Soleprint - Removed cfg/ from history (now separate repo) - Keep cfg/standalone/ as sample configuration - gitignore cfg/amar/ and cfg/dlt/ (private configs)
28 lines
635 B
Python
28 lines
635 B
Python
"""
|
|
Jira credentials loaded from .env file.
|
|
"""
|
|
|
|
from pathlib import Path
|
|
|
|
from pydantic_settings import BaseSettings
|
|
|
|
ENV_FILE = Path(__file__).parent.parent / ".env"
|
|
|
|
|
|
class JiraConfig(BaseSettings):
|
|
jira_url: str = "" # Required for use, optional for loading
|
|
jira_email: str | None = None # Optional: can be provided per-request via headers
|
|
jira_api_token: str | None = (
|
|
None # Optional: can be provided per-request via headers
|
|
)
|
|
api_port: int = 8001
|
|
|
|
model_config = {
|
|
"env_file": ENV_FILE,
|
|
"env_file_encoding": "utf-8",
|
|
"extra": "ignore",
|
|
}
|
|
|
|
|
|
settings = JiraConfig()
|