fixes mypy error:
volumes/fs/async_job.py: note: In member "__init__" of class "AsyncJobs":
volumes/fs/async_job.py:97: error: Need type annotation for 'q'
Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
def __init__(self, volume_client, name_pfx, nr_concurrent_jobs):
self.vc = volume_client
# queue of volumes for starting async jobs
- self.q = deque()
+ self.q = deque() # type: deque
# volume => job tracking
self.jobs = {}
# lock, cv for kickstarting jobs