We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2414c18 commit 7324c9eCopy full SHA for 7324c9e
datastore/google/cloud/datastore/key.py
@@ -307,6 +307,11 @@ def to_legacy_urlsafe(self):
307
argument to ``ndb.Key(urlsafe=...)``. The base64 encoded values
308
will have padding removed.
309
310
+ .. note::
311
+
312
+ The string returned by ``to_legacy_urlsafe`` is equivalent, but
313
+ not identical, to the string returned by ``ndb``.
314
315
:rtype: bytes
316
:returns: A bytestring containing the key encoded as URL-safe base64.
317
"""
0 commit comments