()
| 802 | |
| 803 | |
| 804 | def _read_env_file() -> Dict[str, str]: |
| 805 | values: Dict[str, str] = {} |
| 806 | if not ENV_PATH.exists(): |
| 807 | return values |
| 808 | for raw_line in ENV_PATH.read_text(encoding="utf-8").splitlines(): |
| 809 | line = raw_line.strip() |
| 810 | if not line or line.startswith("#") or "=" not in line: |
| 811 | continue |
| 812 | key, value = line.split("=", 1) |
| 813 | values[key.strip()] = value.strip().strip('"').strip("'") |
| 814 | return values |
| 815 | |
| 816 | |
| 817 | def _env_edit_payload() -> List[Dict[str, str]]: |
no outgoing calls
no test coverage detected