ExampleEntry#
| Member | Kind | What it is |
|---|---|---|
payload | property | Every file the example needs, authored files first. |
total_size | property | Total payload in bytes, whatever is already cached. |
to_dict | method | Return the entry as JSON: its text, every file with its digest, and the station rows. |
data | attribute | Input data files, installed under <workspace>/data/<variable>/. |
directory | attribute | Folder name of the example under <workspace>/projects/. |
entry_config | attribute | The TOML file to run first, relative to the project folder. |
files | attribute | Authored files: the TOML configurations, scripts and README. |
id | attribute | Short id of the example, the one hmp example add takes ("04"). |
runtime | attribute | How long its runs take, as text. |
stations | attribute | Rows the example adds to the station registries of the workspace. |
summary | attribute | What the example models and shows, in a few sentences. |
title | attribute | One-line title. |
-
class ExampleEntry(
)[source]#id,directory,title,summary,runtime,entry_config,files,data,stations=(),
One cataloged example: what it is, and every file it needs.
- to_dict()[source]#
Return the entry as JSON: its text, every file with its digest, and the station rows.
- property payload: tuple[PayloadFile, ...][source]#
Every file the example needs, authored files first.