From b3c467d75dc38aad8938a62a6bc1afc5d05994d7 Mon Sep 17 00:00:00 2001 From: Leonid Vinogradov Date: Tue, 28 Nov 2023 19:18:13 +0300 Subject: [PATCH] HH-200040 fix getting preprocessor name --- frontik/preprocessors.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontik/preprocessors.py b/frontik/preprocessors.py index 4385e5628..3fe7ae228 100644 --- a/frontik/preprocessors.py +++ b/frontik/preprocessors.py @@ -27,4 +27,6 @@ def get_preprocessors(func: Callable) -> list: def make_full_name(func: Callable | Any) -> str: + if isinstance(func, Preprocessor): + return f'{func.preprocessor_function.__module__}.{func.preprocessor_function.__name__}' return f'{func.__module__}.{func.__name__}'