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

Method __init__

tests/test_middleware.py:117–118  ·  view source on GitHub ↗
(self, **changes: object)

Source from the content-addressed store, hash-verified

115
116class MutateBody(Middleware):
117 def __init__(self, **changes: object) -> None:
118 self.changes = changes
119
120 def _mutate(self, request: APIRequest) -> APIRequest:
121 body = request.json

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected