(value: object)
| 19 | |
| 20 | @pytest.mark.parametrize("value", ["hello", 1], ids=["correct type", "mismatched"]) |
| 21 | def test_basic(value: object) -> None: |
| 22 | m = BasicModel.construct(foo=value) |
| 23 | assert m.foo == value |
| 24 | |
| 25 | |
| 26 | def test_directly_nested_model() -> None: |