(self, key)
This should return the appropriate TasksConfig instance
        if the gotten value is a mapping or sequence.
This should return the appropriate TasksConfig instance
        if the gotten value is a mapping or sequence.
This should return the appropriate TasksConfig instance if the gotten value is a mapping or sequence .
def __getitem__(self, key):
        """
        This should return the appropriate TasksConfig instance
        if the gotten value is a mapping or sequence.
        """
        # For example:
        # if isinstance(val, (list, tuple)):
        #     return MySubclassOfTasksConfigBaseSequence(val)
        # elif isinstance(val, dict):
        #     return MySubclassOfTasksConfigBaseMapping(val)
        raise NotImplementedError("You need to write this")
def __getitem__ ( self , key ) : # For example: # if isinstance(val, (list, tuple)): #     return MySubclassOfTasksConfigBaseSequence(val) # elif isinstance(val, dict): #     return MySubclassOfTasksConfigBaseMapping(val) raise NotImplementedError ( "You need to write this" )