recce-nightly 1.9.0.20250619__py3-none-any.whl → 1.9.0.20250623__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- recce/VERSION +1 -1
- recce/adapter/dbt_adapter/__init__.py +108 -45
- recce/cli.py +12 -11
- recce/data/404.html +1 -1
- recce/data/_next/static/chunks/app/{page-707b8e8d98d7f780.js → page-59241c42b7dd4fcf.js} +1 -1
- recce/data/index.html +2 -2
- recce/data/index.txt +2 -2
- recce/models/types.py +7 -0
- recce/server.py +14 -30
- recce/util/api_token.py +1 -9
- recce/util/lineage.py +16 -12
- recce/util/onboarding_state.py +45 -0
- recce/util/recce_cloud.py +7 -7
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/METADATA +1 -1
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/RECORD +22 -21
- tests/adapter/dbt_adapter/test_dbt_cll.py +9 -9
- /recce/data/_next/static/{T2ShdYDyPGcOWrwJnitax → WrRUb3nV8BhAZG_R8kVma}/_buildManifest.js +0 -0
- /recce/data/_next/static/{T2ShdYDyPGcOWrwJnitax → WrRUb3nV8BhAZG_R8kVma}/_ssgManifest.js +0 -0
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/WHEEL +0 -0
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/entry_points.txt +0 -0
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/licenses/LICENSE +0 -0
- {recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/top_level.txt +0 -0
|
@@ -51,11 +51,11 @@ def test_cll_basic(dbt_test_helper):
|
|
|
51
51
|
)
|
|
52
52
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
53
53
|
|
|
54
|
-
result = adapter.
|
|
54
|
+
result = adapter.get_cll("model.model2", no_filter=True)
|
|
55
55
|
assert_model(result, "model.model2", [("model.model1", "c")])
|
|
56
56
|
assert_column(result, "model.model2", "c", "passthrough", [("model.model1", "c")])
|
|
57
57
|
|
|
58
|
-
result = adapter.
|
|
58
|
+
result = adapter.get_cll("model.model3", no_filter=True)
|
|
59
59
|
assert_model(result, "model.model3", [("model.model1", "c")])
|
|
60
60
|
assert_column(result, "model.model3", "c", "passthrough", [("model.model1", "c")])
|
|
61
61
|
|
|
@@ -75,7 +75,7 @@ def test_cll_table_alisa(dbt_test_helper):
|
|
|
75
75
|
depends_on=["model.model1"],
|
|
76
76
|
)
|
|
77
77
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
78
|
-
result = adapter.
|
|
78
|
+
result = adapter.get_cll("model.model1", no_filter=True)
|
|
79
79
|
assert_column(result, "model.model2", "c", "passthrough", [("model.model1", "c")])
|
|
80
80
|
|
|
81
81
|
|
|
@@ -103,7 +103,7 @@ def test_seed(dbt_test_helper):
|
|
|
103
103
|
)
|
|
104
104
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
105
105
|
|
|
106
|
-
result = adapter.
|
|
106
|
+
result = adapter.get_cll("model.model1", no_filter=True)
|
|
107
107
|
assert_model(result, "seed.seed1", [])
|
|
108
108
|
assert_column(result, "seed.seed1", "customer_id", "source", [])
|
|
109
109
|
assert_model(result, "model.model1", [("seed.seed1", "age")])
|
|
@@ -134,7 +134,7 @@ def test_python_model(dbt_test_helper):
|
|
|
134
134
|
assert not adapter.is_python_model("model1")
|
|
135
135
|
assert adapter.is_python_model("model2")
|
|
136
136
|
|
|
137
|
-
result = adapter.
|
|
137
|
+
result = adapter.get_cll("model1", no_filter=True)
|
|
138
138
|
assert_column(result, "model2", "customer_id", "unknown", [])
|
|
139
139
|
|
|
140
140
|
|
|
@@ -161,9 +161,9 @@ def test_source(dbt_test_helper):
|
|
|
161
161
|
depends_on=["source.source1.table1"],
|
|
162
162
|
)
|
|
163
163
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
164
|
-
result = adapter.
|
|
164
|
+
result = adapter.get_cll("source.source1.table1", no_filter=True)
|
|
165
165
|
assert_column(result, "source.source1.table1", "customer_id", "source", [])
|
|
166
|
-
result = adapter.
|
|
166
|
+
result = adapter.get_cll("model.model1", no_filter=True)
|
|
167
167
|
assert_column(result, "model.model1", "customer_id", "passthrough", [("source.source1.table1", "customer_id")])
|
|
168
168
|
|
|
169
169
|
|
|
@@ -171,14 +171,14 @@ def test_parse_error(dbt_test_helper):
|
|
|
171
171
|
dbt_test_helper.create_model("model1", curr_sql="select 1 as c", curr_columns={"c": "int"})
|
|
172
172
|
dbt_test_helper.create_model("model2", curr_sql="this is not a valid sql", curr_columns={"c": "int"})
|
|
173
173
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
174
|
-
result = adapter.
|
|
174
|
+
result = adapter.get_cll("model2", no_filter=True)
|
|
175
175
|
assert_column(result, "model2", "c", "unknown", [])
|
|
176
176
|
|
|
177
177
|
|
|
178
178
|
def test_model_without_catalog(dbt_test_helper):
|
|
179
179
|
dbt_test_helper.create_model("model1", curr_sql="select 1 as c")
|
|
180
180
|
adapter: DbtAdapter = dbt_test_helper.context.adapter
|
|
181
|
-
result = adapter.
|
|
181
|
+
result = adapter.get_cll("model1", no_filter=True)
|
|
182
182
|
assert not result.nodes["model1"].columns
|
|
183
183
|
|
|
184
184
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{recce_nightly-1.9.0.20250619.dist-info → recce_nightly-1.9.0.20250623.dist-info}/top_level.txt
RENAMED
|
File without changes
|