The problem is in the from_expr_for method: if a default dataset is passed to the DataSource class, the method build_query_targets that builds the metrics query for sizing jobs will return a query that attempts to search for an experiment slug. This is solved by adding a condition here that returns from the function when no experiment slug is passed.
The problem is in the
from_expr_for
method: if a default dataset is passed to theDataSource
class, the methodbuild_query_targets
that builds the metrics query for sizing jobs will return a query that attempts to search for an experiment slug. This is solved by adding a condition here that returns from the function when no experiment slug is passed.