Closed soininen closed 11 months ago
Applying an execution filter to database mapping and then calling get_import_alternative_name() gives a Traceback:
get_import_alternative_name()
Traceback (most recent call last): File "Spine-Database-API\tests\filters\test_execution_filter.py", line 25, in test_import_alternative_after_applying_execution_filter alternative_name = db_map.get_import_alternative_name() File "Spine-Database-API\spinedb_api\db_mapping_base.py", line 1667, in get_import_alternative_name self._create_import_alternative() File "Spine-Database-API\spinedb_api\filters\execution_filter.py", line 162, in _create_import_alternative db_map.add_alternatives({"name": db_map._import_alternative_name}, _strict=False) File "Spine-Database-API\spinedb_api\db_mapping_add_mixin.py", line 159, in add_alternatives return self.add_items("alternative", *items, **kwargs) TypeError: add_items() got an unexpected keyword argument '_strict'
(the unit test in the above Traceback exists only on a local branch at the time of writing)
Applying an execution filter to database mapping and then calling
get_import_alternative_name()
gives a Traceback:(the unit test in the above Traceback exists only on a local branch at the time of writing)