(source: str, tags: Optional[list[str]] = None)
| 125 | |
| 126 | |
| 127 | def _code(source: str, tags: Optional[list[str]] = None) -> dict[str, Any]: |
| 128 | meta: dict[str, Any] = {} |
| 129 | if tags: |
| 130 | meta["tags"] = tags |
| 131 | return { |
| 132 | "cell_type": "code", |
| 133 | "execution_count": None, |
| 134 | "metadata": meta, |
| 135 | "outputs": [], |
| 136 | "source": source, |
| 137 | } |
| 138 | |
| 139 | |
| 140 | def _notebook(cells: list[dict[str, Any]]) -> dict[str, Any]: |
no outgoing calls
no test coverage detected