Skip to content

Commit

Permalink
fix circular imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Oct 13, 2022
1 parent 5c416aa commit dc7c178
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion metadata-ingestion/src/datahub/ingestion/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from datahub.ingestion.api.common import RecordEnvelope
2 changes: 1 addition & 1 deletion metadata-ingestion/src/datahub/ingestion/api/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class PipelineContext:
def __init__(
self,
run_id: str,
datahub_api: Optional[DatahubClientConfig] = None,
datahub_api: Optional["DatahubClientConfig"] = None,
pipeline_name: Optional[str] = None,
dry_run: bool = False,
preview_mode: bool = False,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from datahub.configuration.common import ConfigModel
from datahub.emitter.mce_builder import get_sys_time
from datahub.emitter.mcp import MetadataChangeProposalWrapper
from datahub.ingestion.api import RecordEnvelope
from datahub.ingestion.api.common import RecordEnvelope
from datahub.ingestion.api.source import Extractor, WorkUnit
from datahub.ingestion.api.workunit import MetadataWorkUnit, UsageStatsWorkUnit
from datahub.metadata.com.linkedin.pegasus2avro.mxe import (
Expand Down

0 comments on commit dc7c178

Please sign in to comment.