Omair Shamshir
Omair Shamshir

Reputation: 2136

Google app engine get string key from ndb key object

I am new to google app engine , so the question may sound stupid. How to get string form of the ndb key object i tried str() method but it does not return the complete key.

Upvotes: 1

Views: 526

Answers (1)

Daniel Roseman
Daniel Roseman

Reputation: 599600

You can use the urlsafe() method.

See the documentation.

Upvotes: 2

Related Questions