From 189caaef5110a5d3ef76fec5fab53b45b31ac1df Mon Sep 17 00:00:00 2001 From: "Natalia.Murycheva" Date: Fri, 22 Aug 2025 01:16:51 +0200 Subject: [PATCH] [PyTables] PY-81433 Added TableInspectionQuickFixProvider EP; cleaned up and refactored OneInspectionSerializedResults * Added the TableInspectionQuickFixProvider Extension Point and related classes. * In case there is no quick fix, the tree with inspections will be without check boxes * Changed the type of the inspectionName field in the OneInspectionSerializedResults class. GitOrigin-RevId: 5f92dd3bd5945cd6f597724013a0473da81b030f --- .../pydev/_pydevd_bundle/tables/pydevd_pandas.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_pandas.py b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_pandas.py index e06defb78922..c92495e3c9f9 100644 --- a/python/helpers/pydev/_pydevd_bundle/tables/pydevd_pandas.py +++ b/python/helpers/pydev/_pydevd_bundle/tables/pydevd_pandas.py @@ -18,7 +18,7 @@ OBJECT_SAMPLE_LIMIT = 10 class InspectionResultsDict: - KEY_INSPECTION_NAME = "inspectionName" + KEY_INSPECTION_NAME = "inspection" KEY_STATUS = "executionStatus" VALUE_STATUS_SUCCESS = "SUCCESS" @@ -166,7 +166,7 @@ def get_inspection_none_count(table): except: result[InspectionResultsDict.KEY_STATUS] = InspectionResultsDict.VALUE_STATUS_FAILED result[InspectionResultsDict.KEY_IS_TRIGGERED] = InspectionResultsDict.VALUE_TRIGGERED_NO - return __serialize_in_json(result, "None Count") + return __serialize_in_json(result, "NONE_COUNT") def get_inspection_duplicate_rows(table): @@ -187,7 +187,7 @@ def get_inspection_duplicate_rows(table): except: result[InspectionResultsDict.KEY_STATUS] = InspectionResultsDict.VALUE_STATUS_FAILED result[InspectionResultsDict.KEY_IS_TRIGGERED] = InspectionResultsDict.VALUE_TRIGGERED_NO - return __serialize_in_json(result, "Duplicate Rows") + return __serialize_in_json(result, "DUPLICATE_ROWS") def get_inspection_outliers(table): @@ -226,7 +226,7 @@ def get_inspection_outliers(table): except: result[InspectionResultsDict.KEY_STATUS] = InspectionResultsDict.VALUE_STATUS_FAILED result[InspectionResultsDict.KEY_IS_TRIGGERED] = InspectionResultsDict.VALUE_TRIGGERED_NO - return __serialize_in_json(result, "Outliers") + return __serialize_in_json(result, "OUTLIERS") def get_inspection_constant_columns(table): @@ -252,7 +252,7 @@ def get_inspection_constant_columns(table): except: result[InspectionResultsDict.KEY_STATUS] = InspectionResultsDict.VALUE_STATUS_FAILED result[InspectionResultsDict.KEY_IS_TRIGGERED] = InspectionResultsDict.VALUE_TRIGGERED_NO - return __serialize_in_json(result, "Constant Columns") + return __serialize_in_json(result, "CONSTANT_COLUMNS") def __get_data_slice(table, start, end):