Skip to content

Commit fc9973d

Browse files
authored
Merge pull request #23 from Propheto-io/profile-bug
Update to profile bug and iteration loading issue
2 parents f891c88 + 8b3e508 commit fc9973d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

propheto/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

propheto/project/configuration/configuration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)