MCPcopy
hub / github.com/getsentry/sentry / dump

Function dump

src/sentry/utils/json.py:111–113  ·  view source on GitHub ↗
(value: Any, fp: IO[str], **kwargs: NoReturn)

Source from the content-addressed store, hash-verified

109
110# NoReturn here is to make this a mypy error to pass kwargs, since they are currently silently dropped
111def dump(value: Any, fp: IO[str], **kwargs: NoReturn) -> None:
112 for chunk in _default_encoder.iterencode(value):
113 fp.write(chunk)
114
115
116# NoReturn here is to make this a mypy error to pass kwargs, since they are currently silently dropped

Callers

nothing calls this directly

Calls 2

iterencodeMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected