You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by gi...@git.apache.org on 2017/09/28 05:30:44 UTC
[GitHub] Mogball opened a new pull request #3530: Feature: memoized get_sqla_engine and some others
Mogball opened a new pull request #3530: Feature: memoized get_sqla_engine and some others
URL: https://github.com/apache/incubator-superset/pull/3530
Added `@memoized` to some model functions, i.e. `get_sqla_engine()`
Also modified `@memoized` to take an argument `watch` which is a tuple of the names of instance attributes that the decorator should check along with the method arguments.
`@memoized` without `watch` works as usual.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services