8000 ndb Key Snippet is Incorrect · Issue #1149 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
ndb Key Snippet is Incorrect #1149
Closed
Closed
@howinator

Description

@howinator

In which file did you encounter the issue?

appengine/standard/ndb/entities/snippets.py

Did you change the file? If so, how?

I have a fix which properly describes that keys are an instance property and not a class property. You can see this change here.

Describe the issue

I may have already properly described the issue, but the snipped in one of the ndb snippets indicates that the key property is a class attribute. It is actually an instance attribute. My branch above fixes this and I can submit a PR once I get the 👍 on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0