From 740f89b95acaae8d6ad114b45b2379d7d49e6a0a Mon Sep 17 00:00:00 2001 From: Damian Czajkowski Date: Tue, 2 Apr 2024 13:29:37 +0200 Subject: [PATCH] fixed-dispatcher --- src/smyth/dispatcher/dispatcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/smyth/dispatcher/dispatcher.py b/src/smyth/dispatcher/dispatcher.py index 8f195d4..b1d72df 100644 --- a/src/smyth/dispatcher/dispatcher.py +++ b/src/smyth/dispatcher/dispatcher.py @@ -76,7 +76,7 @@ def build_process_groups( return process_groups def get_process_definition(self, path: str) -> ProcessDefinition: - for path, process_def in self.process_definitions.items(): + for process_def in self.process_definitions.values(): if process_def.url_path.match(path): return process_def raise ProcessDefinitionNotFoundError(