villebro commented on issue #4920: form_data always returns empty dict URL: https://github.com/apache/incubator-superset/issues/4920#issuecomment-386510444 @guillaumewibaux Looking into this I noticed that `filter` and `columns` have been exposed to the template context since 0.24, which more or less resolves my current needs. If I understood your needs correctly, you wanted to access `time_grain_sqla`? Since it is a static field, it (and other similar fields) shouldn't cause cache misses if included in the `query_obj`. @mistercrunch: Do you see any reason not to include static keys from `form_data` in `query_obj`? Either as stand alone keys/values similar to `groupby` and `filter`, or as some type of static representation of `form_data`, e.g. `static_form_data`? This should be fairly simple to implement, and would be of added value for more complex dynamic queries.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
