Commit a5c7914
fix: fetch(attrs, as_dict=True) no longer includes unrequested primary key
In 0.14.x, fetch('col1', 'col2', as_dict=True) returned dicts containing
only the requested attributes. In 2.x, proj() always includes primary key
attributes, so the returned dicts contained extra keys the caller didn't ask
for. Filter the dicts to only include requested attributes, restoring
backward compatibility.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4a7e1e8 commit a5c7914
1 file changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
716 | 716 | | |
717 | 717 | | |
718 | 718 | | |
719 | | - | |
| 719 | + | |
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
| |||
748 | 748 | | |
749 | 749 | | |
750 | 750 | | |
751 | | - | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
752 | 755 | | |
753 | 756 | | |
754 | 757 | | |
| |||
0 commit comments