Skip to content

Access properties directly from the entity #508

@pcostell

Description

@pcostell

When modifying or accessing entity properties, consistently you have to step into the data property:

my_entity.data.my_property
my_entity.data.my_other_property

Compare this to the other gcloud datastore APIs:

Python:

my_entity['my_property']

Ruby:

my_entity[:my_property]

It would be nice if properties could be accessed on the entity directly.

Metadata

Metadata

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