File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1185,14 +1185,15 @@ def add(self, fps):
11851185 origin = self ._frontier ._frontiers ._origin
11861186 return origin .add (self ._frontier .key , self .key , fps )
11871187
1188- def iter (self , mincount = None ):
1188+ def iter (self , ** kwargs ):
11891189 """Iterate requests in slot."""
11901190 origin = self ._frontier ._frontiers ._origin
1191- return origin .read (self ._frontier .key , self .key , mincount )
1191+ path = (self ._frontier .key , 's' , self .key , 'q' )
1192+ return origin .apiget (path , params = kwargs )
11921193
1193- def list (self , mincount = None ):
1194+ def list (self , ** kwargs ):
11941195 """List requests in slot."""
1195- return list (self .iter (mincount = mincount ))
1196+ return list (self .iter (** kwargs ))
11961197
11971198 def delete (self , ids = None ):
11981199 """Delete slot or some specific requests."""
You can’t perform that action at this time.
0 commit comments