diff --git a/docs/website/docs/build-a-pipeline-tutorial.md b/docs/website/docs/build-a-pipeline-tutorial.md index 860657b16c..36d30a184f 100644 --- a/docs/website/docs/build-a-pipeline-tutorial.md +++ b/docs/website/docs/build-a-pipeline-tutorial.md @@ -280,7 +280,7 @@ with pipeline.sql_client() as client: GROUP BY category, region; - )""" + """) ``` In this example, the `execute_sql` method of the SQL client allows you to execute SQL statements. The statement inserts a row with values into the `customers` table. diff --git a/docs/website/docs/dlt-ecosystem/transformations/sql.md b/docs/website/docs/dlt-ecosystem/transformations/sql.md index e6011a71ae..02e5aa4396 100644 --- a/docs/website/docs/dlt-ecosystem/transformations/sql.md +++ b/docs/website/docs/dlt-ecosystem/transformations/sql.md @@ -42,7 +42,7 @@ with pipeline.sql_client() as client: GROUP BY category, region; - )""" + """) ``` You can also use the `execute_sql` method to run select queries. The data is returned as a list of rows, with the elements of a row diff --git a/docs/website/docs/tutorial/load-data-from-an-api.md b/docs/website/docs/tutorial/load-data-from-an-api.md index 6a682457f4..4825c50fe3 100644 --- a/docs/website/docs/tutorial/load-data-from-an-api.md +++ b/docs/website/docs/tutorial/load-data-from-an-api.md @@ -78,7 +78,7 @@ You can use dlt [datasets](../general-usage/dataset-access/dataset) to easily qu ```py # get the dataset -dataset = dlt.dataset("mydata") +dataset = pipeline.dataset("mydata") # get the user relation table = dataset.users