buildingmotif.ingresses.naming_convention#

Classes

NamingConventionIngress(upstream, ...)

Ingress handler that parses labels using a naming convention parser.

class NamingConventionIngress(upstream: RecordIngressHandler, naming_convention: Parser)[source]#

Ingress handler that parses labels using a naming convention parser. This returns a Record for each input label, with the parsed tokens as a field. You will need to attach this to a GraphIngressHandler to turn the tokens into a graph.

dump_failed_labels()[source]#
property records: List[Record]#

Generates (then caches) a list of Records from an underlying data source