def renderer(format, mimetypes=(), priority=0):

    def g(f):
        f.is_renderer = True
        f.format = format
        f.mimetypes = set(MediaType(mimetype, priority)
                          for mimetype in mimetypes)
        return f
    return g
Write the given bytes or bytearray object *b* to the socket
dataset/ETHPy150Open mollyproject/mollyproject/molly/utils/views.py/renderer--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/socket.py/SocketIO.write