Is there any reason to write this using this pattern, instead of the decorator?

```
@ndb.transactional
def get_context(async):
    ...
    return context

context = get_context(async)
```