[fix] Ensure that is_adhoc_metric returns a boolean (#9062)

This commit is contained in:
John Bodley
2020-01-31 17:39:30 -08:00
committed by GitHub
parent bbe433784d
commit 7364024bba

View File

@@ -941,7 +941,7 @@ def get_example_database():
def is_adhoc_metric(metric) -> bool:
return (
return bool(
isinstance(metric, dict)
and (
(