()
| 78 | |
| 79 | |
| 80 | def load_refresh_config() -> bool: |
| 81 | env_file = "./.env" |
| 82 | if not os.path.exists(env_file): |
| 83 | return False |
| 84 | with open(env_file, "r") as f: |
| 85 | lines = f.readlines() |
| 86 | for line in lines: |
| 87 | if line.startswith("REFRESH"): |
| 88 | parts = line.split("=")[1:] |
| 89 | return "=".join(parts).strip().strip('"') == "True" |
| 90 | return False |
| 91 | |
| 92 | |
| 93 | def load_result() -> List[dict]: |