Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pathwaycom/pathway
/ Inc
Class
Inc
python/pathway/tests/test_py_object_wrapper.py:68–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
67
@dataclass
68
class
Inc:
69
a: int
70
df: pd.DataFrame
71
72
def
add(self, x: int) -> int:
73
return
self.df[
"y"
].sum() - 2 * self.a + x
74
75
76
def
test_py_object():
Callers
1
create_inc
Function · 0.70
Calls
no outgoing calls
Tested by
1
create_inc
Function · 0.56