• Vincent Pelletier's avatar
    PythonScript, SQLMethod: Fix expression_instance getting stale · 5d69814b
    Vincent Pelletier authored
    Before this change, expression_instance would not be set when expression is
    modified, leading to either non-applied filter expression (when no
    expression_instance existed) or use of an outdated expression.
    Use a volatile attribute to store the expression: it does not change the
    amount of work needed to load the Expression instance (pickle is the raw
    python expression as text) and it remove data duplication in exported
    documents.
    5d69814b
expression.py 2.09 KB