Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_simple
Function · 0.85
Calls
1
Simple
Class · 0.85
Tested by
no test coverage detected