示例#1
0
 def __init__(self, *args, **kwargs):
     ''' Constructor '''
     self._new_response = trio.Event()
     self._nursery = kwargs.pop('nursery')
     Cursor.__init__(self, *args, **kwargs)
示例#2
0
 def __init__(self, *args, **kwargs):
     Cursor.__init__(self, *args, **kwargs)
     self.new_response = asyncio.Future()
示例#3
0
 def __init__(self, *args, **kwargs):
     """ Constructor """
     self._new_response = trio.Event()
     self._nursery = kwargs.pop("nursery")
     Cursor.__init__(self, *args, **kwargs)