Skip to content

Commit

Permalink
fix(ingest/mode): remove unused field (datahub-project#12520)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshbansal authored Jan 31, 2025
1 parent bde5c73 commit 9f111f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions metadata-ingestion/src/datahub/ingestion/source/mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import datahub.emitter.mce_builder as builder
from datahub.configuration.common import AllowDenyPattern, ConfigModel
from datahub.configuration.source_common import DatasetLineageProviderConfigBase
from datahub.configuration.validate_field_removal import pydantic_removed_field
from datahub.emitter.mcp import MetadataChangeProposalWrapper
from datahub.emitter.mcp_builder import (
ContainerKey,
Expand Down Expand Up @@ -155,10 +156,7 @@ class ModeConfig(StatefulIngestionConfigBase, DatasetLineageProviderConfigBase):
workspace: str = Field(
description="The Mode workspace name. Find it in Settings > Workspace > Details."
)
default_schema: str = Field(
default="public",
description="Default schema to use when schema is not provided in an SQL query",
)
_default_schema = pydantic_removed_field("default_schema")

space_pattern: AllowDenyPattern = Field(
default=AllowDenyPattern(
Expand Down

0 comments on commit 9f111f8

Please sign in to comment.