Commit 62239d2
test(gfql): probe to_dicts before to_dict(orient=) for engine-agnostic records
The dual-path guards checked hasattr(out, 'to_dict') first, but polars
DataFrame HAS to_dict (without orient) — so the polars branch was
unreachable and these tests only ever ran because auto silently returned
pandas. With auto routing polars-frame graphs natively they now receive
polars frames; probe to_dicts first. Assertions (record values) unchanged
and still pass on both engines.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Y6dQEcjdazEnzuvuwf73ZL1 parent 5f8b60f commit 62239d2
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15997 | 15997 | | |
15998 | 15998 | | |
15999 | 15999 | | |
16000 | | - | |
| 16000 | + | |
16001 | 16001 | | |
16002 | 16002 | | |
16003 | 16003 | | |
| |||
16027 | 16027 | | |
16028 | 16028 | | |
16029 | 16029 | | |
16030 | | - | |
| 16030 | + | |
16031 | 16031 | | |
16032 | 16032 | | |
16033 | 16033 | | |
| |||
16084 | 16084 | | |
16085 | 16085 | | |
16086 | 16086 | | |
16087 | | - | |
| 16087 | + | |
16088 | 16088 | | |
16089 | 16089 | | |
16090 | 16090 | | |
| |||
16099 | 16099 | | |
16100 | 16100 | | |
16101 | 16101 | | |
16102 | | - | |
| 16102 | + | |
16103 | 16103 | | |
16104 | 16104 | | |
16105 | 16105 | | |
| |||
0 commit comments