()
| 67 | |
| 68 | |
| 69 | def get_auth() -> dict[str, Any]: |
| 70 | try: |
| 71 | _auth = _decrypt_dict(tomllib.load(_auth_fp.open("rb"))) |
| 72 | except Exception: |
| 73 | _auth = {} |
| 74 | |
| 75 | _local_auth = tomllib.load(_local_auth_fp.open("rb")) if _local_auth_fp.exists() else {} |
| 76 | |
| 77 | _cached_auth = _auth | _local_auth |
| 78 | |
| 79 | return _cached_auth |
| 80 | |
| 81 | |
| 82 | def mask_all(): |
no test coverage detected