From 17a70a9ba78efe96a126d5383029c18eeea2ddf1 Mon Sep 17 00:00:00 2001 From: amochin Date: Tue, 19 Dec 2023 21:27:56 +0100 Subject: [PATCH] Move new params to the end to avoid backwards incompatibility --- doc/index.html | 2 +- src/DatabaseLibrary/query.py | 4 ++-- src/DatabaseLibrary/version.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/index.html b/doc/index.html index 2bf32eb..3e685f3 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1180,7 +1180,7 @@ jQuery.extend({highlight:function(e,t,n,r){if(e.nodeType===3){var i=e.data.match(t);if(i){var s=document.createElement(n||"span");s.className=r||"highlight";var o=e.splitText(i.index);o.splitText(i[0].length);var u=o.cloneNode(true);s.appendChild(u);o.parentNode.replaceChild(s,o);return 1}}else if(e.nodeType===1&&e.childNodes&&!/(script|style)/i.test(e.tagName)&&!(e.tagName===n.toUpperCase()&&e.className===r)){for(var a=0;a diff --git a/src/DatabaseLibrary/query.py b/src/DatabaseLibrary/query.py index dc14d1e..33e41f5 100644 --- a/src/DatabaseLibrary/query.py +++ b/src/DatabaseLibrary/query.py @@ -214,7 +214,7 @@ def delete_all_rows_from_table(self, tableName: str, sansTran: bool = False, ali db_connection.client.rollback() def execute_sql_script( - self, sqlScriptFileName: str, sansTran: bool = False, split: bool = True, alias: Optional[str] = None + self, sqlScriptFileName: str, sansTran: bool = False, alias: Optional[str] = None, split: bool = True ): """ 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( self, sqlString: str, sansTran: bool = False, - omitTrailingSemicolon: Optional[bool] = None, alias: Optional[str] = None, parameters: Optional[List] = None, + omitTrailingSemicolon: Optional[bool] = None, ): """ Executes the ``sqlString`` as a single SQL command. diff --git a/src/DatabaseLibrary/version.py b/src/DatabaseLibrary/version.py index 94dc080..fd87029 100644 --- a/src/DatabaseLibrary/version.py +++ b/src/DatabaseLibrary/version.py @@ -1 +1 @@ -VERSION = "1.4.2" +VERSION = "1.4.3"