(ctx, **kwargs)
\b
    - DESCRIPTION:
        Load Model Command

    \b
    - USAGE:
        flow model load -c fate_flow/examples/publish_load_model.json
        flow model load -j $JOB_ID
\b
    - DESCRIPTION:
        Load Model Command
\ b - DESCRIPTION : Load Model Command
def load(ctx, **kwargs):
    """
    \b
    - DESCRIPTION:
        Load Model Command

    \b
    - USAGE:
        flow model load -c fate_flow/examples/publish_load_model.json
        flow model load -j $JOB_ID
    """
    if not kwargs.get("conf_path") and not kwargs.get("job_id"):
        prettify(
            {
                "retcode": 100,
                "retmsg": "Load model failed. No arguments received, "
                          "please provide one of arguments from job id and conf path."
            }
        )
    else:
        if kwargs.get("conf_path") and kwargs.get("job_id"):
            prettify(
                {
                    "retcode": 100,
                    "retmsg": "Load model failed. Please do not provide job id and "
                              "conf path at the same time."
                }
            )
        else:
            config_data, dsl_data = preprocess(**kwargs)
            access_server('post', ctx, 'model/load', config_data)
def load ( ctx , * * kwargs ) : if not kwargs . get ( "conf_path" ) and not kwargs . get ( "job_id" ) : prettify ( { "retcode" : 100 , "retmsg" : "Load model failed. No arguments received, " "please provide one of arguments from job id and conf path." } ) else : if kwargs . get ( "conf_path" ) and kwargs . get ( "job_id" ) : prettify ( { "retcode" : 100 , "retmsg" : "Load model failed. Please do not provide job id and " "conf path at the same time." } ) else : config_data , dsl_data = preprocess ( * * kwargs ) access_server ( 'post' , ctx , 'model/load' , config_data )