Skip to main content

DateRangeParameterOption

The class for parameter options of date range parameters. Note that only one option can appear at a time, but different options may appear based on authenticated user or parent parameter selections. See ParameterOption page for more details on the common constructor arguments.

Constructor

Creates a DateRangeParameterOption object.

Required Arguments:

  • default_start_date: A string or date (from datetime package). This is the default selected start date for this option
  • default_end_date: A string or date (from datetime package). This is the default selected end date for this option
    • Must be a date after "default_start_date"

Optional Keyword Arguments: