Skip to content

Commit

Permalink
Update datastore_wordcount.py (#23724)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlgevers authored Nov 10, 2022
1 parent 96cc252 commit 4522f4c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def __init__(self, project, namespace, kind, ancestor):

def make_entity(self, content):
ancestor_key = Key([self._kind, self._ancestor],
self._namespace,
self._project)
namespace=self._namespace,
project=self._project)
# Namespace and project are inherited from parent key.
key = Key([self._kind, str(uuid.uuid4())], parent=ancestor_key)
entity = Entity(key)
Expand Down

0 comments on commit 4522f4c

Please sign in to comment.