in mozilla_schema_generator/common_ping.py [0:0]
def get_probes(self) -> List[MainProbe]:
probes = self._get_json(self.probes_url)
filtered = {
pname: pdef
for pname, pdef in probes.items()
if "nightly" in pdef["first_added"]
}
# This will be made much better with PEP 572
main_probes = [MainProbe(_id, defn) for _id, defn in filtered.items()]
return [
p
for p in main_probes
if int(p.definition["versions"]["last"]) > self.MIN_FX_VERSION
]