#NEWLINE# def __init__( self , config ) : #NEWLINE# #INDENT# 'TaskConfig constructor.\n\n        :param config: Dict with configuration of specified task\n        ' #NEWLINE# if ( config is None ) : #NEWLINE# #INDENT# raise Exception ( _ ( 'Input task is empty' ) ) #NEWLINE# #UNINDENT# self . version = self . _get_version ( config ) #NEWLINE# self . _validate_version ( ) #NEWLINE# self . _validate_json ( config ) #NEWLINE# self . title = config . get ( 'title' , 'Task' ) #NEWLINE# self . tags = config . get ( 'tags' , [ ] ) #NEWLINE# self . description = config . get ( 'description' ) #NEWLINE# self . subtasks = self . _make_subtasks ( config )