MCPcopy Create free account
hub / github.com/pathwaycom/pathway / create_inc

Function create_inc

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

Source from the content-addressed store, hash-verified

76def test_py_object():
77 @pw.udf
78 def create_inc(a: int) -> pw.PyObjectWrapper:
79 return pw.PyObjectWrapper(
80 Inc(a, pd.DataFrame({"x": [1, 2, 3], "y": [a, a, a]}))
81 )
82
83 t = pw.debug.table_from_markdown(
84 """

Callers 1

test_py_objectFunction · 0.85

Calls 1

IncClass · 0.70

Tested by

no test coverage detected