Python 3.9 is now generally available.

google.appengine.api.datastore_types.DecodeAppIdNamespace

Decodes app_namespace_str into an (app_id, namespace) pair.

This method is the reverse of EncodeAppIdNamespace and is needed for datastore_file_stub.

app_namespace_str An encoded (app_id, namespace) pair created by EncodeAppIdNamespace.

(app_id, namespace) pair encoded in app_namespace_str.