169 Update README for defaults decorator location
173 Async subclasses can now decorate their target functions
- There's a couple reasons you'd want to leverage this:
1. Instead of decorating every target function's definition, just use the
appropriate Async type.
2. When you only want the decorated function for tasks.
Examples of the latter, where you'd want extra functionality for the Task but
not when using the target function as a normal local procedure call, would be:
logging out extra context for the task
top-level try/except handling for the task
a retry loop, instead of just kicking off a new task when a transient error happens
174 Some README & test cleanups.
- Correct some imports and small mistakes in some examples in the README.
Found out after the README changes that Travis CI was failing because of some typos in the tests. Added a commit for that too.
175 Trigger error handler on DeadlineExceededError
- We will now trigger the failure handler from any exception that inherits from BaseException (such as google.appengine.runtime.DeadlineExceededError) instead of Exception.