8000 fix broken links by angelafunk · Pull Request #2239 · GoogleCloudPlatform/python-docs-samples · GitHub
[go: up one dir, main page]

Skip to content
8000

fix broken links #2239

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

Merged
merged 3 commits into from
Jul 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions appengine/standard/ndb/entities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ various operations on ndb entities.
These samples are used on the following documentation pages:

>
* https://cloud.google.com/appengine/docs/python/datastore/creating-entities
* https://cloud.google.com/appengine/docs/python/datastore/creating-entity-models
* https://cloud.google.com/appengine/docs/python/users/userobjects
* https://cloud.google.com/appengine/docs/python/datastore/creating-entity-keys
* https://cloud.google.com/appengine/docs/standard/python/ndb/creating-entities
* https://cloud.google.com/appengine/docs/standard/python/ndb/creating-entity-models
* https://cloud.google.com/appengine/docs/standard/python/users/userobjects
* https://cloud.google.com/appengine/docs/standard/python/ndb/creating-entity-keys

<!-- end-auto-doc-link -->
4 changes: 1 addition & 3 deletions appengine/standard/ndb/entities/snippets_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_get_key_kind_and_id(testbed):
snippets.create_entity_using_keyword_arguments())
kind_string, ident = snippets.get_key_kind_and_id(sandy_key)
assert kind_string == 'Account'
assert isinstance(ident, long)


def test_get_url_safe_key(testbed):
Expand All @@ -90,7 +89,6 @@ def test_get_key_and_numeric_id_from_url_safe_key(testbed):
key, ident, kind_string = (
snippets.get_key_and_numeric_id_from_url_safe_key(urlsafe))
assert isinstance(key, ndb.Key)
assert isinstance(ident, long)
assert isinstance(kind_string, str)


Expand Down Expand Up @@ -124,7 +122,7 @@ def test_set_key_directly(testbed):

def test_create_entity_with_generated_id(testbed):
result = snippets.create_entity_with_generated_id()
assert isinstance(result.key.id(), long)
assert result.key.id() is not None


def test_demonstrate_entities_with_parent_hierarchy(testbed):
Expand Down
0