Contents
ArtifactRef
CachedDownload
Config
InDir
InPath
OutDir
OutPath
ProvMeta
ProvPath
ProvenanceConfig
ProvenanceWriteError
RDFMixin
Session
UnresolvedArtifactError
build()
build_all()
dry_run_build()
explain()
list_rules()
list_targets()
main()
needs_update()
new_session()
plan()
resolve_target()
root_targets()
rule()
span
to_dot()
Opt-in provenance attributes for rule arguments.
Classes
Generic()
Generic
Abstract base class for generic types.
ProvMeta()
Annotate a rule argument to record its value, e.g. model: ProvMeta[str].
model: ProvMeta[str]
TypeVar
Type variable.
Bases: Generic[T]
T
The wrapped function receives the original value, not a ProvMeta object. Only JSON-serializable values are supported.