Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pathwaycom/pathway
/ Simple
Class
Simple
python/pathway/tests/test_py_object_wrapper.py:28–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
26
# note: to be picklable, classes can't be defined locally in the test function
27
@dataclass
28
class
Simple:
29
a: int
30
31
def
add(self, x: int) -> int:
32
return
self.a + x
33
34
35
def
test_py_object_simple():
Callers
3
create_py_object
Function · 0.85
test_dtypes
Function · 0.85
create_simple
Function · 0.85
Calls
no outgoing calls
Tested by
3
create_py_object
Function · 0.68
test_dtypes
Function · 0.68
create_simple
Function · 0.68