Skip to content

Commit 53d2a0f

Browse files
authored
Documentation: fix make_query() parameter name (#61)
## Changes This PR fixes the documentation for the `make_query()` fixture: the argument name was incorrect.
1 parent fbac9b9 commit 53d2a0f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1046,7 +1046,7 @@ See also [`ws`](#ws-fixture).
10461046
Create a query and remove it after the test is done. Returns the [`LegacyQuery`](https://databricks-sdk-py.readthedocs.io/en/latest/dbdataclasses/sql.html#databricks.sdk.service.sql.LegacyQuery) object.
10471047

10481048
Keyword Arguments:
1049-
- `query`: The query to be stored. Default is `SELECT * FROM <newly created random table>`.
1049+
- `sql_query`: The query to be stored. Default is `SELECT * FROM <newly created random table>`.
10501050

10511051
Usage:
10521052
```python

src/databricks/labs/pytester/fixtures/redash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def make_query(
1919
Create a query and remove it after the test is done. Returns the `databricks.sdk.service.sql.LegacyQuery` object.
2020
2121
Keyword Arguments:
22-
- `query`: The query to be stored. Default is `SELECT * FROM <newly created random table>`.
22+
- `sql_query`: The query to be stored. Default is `SELECT * FROM <newly created random table>`.
2323
2424
Usage:
2525
```python

0 commit comments

Comments
 (0)