{ "cells": [ { "cell_type": "markdown", "id": "md1", "metadata": {}, "source": [ "# Examples\n", "\n", "A minimal example initializing a workflow workspace." ] }, { "cell_type": "code", "execution_count": 1, "id": "code1", "metadata": { "execution": { "iopub.execute_input": "2026-07-22T22:03:02.317590Z", "iopub.status.busy": "2026-07-22T22:03:02.317194Z", "iopub.status.idle": "2026-07-22T22:03:02.327096Z", "shell.execute_reply": "2026-07-22T22:03:02.325535Z" } }, "outputs": [], "source": [ "from tempfile import TemporaryDirectory\n", "from httk.workflow import Workspace\n", "\n", "with TemporaryDirectory() as directory:\n", " workspace = Workspace.initialize(directory)\n", " print(workspace.workspace_id)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.3" } }, "nbformat": 4, "nbformat_minor": 5 }