MCPcopy Index your code
hub / github.com/pathwaycom/pathway / use_python_object

Function use_python_object

python/pathway/tests/test_py_object_wrapper.py:97–98  ·  view source on GitHub ↗
(a: pw.PyObjectWrapper, x: int)

Source from the content-addressed store, hash-verified

95
96 @pw.udf
97 def use_python_object(a: pw.PyObjectWrapper, x: int) -> int:
98 return a.value.add(x)
99
100 res = t.join(
101 z, left_instance=pw.left.instance, right_instance=pw.right.instance

Callers 2

test_py_objectFunction · 0.70
targetFunction · 0.70

Calls 2

addMethod · 0.45
concatMethod · 0.45

Tested by

no test coverage detected