Skip to content

Commit 14e9128

Browse files
JCZuurmondnfx
andauthored
Force keyword argument in make_query fixture (#81)
Force keyword argument in `make_query` fixture Co-authored-by: Serge Smertin <[email protected]>
1 parent 1422e19 commit 14e9128

File tree

1 file changed

+1
-1
lines changed
  • src/databricks/labs/pytester/fixtures

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_permissions_for_redash(
4040
```
4141
"""
4242

43-
def create(sql_query: str | None = None, **kwargs) -> LegacyQuery:
43+
def create(*, sql_query: str | None = None, **kwargs) -> LegacyQuery:
4444
if sql_query is None:
4545
table = make_table()
4646
sql_query = f"SELECT * FROM {table.catalog_name}.{table.schema_name}.{table.name}"

0 commit comments

Comments
 (0)