navigation_metrics.metric module
- navigation_metrics.metric.find_downstream_dependencies(target_package_name='navigation_metrics')
Return all packages that have a build_export_depend on the target package.
- navigation_metrics.metric.get_metrics()
- navigation_metrics.metric.global_metric_search()
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.
- navigation_metrics.metric.nav_metric(f)
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.