roboto.experimental.ingestion_rules.matching
Module Contents
IngestionPathRule
The path half of an ingestion rule: include and exclude Git wildmatch patterns.
File annotation and the rule’s trigger both decide through matches(), so a file is marked ingestable exactly when the rule’s trigger would accept its upload.
IngestionPathRule.matches()
Whether relative_path matches an include pattern and no exclude pattern, and is not a dotfile.
No rule makes a dotfile ingestable, because triggers never run on dotfiles.
Parameters
relative_path strReturn type
bool
IngestionPathRule.of()
Parameters
include_patterns collections.exclude_patterns collections.Return type