#NEWLINE# def session( transport_type = 'stdio' , * args , **kwargs ) : #NEWLINE# #INDENT# loop = EventLoop ( transport_type , * args , ** kwargs ) #NEWLINE# msgpack_stream = MsgpackStream ( loop ) #NEWLINE# async_session = AsyncSession ( msgpack_stream ) #NEWLINE# session = Session ( async_session ) #NEWLINE# return session