Skip to content

Commit 17a70a9

Browse files
committed
Move new params to the end to avoid backwards incompatibility
1 parent f8ee5c1 commit 17a70a9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/index.html

+1-1
Large diffs are not rendered by default.

src/DatabaseLibrary/query.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ def delete_all_rows_from_table(self, tableName: str, sansTran: bool = False, ali
214214
db_connection.client.rollback()
215215

216216
def execute_sql_script(
217-
self, sqlScriptFileName: str, sansTran: bool = False, split: bool = True, alias: Optional[str] = None
217+
self, sqlScriptFileName: str, sansTran: bool = False, alias: Optional[str] = None, split: bool = True
218218
):
219219
"""
220220
Executes the content of the `sqlScriptFileName` as SQL commands. Useful for setting the database to a known
@@ -363,9 +363,9 @@ def execute_sql_string(
363363
self,
364364
sqlString: str,
365365
sansTran: bool = False,
366-
omitTrailingSemicolon: Optional[bool] = None,
367366
alias: Optional[str] = None,
368367
parameters: Optional[List] = None,
368+
omitTrailingSemicolon: Optional[bool] = None,
369369
):
370370
"""
371371
Executes the ``sqlString`` as a single SQL command.

src/DatabaseLibrary/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = "1.4.2"
1+
VERSION = "1.4.3"

0 commit comments

Comments
 (0)