MCPcopy 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
68class 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
76def test_py_object():

Callers 1

create_incFunction · 0.70

Calls

no outgoing calls

Tested by 1

create_incFunction · 0.56