claude-code-sdk-python/examples
Ashwin Bhat 681f46c873
Some checks are pending
Lint / lint (push) Waiting to run
Test / test (3.10) (push) Waiting to run
Test / test (3.11) (push) Waiting to run
Test / test (3.12) (push) Waiting to run
Test / test (3.13) (push) Waiting to run
fix: Convert camelCase to snake_case for Python naming conventions (#146)
- Renamed PermissionRuleValue fields: toolName → tool_name, ruleContent
→ rule_content
- Renamed PermissionResultAllow fields: updatedInput → updated_input,
updatedPermissions → updated_permissions
- Removed unused PermissionResult import from query.py
- Fixed trailing whitespace issues in types.py
- Updated all usages in examples and tests to use snake_case

These changes ensure compliance with Python's PEP 8 naming conventions
and fix linting errors.

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-04 19:26:00 -07:00
..
mcp_calculator.py feat: Add in-process SDK MCP server support (#142) 2025-09-03 08:29:32 -07:00
quick_start.py cost_usd -> total_cost_usd in example 2025-06-25 15:18:52 -04:00
streaming_mode.py Implement control protocol support for Python SDK (#139) 2025-09-01 23:04:22 -07:00
streaming_mode_ipython.py feat: Add in-process SDK MCP server support (#142) 2025-09-03 08:29:32 -07:00
streaming_mode_trio.py Make streaming implementation trio-compatible (#84) 2025-07-22 23:31:42 -07:00
tool_permission_callback.py fix: Convert camelCase to snake_case for Python naming conventions (#146) 2025-09-04 19:26:00 -07:00