Commit c2e77ded authored by liuzhe-lz's avatar liuzhe-lz Committed by chicm-ms
Browse files

Change get_xxx_id's return type to meet API doc (#1780)

parent 31b2b886
......@@ -101,4 +101,4 @@ def get_trial_id():
return trial_env_vars.NNI_TRIAL_JOB_ID
def get_sequence_id():
return trial_env_vars.NNI_TRIAL_SEQ_ID
return int(trial_env_vars.NNI_TRIAL_SEQ_ID)
......@@ -44,13 +44,13 @@ def get_next_parameter():
}
def get_experiment_id():
pass
return 'STANDALONE'
def get_trial_id():
pass
return 'STANDALONE'
def get_sequence_id():
pass
return 0
def send_metric(string):
metric = json_tricks.loads(string)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment