From 13ea081207e6fffc8ce6c79efcca3935fa36b75c Mon Sep 17 00:00:00 2001 From: jkriwet Date: Wed, 19 Jul 2023 17:05:04 +0200 Subject: [PATCH] changed version checker, so that minimum orion version is part of default settings #190 --- filip/clients/ngsi_v2/cb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/filip/clients/ngsi_v2/cb.py b/filip/clients/ngsi_v2/cb.py index 1c642a69..c8a98ac8 100644 --- a/filip/clients/ngsi_v2/cb.py +++ b/filip/clients/ngsi_v2/cb.py @@ -162,8 +162,8 @@ def get_version(self) -> Dict: def _check_correct_cb_version(self) -> None: """ - Checks whether Orion version is >= 3.6.0, since breaking change was introduced there which introduced new - option, which is implemented in FiLiP, but won't work with lower orion versions. + Checks whether the used Orion version is greater or equal than the minimum required orion version of + the current filip version """ orion_version = self.get_version()['orion']['version'] if version.parse(orion_version) < version.parse(settings.minimum_orion_version):