From e79bdc0099e6da5b68f73d3629f2a75ef5adc1fa Mon Sep 17 00:00:00 2001 From: Tamas Nemeth Date: Fri, 24 May 2024 00:12:40 +0200 Subject: [PATCH] fix(ingest): Remove env deprecation message (#10581) --- .../src/datahub/configuration/source_common.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/metadata-ingestion/src/datahub/configuration/source_common.py b/metadata-ingestion/src/datahub/configuration/source_common.py index a792201f9defe9..6a663a790c6c2b 100644 --- a/metadata-ingestion/src/datahub/configuration/source_common.py +++ b/metadata-ingestion/src/datahub/configuration/source_common.py @@ -4,7 +4,6 @@ from pydantic.fields import Field from datahub.configuration.common import ConfigModel -from datahub.configuration.validate_field_deprecation import pydantic_field_deprecated from datahub.metadata.schema_classes import FabricTypeClass DEFAULT_ENV = FabricTypeClass.PROD @@ -36,12 +35,6 @@ class EnvConfigMixin(ConfigModel): description="The environment that all assets produced by this connector belong to", ) - _env_deprecation = pydantic_field_deprecated( - "env", - message="We recommend using platform_instance instead of env. " - "While specifying env does still work, we intend to deprecate it in the future.", - ) - @validator("env") def env_must_be_one_of(cls, v: str) -> str: if v.upper() not in ALL_ENV_TYPES: