Skip to content

Commit

Permalink
[Rapid] Update create_project param (#44)
Browse files Browse the repository at this point in the history
* update is_selfserve param for create_project to rapid

* bump version
  • Loading branch information
xiaohua-scale committed Jul 29, 2021
1 parent d4f75f8 commit 7ba150e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scaleapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ def create_project(
project_name: str,
task_type: TaskType,
params: Dict = None,
self_serve: bool = False,
rapid: bool = False,
) -> Project:
"""Creates a new project.
https://docs.scale.com/reference#project-creation
Expand All @@ -681,7 +681,7 @@ def create_project(
type=task_type.value,
name=project_name,
params=params,
self_serve=self_serve,
rapid=rapid,
)
projectdata = self.api.post_request(endpoint, body=payload)
return Project(projectdata, self)
Expand Down
2 changes: 1 addition & 1 deletion scaleapi/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "2.2.0"
__version__ = "2.3.0"
__package_name__ = "scaleapi"

0 comments on commit 7ba150e

Please sign in to comment.