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

public_members() — anthropic-sdk-python Function Reference

Architecture documentation for the public_members() function in detect-breaking-changes.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  9c114e18_5e3c_b63a_11ef_2659f5073725["public_members()"]
  e9c55d52_4360_b6d8_1678_cf4b84ab4a22["detect-breaking-changes.py"]
  9c114e18_5e3c_b63a_11ef_2659f5073725 -->|defined in| e9c55d52_4360_b6d8_1678_cf4b84ab4a22
  66364fd6_7fc7_c5e2_f6db_7e9ee55f28a2["find_breaking_changes()"]
  66364fd6_7fc7_c5e2_f6db_7e9ee55f28a2 -->|calls| 9c114e18_5e3c_b63a_11ef_2659f5073725
  style 9c114e18_5e3c_b63a_11ef_2659f5073725 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/detect-breaking-changes.py lines 13–20

def public_members(obj: griffe.Object | griffe.Alias) -> dict[str, griffe.Object | griffe.Alias]:
    if isinstance(obj, griffe.Alias):
        # ignore imports for now, they're technically part of the public API
        # but we don't have good preventative measures in place to prevent
        # changing them
        return {}

    return {name: value for name, value in obj.all_members.items() if not name.startswith("_")}

Subdomains

Frequently Asked Questions

What does public_members() do?
public_members() is a function in the anthropic-sdk-python codebase, defined in scripts/detect-breaking-changes.py.
Where is public_members() defined?
public_members() is defined in scripts/detect-breaking-changes.py at line 13.
What calls public_members()?
public_members() is called by 1 function(s): find_breaking_changes.

Analyze Your Own Codebase

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

Try Supermodel Free