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

Address seventh part of 451: Make dataset_id required on Key. #463

Merged
merged 2 commits into from
Dec 31, 2014
Merged
Changes from 1 commit
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
Prev Previous commit
Clarifying required-ness of dataset_id in Key constructor.
  • Loading branch information
dhermes committed Dec 31, 2014
commit f697464c0d489e76b422973016b20bbc235e60cf
5 changes: 3 additions & 2 deletions gcloud/datastore/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ def __init__(self, *path_args, **kwargs):
passed as a keyword argument.

:type dataset_id: string
:param dataset_id: The dataset ID associated with the key. This is
required. Can only be passed as a keyword argument.
:param dataset_id: The dataset ID associated with the key. Required,
unless the implicit dataset ID has been set. Can
only be passed as a keyword argument.
"""
self._path = self._parse_path(path_args)
self._flat_path = path_args
Expand Down