PrefectHQ
prefect
BlogDocsChangelog

Branches performance

Pull requests

Add `prefect api` command for direct API access#19131
last run
13 hours ago
Rename test_api.py to test_api_command.py Fixes naming conflict with existing tests/_internal/concurrency/test_api.py that was causing pytest import errors. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
13 hours ago
1b338e0
19130-api-command
CodSpeed Performance Gauge
0%
chore(deps): bump astral-sh/setup-uv from 6 to 7#19125
last run
1 day ago
chore(deps): bump astral-sh/setup-uv from 6 to 7 Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 6 to 7. - [Release notes](https://github.com/astral-sh/setup-uv/releases) - [Commits](https://github.com/astral-sh/setup-uv/compare/v6...v7) --- updated-dependencies: - dependency-name: astral-sh/setup-uv dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
1 day ago
6299874
dependabot/github_actions/astral-sh/setup-uv-7
CodSpeed Performance Gauge
0%
Remove duplicate import
20 hours ago
74edc79
fix/recurse-local-module-discovery
CodSpeed Performance Gauge
0%
Add support for day_or parameter in cron schedule configurations Fixes #19117 This PR adds support for the `day_or` parameter in cron schedule configurations defined in `prefect.yaml` deployment files. ## Problem When both `day_or` and `active` were defined in a deployment's cron schedule, the deployment would fail with a validation error. The `day_or` field works individually, but couldn't be used together with other schedule parameters. ## Root Cause The `RawScheduleConfig` model in `src/prefect/cli/deploy/_models.py` had `extra="forbid"` but was missing the `day_or` field, even though the underlying `CronSchedule` class supports it. This caused any schedule config with `day_or` to be rejected as invalid. ## Changes 1. Added `day_or` field to `RawScheduleConfig` model 2. Updated `_schedule_config_to_deployment_schedule` to extract and pass `day_or` to `CronSchedule` 3. Added comprehensive tests for `day_or` parameter handling ## Testing - Added unit tests for `RawScheduleConfig` with `day_or` - Added integration tests for full prefect.yaml validation - Added tests for schedule conversion with `day_or` - All existing tests pass 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2 days ago
aed9277
fix-19117-schedule-day-or-validation
CodSpeed Performance Gauge
0%
© 2025 CodSpeed Technology
Home Terms Privacy Docs