Describe the transcript archive's layout where it lives, and make help, decision and comment prose easier to find
This commit is contained in:
@@ -12,6 +12,7 @@ from utc_stamp import utc
|
||||
|
||||
|
||||
def archive(project_archive: pathlib.Path, path: str, task: str, outcome: str, at: float) -> Failure | None:
|
||||
"""Keeps the transcript at path, its outcomes file and its session's files in project_archive, in the layout this package's docstring gives; the failure that stopped it, or None."""
|
||||
try:
|
||||
with open(path, "rb") as handle:
|
||||
raw = handle.read()
|
||||
|
||||
Reference in New Issue
Block a user