From 08a4502eda805888ed2493e0777b23b3e14efc13 Mon Sep 17 00:00:00 2001 From: Nicolas Drebenstedt Date: Mon, 27 Jan 2025 15:52:21 +0100 Subject: [PATCH] strict zip --- mex/common/sinks/registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mex/common/sinks/registry.py b/mex/common/sinks/registry.py index cc1ef6a7..d61d35cd 100644 --- a/mex/common/sinks/registry.py +++ b/mex/common/sinks/registry.py @@ -41,7 +41,7 @@ def load( ) -> Generator[Identifier, None, None]: """Load models to multiple sinks simultaneously.""" for sink, model_gen in zip( - self._sinks, tee(models, len(self._sinks)), strict=False + self._sinks, tee(models, len(self._sinks)), strict=True ): yield from sink.load(model_gen)