{"version":"2.1.239","anchor":"python-sdk-upgrade-guide-rewritten-against-the-shipped-anthr","canonical_anchor":"python-sdk-upgrade-guide-rewritten-against-the-shipped-anthr","heading":"Python SDK upgrade guide rewritten against the shipped anthropic 1.0.0 migration notes","tier":"use","area":"Skills","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239\/e\/python-sdk-upgrade-guide-rewritten-against-the-shipped-anthr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.239","markdown":"### Python SDK upgrade guide rewritten against the shipped anthropic 1.0.0 migration notes\n\nThe \/claude-api Python upgrade guide now matches the released 1.0.0 SDK built on httpx2.\n\n**What**\n\nThe `\/claude-api` Python upgrade guide now reflects the released 1.0.0 SDK: it is built on httpx2, so `anthropic.Timeout` is an httpx2 timeout and a timeout object from the older httpx package is rejected when the request is made.\n\n**Details**\n\n- Reverses the earlier advice to delete `temperature`, `top_p` and `top_k`. They are gone from the 1.x signatures but can still be passed through `extra_body` when the pinned model accepts them, with the per-model rules spelled out.\n- Passing `output_format` as a plain dict is now rejected by the `stream()` and `count_tokens()` helpers too.\n- The client configuration sample no longer imports httpx and uses `anthropic.Timeout` instead.\n\n**Evidence**\n\n`Last reconciled with MIGRATION.md at the 1.0.0 release (2026-08-20)`\n\n- Area: Skills\n- Names: `\/claude-api`\n- Tier: Use it now\n- Useful: 3\/5\n- Signal: 2\/5"}