Registry

cards.Registry(self, metrics_dir=_DEFAULT_METRICS_DIR)

Discover every metric card under metrics_dir and look them up by id.

Methods

Name Description
get Return a metric card by id. Defaults to the latest version.

get

cards.Registry.get(id, version=None)

Return a metric card by id. Defaults to the latest version.