(
*,
artifact_id: str,
title: str,
path: str | Path | None,
kind: str,
status: str,
description: str,
source: str | None = None,
)
| 104 | |
| 105 | |
| 106 | def artifact_entry( |
| 107 | *, |
| 108 | artifact_id: str, |
| 109 | title: str, |
| 110 | path: str | Path | None, |
| 111 | kind: str, |
| 112 | status: str, |
| 113 | description: str, |
| 114 | source: str | None = None, |
| 115 | ) -> dict[str, Any]: |
| 116 | return { |
| 117 | "id": artifact_id, |
| 118 | "title": title, |
| 119 | "path": str(path) if path else None, |
| 120 | "kind": kind, |
| 121 | "status": status, |
| 122 | "description": description, |
| 123 | "source": source, |
| 124 | } |
| 125 | |
| 126 | |
| 127 | def copy_visual_asset(source: Path, dest: Path) -> Path | None: |
no outgoing calls
no test coverage detected