Skip to content

Commit

Permalink
fix python_date_format maybe none
Browse files Browse the repository at this point in the history
  • Loading branch information
mapledan committed Jan 22, 2024
1 parent 6f697c5 commit cefc744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/commands/dataset/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -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())

Expand Down

0 comments on commit cefc744

Please sign in to comment.