navigation_metrics.metric module

Return all packages that have a build_export_depend on the target package.

Load all the navigation_metrics, including those from downstream packages.

This call looks for packages that depend on this package, and then imports them, in order to populate the metrics and conversion functions datastructures.

A nav metric is defined as a function that takes a FlexibleBag as a parameter and can return either a simple datatype (in which case the metric’s name is assumed to be the same as the function’s name, or can return a dictionary of metric names to simple datatypes.