blob: 5764fe4fa85e3274580db183fd35c6fbe499e047 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
#pragma once
#include "py_ptr.h"
#include "py_ctx.h"
namespace NPython {
TPyObjectPtr ToPyDecimal(const TPyCastContext::TPtr& castCtx, const NKikimr::NUdf::TUnboxedValuePod& value, ui8 precision, ui8 scale);
NKikimr::NUdf::TUnboxedValue FromPyDecimal(const TPyCastContext::TPtr& castCtx, PyObject* value, ui8 precision, ui8 scale);
} // namespace NPython
|