Train against merged national roof instances
This commit is contained in:
@@ -33,6 +33,7 @@ def process_active(container: str, marker: str) -> bool:
|
||||
|
||||
def write_state(path: Path, state: dict) -> None:
|
||||
state["updated_at"] = datetime.now(UTC).isoformat()
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
temporary = path.with_suffix(path.suffix + ".tmp")
|
||||
temporary.write_text(json.dumps(state, indent=2), encoding="utf-8")
|
||||
temporary.replace(path)
|
||||
|
||||
Reference in New Issue
Block a user