from celery.decorators import task
import time

@task(name="For test", bind=True)
def reportTest(self):
  time.sleep(5)
  self.update_state(meta={"name": "one", "status": "running"})
  time.sleep(5)
  self.update_state(meta={"name": "two", "status": "running"})
  
9b3180c6a6442439e762ce10a5ee67d1efe59103
<mask token>

<mask token>


@task(name='For test', bind=True)
def reportTest(self):
    time.sleep(5)
    self.update_state(meta={'name': 'one', 'status': 'running'})
    time.sleep(5)
    self.update_state(meta={'name': 'two', 'status': 'running'})

from celery.decorators import task
import time


@task(name='For test', bind=True)
def reportTest(self):
    time.sleep(5)
    self.update_state(meta={'name': 'one', 'status': 'running'})
    time.sleep(5)
    self.update_state(meta={'name': 'two', 'status': 'running'})

from celery.decorators import task
import time

@task(name="For test", bind=True)
def reportTest(self):
  time.sleep(5)
  self.update_state(meta={"name": "one", "status": "running"})
  time.sleep(5)
  self.update_state(meta={"name": "two", "status": "running"})
  