fix: changes a pylint check in dashboard module (#10978)
* Removed not needed disabled pylint rules from `set_dash_metadata`: - `disable=too-many-locals`, - `too-many-branches`, - `too-many-statements` * Changed broad exception to KeyError. * Reverted broad_exception in get_col_type in utils
This commit is contained in:
parent
345fe07d64
commit
a26f29e7c8
|
|
@ -81,7 +81,7 @@ class DashboardDAO(BaseDAO):
|
|||
raise ex
|
||||
|
||||
@staticmethod
|
||||
def set_dash_metadata( # pylint: disable=too-many-locals,too-many-branches,too-many-statements
|
||||
def set_dash_metadata(
|
||||
dashboard: Dashboard,
|
||||
data: Dict[Any, Any],
|
||||
old_to_new_slice_ids: Optional[Dict[int, int]] = None,
|
||||
|
|
|
|||
Loading…
Reference in New Issue