| 94 | |
| 95 | def test_paramters_with_custom_init(): |
| 96 | class Point(Record, include_metadata=False): |
| 97 | x: int |
| 98 | y: int |
| 99 | |
| 100 | def __init__(self, x, y, **kwargs): |
| 101 | self.x = x |
| 102 | self.y = y |
| 103 | |
| 104 | p = Point(30, 10) |
| 105 | assert p.x == 30 |
no outgoing calls