Accessors to the promise of the anon rule and the promised artifacts associated with the rule.
def anon_target.artifact(name: str)
Gets a specific
StarlarkPromiseArtifact by name. Returns an error if the name was not found in the registered promise artifacts for the anon target.
Returns a dict where the key is the promise artifact's name, and the value is the
To get a promise artifact where the short path is accessible, call
pass in the artifact retrieved from this dict.
Returns the promise that maps to the result of the anon rule.