Skip to content

fix: Use data.get('items') instead of data.items to avoid dict method…#5

Merged
sammish merged 1 commit into
mainfrom
develop
Dec 17, 2025
Merged

fix: Use data.get('items') instead of data.items to avoid dict method…#5
sammish merged 1 commit into
mainfrom
develop

Conversation

@sammish
Copy link
Copy Markdown
Contributor

@sammish sammish commented Dec 17, 2025

… conflict

frappe._dict inherits from dict, so data.items returns the dict.items() method instead of the 'items' key value. Changed to use data.get('items') or data['items'] to correctly access the items list.

… conflict

frappe._dict inherits from dict, so data.items returns the dict.items()
method instead of the 'items' key value. Changed to use data.get('items')
or data['items'] to correctly access the items list.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@sammish sammish merged commit ba7f633 into main Dec 17, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant