There was an error while loading. Please reload this page.
1 parent 69dc45a commit 1d08991Copy full SHA for 1d08991
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