MCPcopy Create free account
hub / github.com/celery/celery / __init__

Method __init__

t/unit/conftest.py:52–53  ·  view source on GitHub ↗
(self, v=None, *a, **kw)

Source from the content-addressed store, hash-verified

50class WhateverIO(io.StringIO):
51
52 def __init__(self, v=None, *a, **kw):
53 _SIO_init(self, v.decode() if isinstance(v, bytes) else v, *a, **kw)
54
55 def write(self, data):
56 _SIO_write(self, data.decode() if isinstance(data, bytes) else data)

Callers

nothing calls this directly

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected