Module Expr Str Assign NameStore Str Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr decorator_list NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A Models for the Google Analytics superProxy.

  JsonQueryProperty: Property to store API Responses.
  GaSuperProxyUser: Represents the users of the service.
  GaSuperProxyUserInvitation: Represents an user invited to the service.
  ApiQuery: Models the API Queries created by users.
  ApiQueryResponse: Represents a successful response from an API.
  ApiErrorResponse: Represents an error response from an API.
 N/A __author__ pete.frisella@gmail.com (Pete Frisella) N/A json controllers.util models_helper google.appengine.ext db JsonQueryProperty N/A N/A db Property N/A N/A Property to store/retrieve queries and responses in JSON format. N/A data_type N/A N/A db BlobProperty get_value_for_datastore N/A N/A self model_instance N/A N/A N/A value N/A N/A N/A super JsonQueryProperty self get_value_for_datastore model_instance N/A N/A N/A db Blob N/A N/A json dumps value N/A make_value_from_datastore N/A N/A self value N/A N/A N/A N/A value None N/A N/A None N/A value N/A N/A json loads N/A str value N/A N/A N/A N/A super JsonQueryProperty self make_value_from_datastore value N/A N/A GaSuperProxyUser N/A N/A db Model N/A N/A Models a GaSuperProxyUser and user settings. N/A email N/A N/A db StringProperty N/A nickname N/A N/A db StringProperty N/A ga_refresh_token N/A N/A db StringProperty N/A ga_access_token N/A N/A db StringProperty N/A ga_token_expiry N/A N/A db DateTimeProperty N/A GaSuperProxyUserInvitation N/A N/A db Model N/A N/A Models a user invited to use the service. N/A email N/A N/A db StringProperty N/A issued N/A N/A db DateTimeProperty N/A ApiQuery N/A N/A db Model N/A N/A Models an API Query. N/A user N/A N/A db ReferenceProperty GaSuperProxyUser required True collection_name api_queries N/A name N/A N/A db StringProperty required True N/A request N/A JsonQueryProperty required True N/A refresh_interval N/A N/A db IntegerProperty required True default 3600 N/A in_queue N/A N/A db BooleanProperty required True default False N/A is_active N/A N/A db BooleanProperty required True default False N/A is_scheduled N/A N/A db BooleanProperty required True default False N/A modified N/A N/A db DateTimeProperty is_abandoned N/A N/A self N/A N/A N/A Determines whether the API Query is considered abandoned. N/A N/A N/A models_helper IsApiQueryAbandoned self N/A property is_error_limit_reached N/A N/A self N/A N/A N/A Returns True if the API Query has hit error limits. N/A N/A N/A models_helper IsErrorLimitReached self N/A property last_request N/A N/A self N/A N/A N/A Returns the timestamp of the last request. N/A N/A N/A models_helper GetApiQueryLastRequest N/A str N/A N/A self key N/A property last_request_timedelta N/A N/A self N/A N/A N/A Returns how long since the API Query response was last requested. N/A N/A N/A models_helper GetLastRequestTimedelta self N/A property modified_timedelta N/A N/A self from_time N/A None N/A N/A Returns how long since the API Query was updated. N/A N/A N/A models_helper GetModifiedTimedelta self from_time N/A property request_count N/A N/A self N/A N/A N/A Reuturns the request count for the API Query. N/A N/A N/A models_helper GetApiQueryRequestCount N/A str N/A N/A self key N/A property N/A ApiQueryResponse N/A N/A db Model N/A N/A Models an API Response. N/A api_query N/A N/A db ReferenceProperty ApiQuery required True collection_name api_query_responses N/A content N/A JsonQueryProperty required True N/A modified N/A N/A db DateTimeProperty required True N/A ApiErrorResponse N/A N/A db Model N/A N/A Models an API Query Error Response. N/A api_query N/A N/A db ReferenceProperty ApiQuery required True collection_name api_query_errors N/A content N/A JsonQueryProperty required True N/A timestamp N/A N/A db DateTimeProperty required True N/A