MCPcopy
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
28class Simple:
29 a: int
30
31 def add(self, x: int) -> int:
32 return self.a + x
33
34
35def test_py_object_simple():

Callers 3

create_py_objectFunction · 0.85
test_dtypesFunction · 0.85
create_simpleFunction · 0.85

Calls

no outgoing calls

Tested by 3

create_py_objectFunction · 0.68
test_dtypesFunction · 0.68
create_simpleFunction · 0.68