From 02af779f69c071e71e40921af963b21e4d1f78c1 Mon Sep 17 00:00:00 2001 From: Pablo Martin Date: Tue, 26 Jul 2022 14:22:48 +0200 Subject: [PATCH] Version number is now printed at the start of each session. --- query_performance_gauge.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/query_performance_gauge.py b/query_performance_gauge.py index 702e8d0..a93b6a0 100644 --- a/query_performance_gauge.py +++ b/query_performance_gauge.py @@ -6,6 +6,7 @@ import mysql.connector.connection import trino.dbapi from connections import get_connection, clean_up_connection +from _version import __version__ def run_measuring_session(config: dict) -> None: @@ -15,6 +16,7 @@ def run_measuring_session(config: dict) -> None: :param config: the full config for the measuring session. :return: None """ + print(f"Query Performance Gauge - Version: {__version__}") print("Starting the measuring session.") connection = get_connection(config["connection_details"])