From a0da8c8c19061afef4aaba175aab5a71d01d39ed Mon Sep 17 00:00:00 2001 From: Dat Nguyen Date: Mon, 30 Oct 2023 20:57:17 +0700 Subject: [PATCH] chore: cq fix --- dbterd/adapters/algos/test_relationship.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dbterd/adapters/algos/test_relationship.py b/dbterd/adapters/algos/test_relationship.py index d3235ff..301f3cb 100644 --- a/dbterd/adapters/algos/test_relationship.py +++ b/dbterd/adapters/algos/test_relationship.py @@ -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")) @@ -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, "")