(self, request)
Returns the next flow object, or None if no matching flow was
            found.
Returns the next flow object, or None if no matching flow was
            found.
Returns the next flow object or None if no matching flow was found .
def next_flow(self, request):
        """
            Returns the next flow object, or None if no matching flow was
            found.
        """
        l = self.fmap.get(self._hash(request))
        if not l:
            return None

        if self.nopop:
            return l[0]
        else:
            return l.pop(0)
def next_flow ( self , request ) : l = self . fmap . get ( self . _hash ( request ) ) if not l : return None if self . nopop : return l [ 0 ] else : return l . pop ( 0 )