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

Function use_py_object

python/pathway/tests/test_py_object_wrapper.py:42–43  ·  view source on GitHub ↗
(a: int, b: pw.PyObjectWrapper[Simple])

Source from the content-addressed store, hash-verified

40
41 @pw.udf
42 def use_py_object(a: int, b: pw.PyObjectWrapper[Simple]) -> int:
43 return b.value.add(a)
44
45 t = pw.debug.table_from_markdown(
46 """

Callers 1

test_py_object_simpleFunction · 0.85

Calls 1

addMethod · 0.45

Tested by

no test coverage detected