()
| 57 | |
| 58 | |
| 59 | def get_current_frozen_set() -> Set[str]: |
| 60 | now = _now_ts() |
| 61 | res = set() |
| 62 | for url, meta in list(_frozen.items()): |
| 63 | fu = meta.get("frozen_until") |
| 64 | if fu and fu > now: |
| 65 | res.add(url) |
| 66 | else: |
| 67 | is_url_frozen(url) |
| 68 | return res |
| 69 | |
| 70 | |
| 71 | def load(path: Optional[str]) -> None: |
nothing calls this directly
no test coverage detected