Skip to content

Commit 7f30dfd

Browse files
authored
fix: Change imports for acryl-datahub v1.0.0 compatibility (#173)
* fix: Change imports for acryl-datahub v1.0.0 compatibility * remove siblings from yaml, not supported
1 parent 92c960f commit 7f30dfd

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

datahub-actions/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def get_long_description():
3030
return description
3131

3232

33-
acryl_datahub_min_version = os.environ.get("ACRYL_DATAHUB_MIN_VERSION") or "0.13.3.6rc1"
33+
acryl_datahub_min_version = os.environ.get("ACRYL_DATAHUB_MIN_VERSION") or "1.0.0"
3434

3535
base_requirements = {
3636
f"acryl-datahub[datahub-kafka]>={acryl_datahub_min_version}",

datahub-actions/src/datahub_actions/plugin/action/propagation/propagation_utils.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
import datahub.metadata.schema_classes as models
2323
from datahub.configuration.common import ConfigModel
2424
from datahub.emitter.mce_builder import make_schema_field_urn
25-
from datahub.ingestion.graph.client import DataHubGraph, SearchFilterRule
25+
from datahub.ingestion.graph.client import DataHubGraph
26+
from datahub.ingestion.graph.filters import SearchFilterRule
2627
from datahub.metadata.schema_classes import MetadataAttributionClass
2728
from datahub.utilities.str_enum import StrEnum
2829
from datahub.utilities.urns.urn import Urn, guess_entity_type

smoke-test/tests/actions/doc_propagation/resources/datasets_for_cycles_template.yaml

-3
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,3 @@
4242
file: tests/actions/doc_propagation/resources/user_clicks.avsc
4343
downstreams:
4444
- urn:li:dataset:(urn:li:dataPlatform:hive,{{ test_id }}.user.clicks_2,PROD)
45-
siblings:
46-
- urn: urn:li:dataset:(urn:li:dataPlatform:events,{{ test_id }}.ClickEvent,PROD)
47-
primary: true

0 commit comments

Comments
 (0)