mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-20 21:56:09 +08:00
returns the size of the chain or iter on append
This commit is contained in:
@@ -449,6 +449,7 @@ class Iter(object):
|
||||
self.args.append(args)
|
||||
if self.started:
|
||||
self.started = False
|
||||
return self.length()
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
@@ -511,6 +512,7 @@ class Chain(object):
|
||||
if self.started:
|
||||
delete_group(self.group)
|
||||
self.started = False
|
||||
return self.length()
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user