summaryrefslogtreecommitdiffstats
path: root/yql/essentials/udfs/common/python/python_udf
diff options
context:
space:
mode:
authorvitya-smirnov <[email protected]>2026-04-13 13:36:30 +0300
committervitya-smirnov <[email protected]>2026-04-13 14:11:44 +0300
commit68ffe4adf18bc715e6901722e103a87ad139f108 (patch)
tree12846862f57f04f9f6185eb9da48a894179ae090 /yql/essentials/udfs/common/python/python_udf
parentf748d85b1443f65c394de077442c714187619825 (diff)
YQL-20095: Enable readability-isolate-declaration
commit_hash:c180c2db4897962cb70063ffdc2ddcd21e5e3418
Diffstat (limited to 'yql/essentials/udfs/common/python/python_udf')
-rw-r--r--yql/essentials/udfs/common/python/python_udf/python_function_factory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/yql/essentials/udfs/common/python/python_udf/python_function_factory.h b/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
index e96fa7eec4b..0ce118f7b75 100644
--- a/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
+++ b/yql/essentials/udfs/common/python/python_udf/python_function_factory.h
@@ -83,7 +83,8 @@ private:
TString filename(TStringBuf("embedded:"));
filename += name;
- TPyObjectPtr module, code;
+ TPyObjectPtr module;
+ TPyObjectPtr code;
if (HasEncodingCookie(source)) {
code.ResetSteal(Py_CompileString(source.data(), filename.data(), Py_file_input));
} else {