-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Labels
bugSomething isn't workingSomething isn't workingstaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedtriage-neededItems need to be reviewed / assigned to milestoneItems need to be reviewed / assigned to milestone
Description
Astronomer Cosmos Version
1.8.2
dbt-core version
1.8.8
Versions of dbt adapters
No response
LoadMode
AUTOMATIC
ExecutionMode
LOCAL
InvocationMode
SUBPROCESS
airflow version
2.10.2
Operating System
Ubuntu 20.04
If a you think it's an UI issue, what browsers are you seeing the problem on?
No response
Deployment
Google Cloud Composer
Deployment details
No response
What happened?
method ProfileConfig.get_profile_type fails
Relevant log output
File "/home/boris/workspace/dags/dbt_helper.py", line 236, in get_updated_tables
adapter_type = DBTConfig.profile_config().get_profile_type()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/boris/workspace/venv/lib/python3.11/site-packages/cosmos/config.py", line 306, in get_profile_type
profile_path = self._get_profile_path()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/boris/workspace/venv/lib/python3.11/site-packages/cosmos/config.py", line 324, in _get_profile_path
assert self.profile_mapping # To satisfy MyPy
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
How to reproduce
init ProfileConfig with profiles_yml_filepath
then call get_profile_type()
Anything else :)?
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Contact Details
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingstaleIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedIssue has not had recent activity or appears to be solved. Stale issues will be automatically closedtriage-neededItems need to be reviewed / assigned to milestoneItems need to be reviewed / assigned to milestone