Skip to main content
Version: Canary 🚧

DateRangeDataSource

The class for the database table source for a date range parameter. See DataSource page for more details on the common constructor arguments.

Can be found in the classpath squirrels.data_sources.DateRangeDataSource or squirrels.DateRangeDataSource.

Constructor​

Creates a DateRangeDataSource object.

Required Arguments:

  • table_or_query (see DataSource)
  • default_start_date_col
    • The column name (string) of the default start date
  • default_end_date_col
    • The column name (string) of the default end date

Optional Keyword Arguments: