Home / File/ model_list_params.py — anthropic-sdk-python Source File

model_list_params.py — anthropic-sdk-python Source File

Architecture documentation for model_list_params.py, a python file in the anthropic-sdk-python codebase. 4 imports, 1 dependents.

File python AnthropicClient 4 imports 1 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  ca950aaa_83b1_926d_8017_c8fd3c813295["model_list_params.py"]
  b20bf822_b103_aa1e_5714_0992f46c51e4["_utils"]
  ca950aaa_83b1_926d_8017_c8fd3c813295 --> b20bf822_b103_aa1e_5714_0992f46c51e4
  58fe43a9_a1e3_ebc7_6cf1_298c52d556dc["anthropic_beta_param.py"]
  ca950aaa_83b1_926d_8017_c8fd3c813295 --> 58fe43a9_a1e3_ebc7_6cf1_298c52d556dc
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  ca950aaa_83b1_926d_8017_c8fd3c813295 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  ca950aaa_83b1_926d_8017_c8fd3c813295 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> ca950aaa_83b1_926d_8017_c8fd3c813295
  style ca950aaa_83b1_926d_8017_c8fd3c813295 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 List
from typing_extensions import Annotated, TypedDict

from .._utils import PropertyInfo
from .anthropic_beta_param import AnthropicBetaParam

__all__ = ["ModelListParams"]


class ModelListParams(TypedDict, total=False):
    after_id: str
    """ID of the object to use as a cursor for pagination.

    When provided, returns the page of results immediately after this object.
    """

    before_id: str
    """ID of the object to use as a cursor for pagination.

    When provided, returns the page of results immediately before this object.
    """

    limit: int
    """Number of items to return per page.

    Defaults to `20`. Ranges from `1` to `1000`.
    """

    betas: Annotated[List[AnthropicBetaParam], PropertyInfo(alias="anthropic-beta")]
    """Optional header to specify the beta version(s) you want to use."""

Classes

Dependencies

Frequently Asked Questions

What does model_list_params.py do?
model_list_params.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does model_list_params.py depend on?
model_list_params.py imports 4 module(s): _utils, anthropic_beta_param.py, typing, typing_extensions.
What files import model_list_params.py?
model_list_params.py is imported by 1 file(s): __init__.py.
Where is model_list_params.py in the architecture?
model_list_params.py is located at src/anthropic/types/model_list_params.py (domain: AnthropicClient, directory: src/anthropic/types).

Analyze Your Own Codebase

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

Try Supermodel Free