diff --git a/superset/commands/dataset/update.py b/superset/commands/dataset/update.py index 300506fdfbf4b..458d17d3d8555 100644 --- a/superset/commands/dataset/update.py +++ b/superset/commands/dataset/update.py @@ -143,7 +143,7 @@ def _validate_columns( # validate python_date_format is ISO8601 format for col in columns: if not DatasetDAO.validate_column_pdf_is_iso8601( - col["python_date_format"] + col.get("python_date_format", None) ): exceptions.append(DatasetColumnsConstraintsValidationError())