MCPcopy Create free account
hub / github.com/googleapis/google-api-python-client / UnexpectedBodyError

Class UnexpectedBodyError

googleapiclient/errors.py:190–197  ·  view source on GitHub ↗

Exception raised by RequestMockBuilder on unexpected bodies.

Source from the content-addressed store, hash-verified

188
189
190class UnexpectedBodyError(Error):
191 """Exception raised by RequestMockBuilder on unexpected bodies."""
192
193 def __init__(self, expected, provided):
194 """Constructor for an UnexpectedMethodError."""
195 super(UnexpectedBodyError, self).__init__(
196 "Expected: [%s] - Provided: [%s]" % (expected, provided)
197 )

Callers 1

__call__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…