Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make init_project accepting kwargs only #805

Merged
merged 3 commits into from
Jan 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
)