File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
mapswipe_workers/mapswipe_workers/project_types/validate_image Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,7 @@ class ValidateImageProject(BaseProject):
3838 def __init__ (self , project_draft ):
3939 super ().__init__ (project_draft )
4040 self .groups : Dict [str , ValidateImageGroup ] = {}
41- self .tasks : Dict [str , List [ValidateImageTask ]] = (
42- {}
43- ) # dict keys are group ids
41+ self .tasks : Dict [str , List [ValidateImageTask ]] = {} # dict keys are group ids
4442
4543 # NOTE: This is a standard structure defined on manager dashboard.
4644 # It's derived from other formats like COCO.
@@ -84,9 +82,7 @@ def create_groups(self):
8482 requiredCount = 0 ,
8583 numberOfTasks = self .groupSize ,
8684 )
87- logger .info (
88- f"{ self .projectId } - create_groups - created groups dictionary"
89- )
85+ logger .info (f"{ self .projectId } - create_groups - created groups dictionary" )
9086
9187 def create_tasks (self ):
9288 if len (self .groups ) == 0 :
Original file line number Diff line number Diff line change 22
33from mapswipe_workers .definitions import logger
44from mapswipe_workers .firebase .firebase import Firebase
5- from mapswipe_workers .project_types .validate_image .project import ValidateImageGroup , ValidateImageTask
5+ from mapswipe_workers .project_types .validate_image .project import (
6+ ValidateImageGroup ,
7+ ValidateImageTask ,
8+ )
69from mapswipe_workers .project_types .tutorial import BaseTutorial
710
811
You can’t perform that action at this time.
0 commit comments