core.provenance.Sourced
core.provenance.Sourced()Scalar with mandatory Provenance. Subclasses float so appendix LEGO cells can divide and format values without extra coercion.
Attributes
| Name | Description |
|---|---|
| source | Returns the reference string of the provenance source. |
| url | Returns the URL of the provenance source, if any. |
| value | Returns the underlying float value of the sourced scalar. |
Methods
| Name | Description |
|---|---|
| render_markdown | Renders a Markdown representation of the sourced scalar. |
render_markdown
core.provenance.Sourced.render_markdown()Renders a Markdown representation of the sourced scalar.
This includes the value, description, provenance kind, source reference, and URL. It is used primarily by CLI commands to inspect values.