Skip to content

Commit b2518b4

Browse files
gustavocidornelaswhoseoyster
authored andcommitted
Removed projectId from the payload on model and dataset uploads
1 parent 0e0a37f commit b2518b4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

unboxapi/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,6 @@ def add_model(
447447
endpoint = f"projects/{project_id}/ml-models"
448448
payload = dict(
449449
name=name,
450-
projectId=project_id,
451450
description=description,
452451
classNames=class_names,
453452
architectureType=model_type.name,
@@ -650,7 +649,6 @@ def add_dataset(
650649
)
651650
endpoint = f"projects/{project_id}/datasets"
652651
payload = dict(
653-
projectId=project_id,
654652
commitMessage=commit_message,
655653
taskType=task_type.value,
656654
classNames=class_names,

0 commit comments

Comments
 (0)