py_tuple.h 410 B

1234567891011121314151617
  1. #pragma once
  2. #include "py_ptr.h"
  3. #include "py_ctx.h"
  4. namespace NPython {
  5. TPyObjectPtr ToPyTuple(
  6. const TPyCastContext::TPtr& castCtx,
  7. const NKikimr::NUdf::TType* type,
  8. const NKikimr::NUdf::TUnboxedValuePod& value);
  9. NKikimr::NUdf::TUnboxedValue FromPyTuple(
  10. const TPyCastContext::TPtr& ctx,
  11. const NKikimr::NUdf::TType* type, PyObject* value);
  12. } // namespace NPython