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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected