diff options
author | robot-piglet <[email protected]> | 2025-09-05 13:06:19 +0300 |
---|---|---|
committer | robot-piglet <[email protected]> | 2025-09-05 13:46:53 +0300 |
commit | f75f32eff28f9d75a75be2166fd962c55c9e0ec0 (patch) | |
tree | 3fd4c0f9a2083019398252341e9ce8c71cdada06 /yql/essentials/udfs/common/python | |
parent | 22568739dbd9bf62b94abb305c082a53b21e5aef (diff) |
Intermediate changes
commit_hash:a1a74a19c885d82a56a4ef72c14ef3b71aaff2cc
Diffstat (limited to 'yql/essentials/udfs/common/python')
-rw-r--r-- | yql/essentials/udfs/common/python/bindings/py_cast.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yql/essentials/udfs/common/python/bindings/py_cast.cpp b/yql/essentials/udfs/common/python/bindings/py_cast.cpp index 51b68f897dc..79e46164989 100644 --- a/yql/essentials/udfs/common/python/bindings/py_cast.cpp +++ b/yql/essentials/udfs/common/python/bindings/py_cast.cpp @@ -836,7 +836,7 @@ TPyObjectPtr ToPyNull( const NUdf::TType* type, const NUdf::TUnboxedValuePod& value) { - if (!value.HasValue()) { + if (!value) { return TPyObjectPtr(Py_None, TPyObjectPtr::ADD_REF); } throw yexception() << "Value is not null"; |