diff --git a/sdk/monitor/azure-monitor-query/CHANGELOG.md b/sdk/monitor/azure-monitor-query/CHANGELOG.md index 13c41e50b408..3446ff158ab6 100644 --- a/sdk/monitor/azure-monitor-query/CHANGELOG.md +++ b/sdk/monitor/azure-monitor-query/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.2 (Unreleased) -- This version and all future versions will require Python 3.7+. Python 2.7 and 3.6 are no longer supported. +- This version and all future versions will require Python 3.6+. Python 2.7 is no longer supported. ### Bugs Fixed diff --git a/sdk/monitor/azure-monitor-query/azure/monitor/query/_helpers.py b/sdk/monitor/azure-monitor-query/azure/monitor/query/_helpers.py index 2739c697b0d6..63e98697290b 100644 --- a/sdk/monitor/azure-monitor-query/azure/monitor/query/_helpers.py +++ b/sdk/monitor/azure-monitor-query/azure/monitor/query/_helpers.py @@ -118,7 +118,7 @@ def native_col_type(col_type, value): if col_type == "datetime": try: value = Deserializer.deserialize_iso(value) - except: # pylint: disable=bare-except + except Exception: # pylint: disable=broad-except # if there is any exception in deserializing the iso, # return the value to the user pass