Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-48977: Use HumanTimedelta for all business durations #412

Merged
merged 1 commit into from
Feb 17, 2025
Merged

Conversation

rra
Copy link
Member

@rra rra commented Feb 17, 2025

Switch to the Safir HumanTimedelta Pydantic type for all business durations, which supports a superset of the functionality of the previous mobu-specific type. This allows any time duration in a business configuration to use human-readable strings like 60m, but still supports a simple number of seconds.

Delete the now-unused StopwatchData class.

Switch to the Safir `HumanTimedelta` Pydantic type for all business
durations, which supports a superset of the functionality of the
previous mobu-specific type. This allows any time duration in a
business configuration to use human-readable strings like `60m`, but
still supports a simple number of seconds.

Delete the now-unused `StopwatchData` class.
@rra rra enabled auto-merge February 17, 2025 23:54
@rra rra merged commit d799351 into main Feb 17, 2025
4 checks passed
@rra rra deleted the tickets/DM-48977 branch February 17, 2025 23:56
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