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

Method __init__

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected