Home / Function/ _prepare_options() — anthropic-sdk-python Function Reference

_prepare_options() — anthropic-sdk-python Function Reference

Architecture documentation for the _prepare_options() function in _client.py from the anthropic-sdk-python codebase.

Function python AnthropicClient AsyncAPI calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  edd748c3_bd8e_a7a2_8c66_e4824029d1bf["_prepare_options()"]
  52b957ca_f6e2_8cc2_8b0b_1f00048d1b4f["AnthropicBedrock"]
  edd748c3_bd8e_a7a2_8c66_e4824029d1bf -->|defined in| 52b957ca_f6e2_8cc2_8b0b_1f00048d1b4f
  79c39c47_68fb_666e_6789_686b79b96571["_prepare_options()"]
  79c39c47_68fb_666e_6789_686b79b96571 -->|calls| edd748c3_bd8e_a7a2_8c66_e4824029d1bf
  79c39c47_68fb_666e_6789_686b79b96571["_prepare_options()"]
  edd748c3_bd8e_a7a2_8c66_e4824029d1bf -->|calls| 79c39c47_68fb_666e_6789_686b79b96571
  style edd748c3_bd8e_a7a2_8c66_e4824029d1bf fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

src/anthropic/lib/bedrock/_client.py lines 194–195

    def _prepare_options(self, options: FinalRequestOptions) -> FinalRequestOptions:
        return _prepare_options(options)

Subdomains

Called By

Frequently Asked Questions

What does _prepare_options() do?
_prepare_options() is a function in the anthropic-sdk-python codebase, defined in src/anthropic/lib/bedrock/_client.py.
Where is _prepare_options() defined?
_prepare_options() is defined in src/anthropic/lib/bedrock/_client.py at line 194.
What does _prepare_options() call?
_prepare_options() calls 1 function(s): _prepare_options.
What calls _prepare_options()?
_prepare_options() is called by 1 function(s): _prepare_options.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free