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
  ffbd5d59_02cc_c156_7c3f_121ee3f275af["model_list_params.py"]
  772d70a0_afd0_092d_2122_50d60dc68a20["_utils"]
  ffbd5d59_02cc_c156_7c3f_121ee3f275af --> 772d70a0_afd0_092d_2122_50d60dc68a20
  da83d4c1_915c_f107_fa65_f8cab9d45c3e["anthropic_beta_param"]
  ffbd5d59_02cc_c156_7c3f_121ee3f275af --> da83d4c1_915c_f107_fa65_f8cab9d45c3e
  9e729a88_70db_e7d4_5fad_450d4231b13f["typing"]
  ffbd5d59_02cc_c156_7c3f_121ee3f275af --> 9e729a88_70db_e7d4_5fad_450d4231b13f
  6a9d955d_2702_df7b_b21c_68d8602620ed["typing_extensions"]
  ffbd5d59_02cc_c156_7c3f_121ee3f275af --> 6a9d955d_2702_df7b_b21c_68d8602620ed
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f["__init__.py"]
  2f407a13_f2d9_e28f_3101_8d800d8f5c5f --> ffbd5d59_02cc_c156_7c3f_121ee3f275af
  style ffbd5d59_02cc_c156_7c3f_121ee3f275af 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

  • _utils
  • anthropic_beta_param
  • typing
  • typing_extensions

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, 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/beta/model_list_params.py (domain: AnthropicClient, directory: src/anthropic/types/beta).

Analyze Your Own Codebase

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

Try Supermodel Free