From 0ce27d41f56cc7a90a4d42e6f1bb5bfb1c16718d Mon Sep 17 00:00:00 2001 From: Antti Soininen Date: Tue, 23 Apr 2024 16:22:38 +0300 Subject: [PATCH] Bump Spine DB Server and cliend versions from 6 to 7 The interface is not compatible with 6 anymore with all the 0.8 changes. --- spinedb_api/spine_db_client.py | 2 +- spinedb_api/spine_db_server.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spinedb_api/spine_db_client.py b/spinedb_api/spine_db_client.py index 017af3e8..759c329e 100644 --- a/spinedb_api/spine_db_client.py +++ b/spinedb_api/spine_db_client.py @@ -19,7 +19,7 @@ from sqlalchemy.engine.url import URL from .server_client_helpers import ReceiveAllMixing, encode, decode -client_version = 6 +client_version = 7 class SpineDBClient(ReceiveAllMixing): diff --git a/spinedb_api/spine_db_server.py b/spinedb_api/spine_db_server.py index 5604823f..26bca284 100644 --- a/spinedb_api/spine_db_server.py +++ b/spinedb_api/spine_db_server.py @@ -117,7 +117,7 @@ def _import_entity_class(server_url, class_name): from .filters.tools import apply_filter_stack from .spine_db_client import SpineDBClient -_current_server_version = 6 +_current_server_version = 7 def get_current_server_version():