![]() |
App Engine Python SDK
v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
|
Public Member Functions | |
def | start |
def | num |
def | execute_query |
def | get_key_values |
def | redirect_with_message |
![]() | |
def | generate |
def | base_path |
def | filter_url |
def | in_production |
def | interactive_console_enabled |
![]() | |
def | initialize |
def | get |
def | post |
def | head |
def | options |
def | put |
def | delete |
def | trace |
def | error |
def | redirect |
def | handle_exception |
def | new_factory |
def | get_url |
Additional Inherited Members | |
![]() | |
request | |
response | |
The base request handler for our datastore admin pages. We provide utility functions for querying the datastore and inferring the types of entity properties.
def google.appengine.ext.admin.DatastoreRequestHandler.execute_query | ( | self, | |
start = 0 , |
|||
num = 0 , |
|||
no_order = False |
|||
) |
Parses the URL arguments and executes the query. Args: start: How many entities from the beginning of the result list should be skipped from the query. num: How many entities should be returned, if 0 (default) then a reasonable default will be chosen. Returns: A tuple (list of entities, total entity count). If inappropriate URL arguments are given, we return an empty set of results and 0 for the entity count.
def google.appengine.ext.admin.DatastoreRequestHandler.get_key_values | ( | self, | |
entities | |||
) |
Returns the union of key names used by the given list of entities. We return the union as a dictionary mapping the key names to a sample value from one of the entities for the key name.
def google.appengine.ext.admin.DatastoreRequestHandler.num | ( | self | ) |
Returns the sanitized "num" argument from the URL.
def google.appengine.ext.admin.DatastoreRequestHandler.redirect_with_message | ( | self, | |
message | |||
) |
Redirect to the 'next' url with message added as the msg parameter.
def google.appengine.ext.admin.DatastoreRequestHandler.start | ( | self | ) |
Returns the santized "start" argument from the URL.