def get_pings_and_pipeline_metadata()

in mozilla_schema_generator/glean_ping.py [0:0]


    def get_pings_and_pipeline_metadata(self) -> Dict[str, Dict]:
        pings = self._get_ping_data_and_dependencies_with_default_metadata()
        for ping_name, ping_data in pings.items():
            metadata = ping_data.get("moz_pipeline_metadata")
            if not metadata:
                continue
            metadata["include_info_sections"] = self._is_field_included(
                ping_data, "include_info_sections", consider_all_history=False
            )
            metadata["include_client_id"] = self._is_field_included(
                ping_data, "include_client_id"
            )

            # While technically unnecessary, the dictionary elements are re-ordered to match the
            # currently deployed order and used to verify no difference in output.
            pings[ping_name] = GleanPing.reorder_metadata(metadata)
        return pings