diff --git a/metaflow/plugins/conda/conda_environment.py b/metaflow/plugins/conda/conda_environment.py index e48bc551d6..fd9ca3d646 100644 --- a/metaflow/plugins/conda/conda_environment.py +++ b/metaflow/plugins/conda/conda_environment.py @@ -103,3 +103,12 @@ def get_client_info(cls, flow_name, metadata): 'explicit': info[env_id]['explicit'], 'deps': info[env_id]['deps']} return new_info + + def get_environment_info(self): + # We want to simply wrap the default environment, not necessarily the base class + # environment so we specifically call that one + from ...plugins import ENVIRONMENTS + from metaflow.metaflow_config import DEFAULT_ENVIRONMENT + base_env = [e for e in ENVIRONMENTS + [MetaflowEnvironment] + if e.TYPE == DEFAULT_ENVIRONMENT][0](self.flow) + return base_env.get_environment_info()