From bb3d509364292cac0d7213923e26f59df7973f3d Mon Sep 17 00:00:00 2001 From: serramatutu Date: Tue, 18 Jun 2024 18:40:38 +0200 Subject: [PATCH] fix(dimensions): dimensions query was wrong in `GraphQLProtocol` --- .changes/unreleased/Fixes-20240618-184029.yaml | 3 +++ dbtsl/api/graphql/protocol.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .changes/unreleased/Fixes-20240618-184029.yaml diff --git a/.changes/unreleased/Fixes-20240618-184029.yaml b/.changes/unreleased/Fixes-20240618-184029.yaml new file mode 100644 index 0000000..332d654 --- /dev/null +++ b/.changes/unreleased/Fixes-20240618-184029.yaml @@ -0,0 +1,3 @@ +kind: Fixes +body: Dimensions query had wrong value in protocol +time: 2024-06-18T18:40:29.942252+02:00 diff --git a/dbtsl/api/graphql/protocol.py b/dbtsl/api/graphql/protocol.py index b456592..8b3d103 100644 --- a/dbtsl/api/graphql/protocol.py +++ b/dbtsl/api/graphql/protocol.py @@ -212,7 +212,7 @@ class GraphQLProtocol: """ metrics = ListMetricsOperation() - measures = ListDimensionsOperation() + dimensions = ListDimensionsOperation() measures = ListMeasuresOperation() create_query = CreateQueryOperation() get_query_result = GetQueryResultOperation()