Skip to content

Commit

Permalink
Make init_project accepting kwargs only (#805)
Browse files Browse the repository at this point in the history
  • Loading branch information
shnela authored Jan 4, 2022
1 parent 9ea9cbe commit 6119ad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Fixes
- Fixed legacy url in NVML information ([#795](https://github.com/neptune-ai/neptune-client/pull/795))
- Make init_project accepting kwargs only ([#805](https://github.com/neptune-ai/neptune-client/pull/805))

## neptune-client 0.14.0

Expand Down
5 changes: 4 additions & 1 deletion neptune/new/internal/init_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@


def init_project(
*,
name: Optional[str] = None,
api_token: Optional[str] = None,
mode: str = Mode.ASYNC.value,
Expand Down Expand Up @@ -115,4 +116,6 @@ def get_project(
.. _get_project docs page:
https://docs.neptune.ai/api-reference/neptune#get_project
"""
return init_project(name, api_token, mode=Mode.READ_ONLY.value, proxies=proxies)
return init_project(
name=name, api_token=api_token, mode=Mode.READ_ONLY.value, proxies=proxies
)

0 comments on commit 6119ad8

Please sign in to comment.