batch_create_params.py — anthropic-sdk-python Source File
Architecture documentation for batch_create_params.py, a python file in the anthropic-sdk-python codebase. 3 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR 0b0135d6_9650_f365_1124_c8fd15adc87e["batch_create_params.py"] 2caa4741_8635_0b96_eb86_48c82880e938["message_create_params"] 0b0135d6_9650_f365_1124_c8fd15adc87e --> 2caa4741_8635_0b96_eb86_48c82880e938 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 0b0135d6_9650_f365_1124_c8fd15adc87e --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 0b0135d6_9650_f365_1124_c8fd15adc87e --> 37c05070_ca59_d596_7250_de9d1939227f 9d57e64b_b1ec_715b_1768_07fcedee07a0["__init__.py"] 9d57e64b_b1ec_715b_1768_07fcedee07a0 --> 0b0135d6_9650_f365_1124_c8fd15adc87e style 0b0135d6_9650_f365_1124_c8fd15adc87e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Iterable
from typing_extensions import Required, TypedDict
from ..message_create_params import MessageCreateParamsNonStreaming
__all__ = ["BatchCreateParams", "Request"]
class BatchCreateParams(TypedDict, total=False):
requests: Required[Iterable[Request]]
"""List of requests for prompt completion.
Each is an individual request to create a Message.
"""
class Request(TypedDict, total=False):
custom_id: Required[str]
"""Developer-provided ID created for each request in a Message Batch.
Useful for matching results to requests, as results may be given out of request
order.
Must be unique for each request within the Message Batch.
"""
params: Required[MessageCreateParamsNonStreaming]
"""Messages API creation parameters for the individual request.
See the [Messages API reference](https://docs.claude.com/en/api/messages) for
full documentation on available parameters.
"""
Domain
Classes
Dependencies
- message_create_params
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does batch_create_params.py do?
batch_create_params.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does batch_create_params.py depend on?
batch_create_params.py imports 3 module(s): message_create_params, typing, typing_extensions.
What files import batch_create_params.py?
batch_create_params.py is imported by 1 file(s): __init__.py.
Where is batch_create_params.py in the architecture?
batch_create_params.py is located at src/anthropic/types/messages/batch_create_params.py (domain: AnthropicClient, directory: src/anthropic/types/messages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free