()
| 236 | |
| 237 | |
| 238 | def test_json_get_item_optional_json(): |
| 239 | input = _json_table(data=[{}]) |
| 240 | |
| 241 | with pytest.raises( |
| 242 | TypeError, |
| 243 | match=re.escape(f"Cannot get from {pw.Json | None}."), |
| 244 | ): |
| 245 | input.select(result=pw.this.data.get("a")["b"]) |
| 246 | |
| 247 | |
| 248 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected