We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee78c0a commit 66d064fCopy full SHA for 66d064f
labelbox/schema/model.py
@@ -31,7 +31,7 @@ def create_model_run(self, name, config=None) -> "ModelRun":
31
config_param = "config"
32
model_id_param = "modelId"
33
ModelRun = Entity.ModelRun
34
- query_str = """mutation CreateModelRunPyApi($%s: String!, $%s: ID!) {
+ query_str = """mutation CreateModelRunPyApi($%s: String!, $%s: Json, $%s: ID!) {
35
createModelRun(data: {name: $%s, trainingMetadata: $%s, modelId: $%s}) {%s}}""" % (
36
name_param, model_id_param, name_param, config_param,
37
model_id_param, query.results_query_part(ModelRun))
0 commit comments