Skip to content

Commit

Permalink
skip deprecation warnings on non-graph runnable tasks so the deprecat…
Browse files Browse the repository at this point in the history
…ion warnings on graph runnable tasks are better
  • Loading branch information
Jacob Beck committed Apr 21, 2020
1 parent 618adf5 commit 236a087
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/dbt/task/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from abc import ABCMeta, abstractmethod
from typing import Type, Union

from dbt import deprecations
from dbt.adapters.factory import register_adapter
from dbt.config import RuntimeConfig, Project
from dbt.config.profile import read_profile, PROFILES_DIR
Expand Down Expand Up @@ -133,11 +132,6 @@ class ConfiguredTask(BaseTask):
ConfigType = RuntimeConfig

def __init__(self, args, config):
if config.config_version == 1:
deprecations.warn(
'dbt-project-yaml-v1',
project_names=f'\n\n - {config.project_name}',
)
super().__init__(args, config)
register_adapter(self.config)

Expand Down

0 comments on commit 236a087

Please sign in to comment.