Skip to content

Commit da2158f

Browse files
committed
CHANGELOG/fix
1 parent f4262d0 commit da2158f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,3 +651,7 @@ a `Label`. Default value is 0.0.
651651

652652
## Version 2.2 (2019-10-18)
653653
Changelog not maintained before version 2.2.
654+
655+
### Changed
656+
* `Model.create_model_run()`
657+
* Add training metadata config as a model run creation param

labelbox/schema/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def create_model_run(self, name, config=None) -> "ModelRun":
3939
res = self.client.execute(
4040
query_str, {
4141
name_param: name,
42-
config_param: json.dumps(config),
42+
config_param: config,
4343
model_id_param: self.uid
4444
})
4545
return ModelRun(self.client, res["createModelRun"])

0 commit comments

Comments
 (0)