diff --git a/cosmos/converter.py b/cosmos/converter.py index 1a6dd6f56..553b7b49e 100644 --- a/cosmos/converter.py +++ b/cosmos/converter.py @@ -16,7 +16,7 @@ from cosmos import cache, settings from cosmos.airflow.graph import build_airflow_graph -from cosmos.config import ProjectConfig, ExecutionConfig, RenderConfig, ProfileConfig +from cosmos.config import ExecutionConfig, ProfileConfig, ProjectConfig, RenderConfig from cosmos.constants import ExecutionMode from cosmos.dbt.graph import DbtGraph from cosmos.dbt.selector import retrieve_by_label @@ -238,10 +238,6 @@ def __init__( ExecutionConfig.execution_mode is set to ExecutionMode.VIRTUALENV." ) - profile_args = {} - if profile_config.profile_mapping: - profile_args = profile_config.profile_mapping.profile_args - if not operator_args: operator_args = {}