-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Entity documentation error #630
Comments
Both of these are available as aliases in >>> import gcloud
>>> gcloud.datastore.api.get
<function get at 0x7f9113397488>
>>> gcloud.datastore.get
<function get at 0x7f9113397488>
>>> gcloud.datastore.entity.Entity
<class 'gcloud.datastore.entity.Entity'>
>>> gcloud.datastore.Entity
<class 'gcloud.datastore.entity.Entity'> |
@rstuart85 You are both correct and "incorrect". The classes and functions needed for
@pdknsk Thanks for the assist. |
FWIW, on the terminology front:
|
👍 Thanks @tseaver |
* migrate and delete * add readme * move to different folder
Line 37 of gcloud.datastore.entity.Entity says
There is no such function. I think you mean
gcloud.datastore.api.get()
.Also, on a side note but slightly related, I find the package name
gcloud.datastore.entity.Entity
strange. Why not justgcloud.datastore.Entity
? Seems that the currnet approach probably goes against PEP 423 and 25.The text was updated successfully, but these errors were encountered: