MCPcopy Create free account
hub / github.com/anthropics/anthropic-sdk-python / public_members

Function public_members

scripts/detect-breaking-changes.py:13–20  ·  view source on GitHub ↗
(obj: griffe.Object | griffe.Alias)

Source from the content-addressed store, hash-verified

11
12
13def public_members(obj: griffe.Object | griffe.Alias) -> dict[str, griffe.Object | griffe.Alias]:
14 if isinstance(obj, griffe.Alias):
15 # ignore imports for now, they're technically part of the public API
16 # but we don't have good preventative measures in place to prevent
17 # changing them
18 return {}
19
20 return {name: value for name, value in obj.all_members.items() if not name.startswith("_")}
21
22
23def find_breaking_changes(

Callers 1

find_breaking_changesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected