These are chat archives for getredash/redash
Rethinking how data is queried, shared and visualized. A web application that allows to easily query an existing database, share the dataset and visualize it in different ways. Oh and you can also create dashboards.
DataSourceGroup. Can a data source be associated with more than one group? I assumed the answer was 'yes' but it looks like
DataSource.data_source_groupsonly refers to last one added
data_source_groupsis used in
add_groupand manually applied it to the result of
to_dictin the handler code. very ugly.
to_dictshould give the
view_onlyvalue for the group the requesting user is in?
'_strptime' is not configured as a supported import module
datetime.datetime.now() - results['rows']['date_added']
unsupported operand type(s) for -: 'datetime.datetime' and 'unicode'
import datetime q = execute_query('sentry', 'select date_added from sentry_organization limit 1') print datetime.datetime.now() - q['rows']['date_added']
redash.utils.json_dumpsthe default behavior?