from babregen import Consumer
consumer = Consumer(ref="src/samplepkg/app/main.py", kind="code", note="sums values")
print(consumer.ref, consumer.kind)src/samplepkg/app/main.py code
Something that depends on a unit and would notice its deletion.
| Name | Type | Description |
|---|---|---|
| ref | str | A repository-relative path, or for external a free text (written <repo>:<path> for a file of a downstream repository). |
| kind | str | code, test or doc (a file of this repository) or external (anything else: a downstream file, a scheduled run, a person). Only the first three are checked against the tree. |
| note | str | What the consumer relies on. |