-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The three model class calls below all provide status (the last also shows progress %)- you can likely just get rid of GetModelGroupSelectedModelStatus because it serves no unique function OR it might make sense to have GetModelGroup also show progress and then you could eliminate both GetModelGroupSelectedModelStatus and GetTrainingModelWithProgress. This would help simplify the API while not eliminating any functionality.
mg = client.call(GetModelGroup(1309))
print(mg.status)
# 'COMPLETE'
status = client.call(GetModelGroupSelectedModelStatus(1309))
print(status)
# 'COMPLETE'
progress = client.call(GetTrainingModelWithProgress(1309))
print(progress.status)
print(progress.training_progress.percent_complete)
# 'COMPLETE' 100.0
Metadata
Metadata
Assignees
Labels
No labels