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

Function public_members

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

Source from the content-addressed store, hash-verified

33
34
35def public_members(obj: griffe.Object | griffe.Alias) -> dict[str, griffe.Object | griffe.Alias]:
36 obj = resolve_assignment_alias(obj)
37 if isinstance(obj, griffe.Alias):
38 # ignore imports for now, they're technically part of the public API
39 # but we don't have good preventative measures in place to prevent
40 # changing them
41 return {}
42
43 return {name: value for name, value in obj.all_members.items() if not name.startswith("_")}
44
45
46def find_breaking_changes(

Callers 1

find_breaking_changesFunction · 0.85

Calls 1

resolve_assignment_aliasFunction · 0.85

Tested by

no test coverage detected