class Key (encoded = no) A unique key for the Datastore object.
The key can be converted to a string by passing the Key object to str (). The string "urlsafe" - uses only characters that are valid for use in URLs. The string representation of the key can be converted back to the Key object by passing it to the key constructor (encoded argument).
Note. The string representation of the key looks cryptic, but not encrypted! It can be converted back to raw key data, both the view and the identifier. If you do not want to expose this data to your users (and allow them to easily guess the keys of other objects), then encrypt these lines or use something else.
encoded form str of the key instance to convert back to key.
source share