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

metadata_param.py — anthropic-sdk-python Source File

Architecture documentation for metadata_param.py, a python file in the anthropic-sdk-python codebase. 2 imports, 3 dependents.

File python AnthropicClient 2 imports 3 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  95691951_9186_c77d_0461_2a4a1f93938c["metadata_param.py"]
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  95691951_9186_c77d_0461_2a4a1f93938c --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  95691951_9186_c77d_0461_2a4a1f93938c --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 95691951_9186_c77d_0461_2a4a1f93938c
  71316ac3_9f59_4b57_be15_e422c1f1309b["completion_create_params.py"]
  71316ac3_9f59_4b57_be15_e422c1f1309b --> 95691951_9186_c77d_0461_2a4a1f93938c
  323219cc_84cd_94e9_ae78_777a62f2a45c["message_create_params.py"]
  323219cc_84cd_94e9_ae78_777a62f2a45c --> 95691951_9186_c77d_0461_2a4a1f93938c
  style 95691951_9186_c77d_0461_2a4a1f93938c 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 Optional
from typing_extensions import TypedDict

__all__ = ["MetadataParam"]


class MetadataParam(TypedDict, total=False):
    user_id: Optional[str]
    """An external identifier for the user who is associated with the request.

    This should be a uuid, hash value, or other opaque identifier. Anthropic may use
    this id to help detect abuse. Do not include any identifying information such as
    name, email address, or phone number.
    """

Classes

Dependencies

  • typing
  • typing_extensions

Frequently Asked Questions

What does metadata_param.py do?
metadata_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does metadata_param.py depend on?
metadata_param.py imports 2 module(s): typing, typing_extensions.
What files import metadata_param.py?
metadata_param.py is imported by 3 file(s): __init__.py, completion_create_params.py, message_create_params.py.
Where is metadata_param.py in the architecture?
metadata_param.py is located at src/anthropic/types/metadata_param.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