swagger_server/controllers/train_controller.py
def train_post(trainData):  # noqa: E501
    """Trains a new model

     # noqa: E501

    :param trainData: Neural network training parameters and training data description
    :type trainData: dict | bytes

    :rtype: TrainStartedSuccess
    """
    if connexion.request.is_json:
        trainData = TrainData.from_dict(connexion.request.get_json())  # noqa: E501
    return 'do some magic!'
Trains a new model

     # noqa: E501

    :param trainData: Neural network training parameters and training data description
    :type trainData: dict | bytes

    :rtype: TrainStartedSuccess
    
Trains a new model
noqa: E501
Trains a new model noqa : E501
def train_post(trainData):  
    """Trains a new model
    :param trainData: Neural network training parameters and training data description
    :type trainData: dict | bytes
    :rtype: TrainStartedSuccess
    """
    if connexion.request.is_json:
        trainData = TrainData.from_dict(connexion.request.get_json())  
    return 'do some magic!'
def train_post ( trainData ) : if connexion . request . is_json : trainData = TrainData . from_dict ( connexion . request . get_json ( ) ) return 'do some magic!'
Trains a new model
 noqa: E501
Trains a new model noqa : E501
# noqa: E501 """Trains a new model

     # noqa: E501

    :param trainData: Neural network training parameters and training data description
    :type trainData: dict | bytes

    :rtype: TrainStartedSuccess
    """ # noqa: E501
None
TrainStartedSuccess
trainData
Neural network training parameters and training data description
Neural network training parameters and training data description