in mozilla_schema_generator/config.py [0:0]
def get_schema_elements(self, probes: List[Probe]) -> List[Tuple[tuple, Probe]]:
"""
Given a schema and set of probes, get a list of probe and
the location in the schema where those probes should be
inputted.
"""
schema_elements = []
for key, matcher in self.matchers.items():
# Get the element we are filling in from the schema
schema_key = prepend_properties(key)
# Get the probes for the fill-in
schema_elements += [(schema_key, p) for p in probes if matcher.matches(p)]
return schema_elements