Skip to content

Commit b196bb2

Browse files
committed
Defaults config to None
1 parent 28e9f7e commit b196bb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/schema/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Model(DbObject):
1818
name = Field.String("name")
1919
model_runs = Relationship.ToMany("ModelRun", False)
2020

21-
def create_model_run(self, name, config) -> "ModelRun":
21+
def create_model_run(self, name, config=None) -> "ModelRun":
2222
""" Creates a model run belonging to this model.
2323
2424
Args:

0 commit comments

Comments
 (0)