Skip to content

Commit

Permalink
fix typo in example_params_ui_tutorial (#40094)
Browse files Browse the repository at this point in the history
  • Loading branch information
noel-gallagher authored Jun 6, 2024
1 parent 1a61303 commit a31b10e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airflow/example_dags/example_params_ui_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,22 +146,22 @@
type="string",
format="date-time",
title="Date-Time Picker",
description="Please select a date and time, use the button on the left for a pup-up calendar.",
description="Please select a date and time, use the button on the left for a pop-up calendar.",
),
"date": Param(
f"{datetime.date.today()}",
type="string",
format="date",
title="Date Picker",
description="Please select a date, use the button on the left for a pup-up calendar. "
description="Please select a date, use the button on the left for a pop-up calendar. "
"See that here are no times!",
),
"time": Param(
f"{datetime.time(hour=12, minute=13, second=14)}",
type=["string", "null"],
format="time",
title="Time Picker",
description="Please select a time, use the button on the left for a pup-up tool.",
description="Please select a time, use the button on the left for a pop-up tool.",
),
# Fields can be required or not. If the defined fields are typed they are getting required by default
# (else they would not pass JSON schema validation) - to make typed fields optional you must
Expand Down

0 comments on commit a31b10e

Please sign in to comment.