This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new b224b8331a fix: type annotation breaking on py3.9 (#28396)
b224b8331a is described below
commit b224b8331ab7ce804be358675c20c340522663c3
Author: Daniel Vaz Gaspar <[email protected]>
AuthorDate: Thu May 9 14:44:24 2024 +0100
fix: type annotation breaking on py3.9 (#28396)
---
superset/utils/pandas_postprocessing/contribution.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/superset/utils/pandas_postprocessing/contribution.py
b/superset/utils/pandas_postprocessing/contribution.py
index 89a1413b74..46144ec019 100644
--- a/superset/utils/pandas_postprocessing/contribution.py
+++ b/superset/utils/pandas_postprocessing/contribution.py
@@ -14,6 +14,8 @@
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
+from __future__ import annotations
+
from decimal import Decimal
from typing import Any