def __init__(self, *args, **kwargs): ''' Constructor ''' self._new_response = trio.Event() self._nursery = kwargs.pop('nursery') Cursor.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwargs): Cursor.__init__(self, *args, **kwargs) self.new_response = asyncio.Future()
def __init__(self, *args, **kwargs): """ Constructor """ self._new_response = trio.Event() self._nursery = kwargs.pop("nursery") Cursor.__init__(self, *args, **kwargs)