This is an automated email from the ASF dual-hosted git repository.
villebro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git
The following commit(s) were added to refs/heads/master by this push:
new c1f8c9e Another attempt to fix a viz.py bug (#9522)
c1f8c9e is described below
commit c1f8c9e3979936eced06d69e55b9d164fb3d629b
Author: Will Barrett <[email protected]>
AuthorDate: Mon Apr 13 23:10:04 2020 -0700
Another attempt to fix a viz.py bug (#9522)
* Another attempt to fix a viz.py bug
* Add types to new ddtm attributes
---
superset/viz.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset/viz.py b/superset/viz.py
index 3de5e05..848e3b3 100644
--- a/superset/viz.py
+++ b/superset/viz.py
@@ -115,6 +115,8 @@ class BaseViz:
self.results: Optional[QueryResult] = None
self.error_message: Optional[str] = None
self.force = force
+ self.from_ddtm: Optional[datetime] = None
+ self.to_dttm: Optional[datetime] = None
# Keeping track of whether some data came from cache
# this is useful to trigger the <CachedLabel /> when