The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Add type hints to fix reflection (#73684)
github-automation-metabase33e34c36270d
diff --git a/enterprise/backend/test/metabase_enterprise/data_complexity_score/cli_test.clj b/enterprise/backend/test/metabase_enterprise/data_complexity_score/cli_test.cljindex 763505f10c7..935c8568605 100644--- a/enterprise/backend/test/metabase_enterprise/data_complexity_score/cli_test.clj+++ b/enterprise/backend/test/metabase_enterprise/data_complexity_score/cli_test.clj@@ -187,10 +187,10 @@(testing "relative path resolves under the representation dir, not cwd"(let [resolved (#'representation/resolve-embeddings-file (.getAbsolutePath tmp-dir)"embeddings/variant.json")]- (is (= (.getCanonicalPath present) (.getCanonicalPath resolved)))))+ (is (= (.getCanonicalPath present) (.getCanonicalPath ^java.io.File resolved)))))(testing "absolute path is honored as-is, regardless of dir"(let [resolved (#'representation/resolve-embeddings-file "/tmp" (.getAbsolutePath present))]- (is (= (.getCanonicalPath present) (.getCanonicalPath resolved)))))+ (is (= (.getCanonicalPath present) (.getCanonicalPath ^java.io.File resolved)))))(testing "missing file throws ex-info carrying both the request and the resolved path"(let [ex (try (#'representation/resolve-embeddings-file (.getAbsolutePath tmp-dir)"embeddings/does-not-exist.json")