Releases: questionlp/wwdtm
Releases · questionlp/wwdtm
v2.19.0
Version 2.19.0
Application Changes
- Add :py:meth:
wwdtm.show.Show.retrieve_random_date_object
to retrieve a random show date as a :py:class:datetime.time
object - Add :py:meth:
wwdtm.show.Show.retrieve_random_date_object_by_year
to retrieve a random show date as a :py:class:datetime.time
object for a specific year - Add tests for both new methods
Development Changes
- Upgrade ruff from 0.9.3 to 0.11.9
- Upgrade pytest from 8.3.3 to 8.3.5
- Upgrade pytest-cov from 5.0.0 to 6.1.1
- Upgrade wheel from 0.44.0 to 0.45.1
Documentation Changes
- Upgrade pytest from 8.3.3 to 8.3.5
- Remove black from dependencies
- Update
environment.yaml
file to match library dependencies - Replace the word "given" with "specific" in method docstrings
Pull Request(s): #92
Full Changelog: v2.18.2...v2.19.0
v2.18.2
Version 2.18.2
Application Changes
- Add
inclusive
named parameter to the following methods to determine whether repeat shows are included with Best Of shows, or whether Best Of shows included with repeat shows. Default value in all cases isTrue
.- :py:meth:
wwdtm.show.Show.retrieve_all_best_ofs
- :py:meth:
wwdtm.show.Show.retrieve_all_best_ofs_details
- :py:meth:
wwdtm.show.Show.retrieve_all_repeats
- :py:meth:
wwdtm.show.Show.retrieve_all_repeats_details
- :py:meth:
wwdtm.show.Show.retrieve_best_ofs_by_year
- :py:meth:
wwdtm.show.Show.retrieve_best_ofs_details_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeats_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeats_details_by_year
- :py:meth:
Pull Request(s): #91
Full Changelog: v2.18.1...v2.18.2
v2.18.1
Version 2.18.1
Application Changes
- Adding the following methods to be used in an upcoming version of the Wait Wait Stats page:
- :py:meth:
wwdtm.show.Show.retrieve_best_ofs_by_year
- :py:meth:
wwdtm.show.Show.retrieve_best_ofs_details_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeat_best_ofs_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeat_best_ofs_details_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeats_by_year
- :py:meth:
wwdtm.show.Show.retrieve_repeats_details_by_year
- :py:meth:
- Adding
inclusive
parameter to :py:meth:wwdtm.show.Show.retrieve_counts_by_year
to flag whether or not Best Of shows are included in repeat show counts (default:False
)
Pull Request(s): #90
Full Changelog: v2.18.0...v2.18.1
v2.18.0
Version 2.18.0
Application Changes
- Adding :py:meth:
wwdtm.show.Show.retrieve_counts_by_year
to retrieve a count of regular, Best Of, repeat, repeat Best Of and a total count of shows - Adding :py:meth:
wwdtm.show.Show.retrieve_all_counts_by_year
to retrieve a count of regular, Best Of, repeat, repeat Best Of and a total count of shows for all years, grouped by year
Component Changes
- Upgrade pytz from 2024.2 to 2025.2
Pull Request(s): #89
Full Changelog: v2.17.2...v2.18.0
v2.17.2
Version 2.17.2
Application Changes
- Added missing
use_decimal_scores
method parameter to :py:meth:wwdtm.panelist.Panelist.retrieve_random_details
Development Changes
- Updated test for :py:meth:
wwdtm.panelist.Panelist.retrieve_random_details
to including passing in values foruse_decimal_scores
Pull Request(s): #88
Full Changelog: v2.17.1...v2.17.2
v2.17.1
Version 2.17.1
Application Changes
- Added missing
include_decimal_scores
method parameter to :py:meth:wwdtm.show.Show.retrieve_random_details
and :py:meth:wwdtm.show.Show.retrieve_random_details_by_year
and passthrough to :py:meth:wwdtm.show.Show.retrieve_details_by_id
Development Changes
- Updated tests for :py:meth:
wwdtm.show.Show.retrieve_random_details
and :py:meth:wwdtm.show.Show.retrieve_random_details_by_year
to including passing in values for the correspondinginclude_decimal_scores
parameters
Pull Request(s): #87
Full Changelog: v2.17.0...v2.17.1
v2.17.0
Version 2.17.0
Application Changes
- Added the following methods to :py:class:
wwdtm.show.Show
to extend the random show feature- :py:meth:
wwdtm.show.Show.retrieve_random_id_by_year
- :py:meth:
wwdtm.show.Show.retrieve_random_date_by_year
- :py:meth:
wwdtm.show.Show.retrieve_random_by_year
- :py:meth:
wwdtm.show.Show.retrieve_random_details_by_year
- :py:meth:
Pull Request(s): #86
Full Changelog: v2.16.1...v2.17.0
v2.16.1
Version 2.16.1
Application Changes
- Fix coding issue within :py:meth:
wwdtm.location.Location.retrieve_postal_details_by_abbreviation
Development Changes
- Added missing tests for postal abbreviation methods in :py:class:
wwdtm.location.Location
Full Changelog: v2.16.0...v2.16.1
v2.16.0
Version 2.16.0
Application Changes
- Add
retrieve_random()
,retrieve_random_id()
,retrieve_random_slug()
,retrieve_random_date()
andretrieve_random_details()
to the following classes that mirror the corresponding feature in theWait Wait Stats Page
_- :py:class:
wwdtm.guest.Guest
- :py:class:
wwdtm.host.Host
- :py:class:
wwdtm.location.Location
- :py:class:
wwdtm.panelist.Panelist
- :py:class:
wwdtm.scorekeeper.Scorekeeper
- :py:class:
wwdtm.show.Show
- :py:class:
Development Changes
- Add corresponding tests for the new series of retrieve random items
- Fixed typos in docstrings or testing assertion messages
Pull Request(s): #83
Full Changelog: v2.15.0...v2.16.0
v2.15.0
Version 2.15.0
Application Changes
- Change SQL joins from
JOIN
toLEFT JOIN
in :py:class:wwdtm.location.Location
to properly handleNULL
values in thestate
column - Add :py:meth:
wwdtm.location.Location.retrieve_postal_abbreviations
that returns postal abbreviations and their corresponding names and countries
Development Changes
- Upgrade ruff from 0.7.0 to 0.9.3
- Remove black from required development packages as part of migrating entirely to Ruff
- Ran
ruff format
to format Python code files using the Ruff 2025 Style Guide
Pull Request(s): #82
Full Changelog: v2.14.0...v2.15.0