File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def __init__(
4545 iterations : Optional [dict ] = {},
4646 status : Optional [str ] = "inactive" ,
4747 init_local : Optional [bool ] = False ,
48- profile_name : Optional [str ] = "default" ,
48+ # profile_name: Optional[str] = "default",
4949 file_dir : Optional [str ] = os .getcwd (),
5050 * args ,
5151 ** kwargs ,
@@ -76,7 +76,7 @@ def __init__(
7676 description = description ,
7777 status = status ,
7878 local = init_local ,
79- profile_name = profile_name ,
79+ ** kwargs ,
8080 )
8181 # Initialize other propheto services
8282 # Classes to create ML services
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ def __init__(
3838 # if so then load iteration values
3939 if iterations != {}:
4040 for id , item in iterations .items ():
41+ item = json .loads (item ) if type (item ) == str else item
4142 item ["id" ] = id
4243 self .add_iteration (** item )
4344
You can’t perform that action at this time.
0 commit comments