(self, model)
gets the target for that specific model if it exists.
    :param modeL; the key in the models dictionary.
gets the target for that specific model if it exists.
    :param modeL; the key in the models dictionary.
gets the target for that specific model if it exists . : param modeL ; the key in the models dictionary .
def get_target(self, model):
    '''
    gets the target for that specific model if it exists.
    :param modeL; the key in the models dictionary.
    '''
    if model in self.models:
        if 'target' in self.models[model].keys():
            return self.models[model]['target']
        else:
            raise Exception("Target is not defined for {}".format(model))
    else:
        raise Exception(
            "The requested model has not been applied to the client.")
def get_target ( self , model ) : if model in self . models : if 'target' in self . models [ model ] . keys ( ) : return self . models [ model ] [ 'target' ] else : raise Exception ( "Target is not defined for {}" . format ( model ) ) else : raise Exception ( "The requested model has not been applied to the client." )