From fa51f694f6ea6fcbc6d548cfee1306b5ac21be43 Mon Sep 17 00:00:00 2001 From: Mirna Wong <89008547+mirnawong1@users.noreply.github.com> Date: Thu, 4 Apr 2024 09:23:34 +0100 Subject: [PATCH] Update sl-graphql.md update variable to byte_string instead of res per community feedback. https://getdbt.slack.com/archives/C046L0VTVR6/p1711742559971009?thread_ts=1711556138.932589&cid=C046L0VTVR6 --- website/docs/docs/dbt-cloud-apis/sl-graphql.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/docs/docs/dbt-cloud-apis/sl-graphql.md b/website/docs/docs/dbt-cloud-apis/sl-graphql.md index f59cf62247f..ed4f07e0e2d 100644 --- a/website/docs/docs/dbt-cloud-apis/sl-graphql.md +++ b/website/docs/docs/dbt-cloud-apis/sl-graphql.md @@ -405,7 +405,7 @@ gql_response.json() => def to_arrow_table(byte_string: str) -> pa.Table: """Get a raw base64 string and convert to an Arrow Table.""" - with pa.ipc.open_stream(base64.b64decode(res)) as reader: + with pa.ipc.open_stream(base64.b64decode(byte_string)) as reader: return pa.Table.from_batches(reader, reader.schema)