Skip to content
Snippets Groups Projects
Commit 2fa82dc5 authored by Yannick DAYER's avatar Yannick DAYER
Browse files

get_bob_tags won't look for _more_tags.

parent e351e2b6
No related branches found
No related tags found
1 merge request!81Fix get_bob_tags to return default tags
Pipeline #58390 failed
......@@ -149,12 +149,7 @@ def get_bob_tags(estimator=None, force_tags=None):
"bob_features_load_fn": bob.io.base.load,
"bob_fit_supports_dask_array": False,
}
if hasattr(estimator, "_get_tags"):
estimator_tags = estimator._get_tags()
else:
estimator_tags = (
estimator._more_tags() if hasattr(estimator, "_more_tags") else {}
)
estimator_tags = estimator._get_tags() if estimator is not None else {}
return {**default_tags, **estimator_tags, **force_tags}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment