Skip to content

feat: pass "holiday_type" in API methods#34

Merged
martingregoire merged 1 commit intomasterfrom
feat/pass-holiday-type
Mar 5, 2026
Merged

feat: pass "holiday_type" in API methods#34
martingregoire merged 1 commit intomasterfrom
feat/pass-holiday-type

Conversation

@martingregoire
Copy link
Contributor

Brief

Forward holiday_type keyword argument through public API methods.

Details

holidays_for_month, holidays_for_year, and holidays_for_date_range now accept an optional holiday_type: keyword argument and forward it to their underlying get_* methods, which already supported it.

This allows callers to filter by holiday type (e.g. "public_holiday") at the API level instead of post-filtering results.

Bump version to 0.3.0.

### Brief

Forward `holiday_type` keyword argument through public API methods.

### Details

`holidays_for_month`, `holidays_for_year`, and `holidays_for_date_range`
now accept an optional `holiday_type:` keyword argument and forward it
to their underlying `get_*` methods, which already supported it.

This allows callers to filter by holiday type (e.g. `"public_holiday"`)
at the API level instead of post-filtering results.

Bump version to 0.3.0.

Co-Authored-By: Claude 4.5 <noreply@anthropic.com>
@martingregoire martingregoire force-pushed the feat/pass-holiday-type branch from ea7b406 to 1735e23 Compare March 5, 2026 07:01
@martingregoire martingregoire merged commit 243f757 into master Mar 5, 2026
1 check passed
@martingregoire martingregoire deleted the feat/pass-holiday-type branch March 5, 2026 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants