diff --git a/CHANGES.md b/CHANGES.md index 7ffc97d..49b063d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,9 @@ # Change Log +## 1.1.1 + +* Resolve issue where query is sometimes missing + ## 1.1.0 * Update psycopg2 to 2.8 to support python 3.8 diff --git a/actions/lib/base_action.py b/actions/lib/base_action.py index 2c1df8c..5ba9499 100644 --- a/actions/lib/base_action.py +++ b/actions/lib/base_action.py @@ -119,6 +119,10 @@ def db_connection(self, kwargs_dict): if default_driver: connection['drivername'] = default_driver + # Check if query is in de connection + if 'query' not in connection: + connection['query'] = () + # Format the connection string database_connection_string = URL(**connection) diff --git a/pack.yaml b/pack.yaml index e4707b0..1aa21db 100644 --- a/pack.yaml +++ b/pack.yaml @@ -6,7 +6,7 @@ keywords: - Postgres - MySQL - MsSQL -version: 1.1.0 +version: 1.1.1 author: Encore Technologies email: code@encore.tech python_versions: