Skip to main content
Version: 0.2.x

DateParameterOption

The class for parameter options of date 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.

Can be found in the classpath squirrels.parameter_options.DateParameterOption or squirrels.DateParameterOption.

Constructor​

Creates a DateParameterOption object.

Required Arguments:

  • default_date: A string or date (from datetime package). This is the default selected date for this option

Optional Keyword Arguments: