(self, coro, **kwargs)
| 94 | class CoroutineInputTransformer(InputTransformer): |
| 95 | """Wrapper for an input transformer implemented as a coroutine.""" |
| 96 | def __init__(self, coro, **kwargs): |
| 97 | # Prime it |
| 98 | self.coro = coro(**kwargs) |
| 99 | next(self.coro) |
| 100 | |
| 101 | def __repr__(self): |
| 102 | return "CoroutineInputTransformer(coro={0!r})".format(self.coro) |
nothing calls this directly
no outgoing calls
no test coverage detected