mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-12-23 09:19:52 +00:00
## Key changes - Adds env field to `ClaudeCodeOptions`, allowing custom env vars to cli - Updates tests and examples ## Motivation Bringing Python SDK to feature parity with TS SDK, which supports custom env vars ## Notes - Environment variables are merged in order: system env → user env → SDK required vars - This implementation seems slightly more robust than the TypeScript version, which can exclude OS envs vars if a user passes a minimal env object - Some linting changes seem to have been picked up |
||
|---|---|---|
| .. | ||
| quick_start.py | ||
| streaming_mode.py | ||
| streaming_mode_ipython.py | ||
| streaming_mode_trio.py | ||