Skip to content
Snippets Groups Projects

Wrap timedelta as list

create_timedelta_breakpoints accepts either a single integer or list of integers for the delta_vals but does not wrap the single integer case as a list. This led to an exception when trying to loop through the breakpoints since you can't loop through a naked integer.

This adds the same wrapper as in create_timedelta_labels to store a naked integer in a list with a single element.

Merge request reports

Merged by Matthew K DefenderferMatthew K Defenderfer 2 weeks ago (May 1, 2025 5:36pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading