A class that can handle project id <--> application id transformations.
Inherits From: expected_type
google.appengine.datastore.datastore_pbs.IdResolver(
app_ids=()
)
Args |
app_ids
|
A list of application ids with application id shard set. i.e.
s~my_app or e~my_app.
|
Methods
resolve_app_id
View source
resolve_app_id(
project_id
)
Converts a project id to an application id.
Args |
project_id
|
The project id.
|
Returns |
The application id.
|
Raises |
InvalidConversionError
|
if the application is unknown for the project id.
|
resolve_project_id
View source
resolve_project_id(
app_id
)
Converts an application id to a project id.
Args |
app_id
|
The application id.
|