Skip to content

Commit

Permalink
chore: cq fix
Browse files Browse the repository at this point in the history
  • Loading branch information
datnguye committed Oct 30, 2023
1 parent 7bd87a0 commit a0da8c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dbterd/adapters/algos/test_relationship.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ def get_relationships(manifest, **kwargs):
f'{rule.get("c_to")}s', "unknown"
)
)
).replace("\"","").lower(),
)
.replace('"', "")
.lower(),
str(
manifest.nodes[x].test_metadata.kwargs.get("column_name")
or manifest.nodes[x].test_metadata.kwargs.get(rule.get("c_from"))
Expand All @@ -93,7 +95,9 @@ def get_relationships(manifest, **kwargs):
f'{rule.get("c_from")}s', "unknown"
)
)
).replace("\"","").lower(),
)
.replace('"', "")
.lower(),
],
type=get_relationship_type(
manifest.nodes[x].meta.get(TEST_META_RELATIONSHIP_TYPE, "")
Expand Down

0 comments on commit a0da8c8

Please sign in to comment.