Skip to content

Looks like we don't expose the Dataset class as datastore.Dataset? #709

@jgeewax

Description

@jgeewax

There are some docs that use the following syntax:

>>> from gcloud import datastore
>>> dataset = datastore.get_dataset('dataset-id')

I'm not sure if this is accurate, but either way, if we're following the convention of datastore/init.py, this should be:

>>> from gcloud import datastore
>>> dataset = datastore.Dataset('dataset-id')

However I don't see the import in __init__.py, so I'm guessing that neither of these work...?

Metadata

Metadata

Assignees

Labels

api: datastoreIssues related to the Datastore API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions