Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Remove async from get_configs (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Feb 7, 2023
1 parent 0953b8f commit c76934b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The minimum version of `prefect-snowflake` - [#112](https://github.com/PrefectHQ/prefect-dbt/pull/112)
- Decoupled fields of blocks from external Collections from the created dbt profile - [#112](https://github.com/PrefectHQ/prefect-dbt/pull/112)
- `DbtCliProfile` is now accepts a `Union` of `SnowflakeTargetConfigs`, `BigQueryTargetConfigs`, and `PostgresTargetConfigs` for creation on UI - [#115](https://github.com/PrefectHQ/prefect-dbt/pull/115)
- Breaking: Made `BigQueryTargetConfigs.get_configs` synchronous - [#120](https://github.com/PrefectHQ/prefect-dbt/pull/120)

### Deprecated

Expand Down
4 changes: 1 addition & 3 deletions prefect_dbt/cli/configs/bigquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
except ImportError:
from typing_extensions import Literal

from prefect.utilities.asyncutils import sync_compatible
from pydantic import Field

from prefect_dbt.cli.configs.base import BaseTargetConfigs, MissingExtrasRequireError
Expand Down Expand Up @@ -96,8 +95,7 @@ class BigQueryTargetConfigs(BaseTargetConfigs):
description="The credentials to use to authenticate.",
)

@sync_compatible
async def get_configs(self) -> Dict[str, Any]:
def get_configs(self) -> Dict[str, Any]:
"""
Returns the dbt configs specific to BigQuery profile.
Expand Down

0 comments on commit c76934b

Please sign in to comment.