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

Function create_py_object

python/pathway/tests/test_py_object_wrapper.py:38–39  ·  view source on GitHub ↗
(a: int)

Source from the content-addressed store, hash-verified

36
37 @pw.udf
38 def create_py_object(a: int) -> pw.PyObjectWrapper[Simple]:
39 return pw.PyObjectWrapper(Simple(a))
40
41 @pw.udf
42 def use_py_object(a: int, b: pw.PyObjectWrapper[Simple]) -> int:

Callers 1

test_py_object_simpleFunction · 0.85

Calls 1

SimpleClass · 0.85

Tested by

no test coverage detected