diff --git a/verticapy/__init__.py b/verticapy/__init__.py index fcd88e30f..d149b5c39 100755 --- a/verticapy/__init__.py +++ b/verticapy/__init__.py @@ -37,9 +37,9 @@ __url__: str = "https://github.com/vertica/verticapy/" __license__: str = "Apache License, Version 2.0" __version__: str = "1.0.5" -__iteration__: int = 3 -__date__: str = "26092024" -__last_commit__: str = "8ca3c10cc479cb3da4ff3eb1bbe3a22627f5638a" +__iteration__: int = 1 +__date__: str = "27092024" +__last_commit__: str = "7a6490bfc614d3268b34096663758dca407ea889" __long_version__: str = f"{__version__}-{__iteration__}—{__date__}-{__last_commit__}" __codecov__: float = 0.84 diff --git a/verticapy/performance/vertica/qprof.py b/verticapy/performance/vertica/qprof.py index 3870d6f64..4b11b4a56 100755 --- a/verticapy/performance/vertica/qprof.py +++ b/verticapy/performance/vertica/qprof.py @@ -2498,6 +2498,8 @@ def get_qduration( For more details, please look at :py:class:`~verticapy.performance.vertica.qprof.QueryProfiler`. """ + if isinstance(self.qduration, NoneType): + return None return float(self.qduration / self._get_interval(unit)) # Step 3: Query execution steps diff --git a/verticapy/performance/vertica/tree.py b/verticapy/performance/vertica/tree.py index 2c47086c7..07055013f 100644 --- a/verticapy/performance/vertica/tree.py +++ b/verticapy/performance/vertica/tree.py @@ -353,6 +353,8 @@ def _set_style(self, d: dict) -> None: d["threshold_metric2"] = None if "op_filter" not in d: d["op_filter"] = None + elif isinstance(d["op_filter"], str): + d["op_filter"] = [d["op_filter"]] if "tooltip_filter" not in d: d["tooltip_filter"] = None if "display_path_transition" not in d: