Skip to content

Commit

Permalink
docs: fix type hint for urlsafe (#532)
Browse files Browse the repository at this point in the history
Doc fix from #529
  • Loading branch information
cguardia authored Sep 2, 2020
1 parent e5df1e3 commit 87a3475
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google/cloud/ndb/key.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ class Key(object):
~google.cloud.datastore._app_engine_key_pb2.Reference]): A
reference protobuf representing a key.
serialized (Optional[bytes]): A reference protobuf serialized to bytes.
urlsafe (Optional[str]): A reference protobuf serialized to bytes. The
urlsafe (Optional[bytes]): A reference protobuf serialized to bytes. The
raw bytes are then converted to a websafe base64-encoded string.
pairs (Optional[Iterable[Tuple[str, Union[str, int]]]]): An iterable
of ``(kind, id)`` pairs. If this argument is used, then
Expand Down Expand Up @@ -1276,7 +1276,7 @@ def _parse_from_ref(
~google.cloud.datastore._app_engine_key_pb2.Reference]): A
reference protobuf representing a key.
serialized (Optional[bytes]): A reference protobuf serialized to bytes.
urlsafe (Optional[str]): A reference protobuf serialized to bytes. The
urlsafe (Optional[bytes]): A reference protobuf serialized to bytes. The
raw bytes are then converted to a websafe base64-encoded string.
app (Optional[str]): The Google Cloud Platform project (previously
on Google App Engine, this was called the Application ID).
Expand Down

0 comments on commit 87a3475

Please sign in to comment.