py_variant.h 405 B

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