Skip to content

Fix update_warehouse command to use --start-date and --end-date options#386

Merged
czue merged 1 commit intomainfrom
warehouse-args
Feb 27, 2026
Merged

Fix update_warehouse command to use --start-date and --end-date options#386
czue merged 1 commit intomainfrom
warehouse-args

Conversation

@czue
Copy link
Member

@czue czue commented Feb 27, 2026

The command was using *args to read positional arguments, but modern Django passes arguments via **options, so dates were always None. Switched to named options which also allows passing --end-date without --start-date.

The command was using *args to read positional arguments, but modern
Django passes arguments via **options, so dates were always None.
Switched to named options which also allows passing --end-date without
--start-date.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@czue czue merged commit a022e1b into main Feb 27, 2026
1 check passed
@czue czue deleted the warehouse-args branch February 27, 2026 07:43
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.

1 participant