You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the developer of Stalker I want to combine ScheduleMixin.schedule_timing and ScheduleMixin.schedule_unit into a single attribute which might be called a ScheduleInfo that combines the schedule related data and logic into one class, so that it is easiear to maintain schedule realated code.
Acceptance Criteria
Create a new class called ScheduleInfo.
Add attributes like timing, unit, model, constraint.
Move ScheduleMixin methods and properties like schedule_seconds (rename to seconds), to_unit(), to_seconds(), least_meaningful_time_unit() to this class.
Allow it to understand string values like "10h", "1h5m" etc.
The text was updated successfully, but these errors were encountered:
User Story
As the developer of Stalker I want to combine
ScheduleMixin.schedule_timing
andScheduleMixin.schedule_unit
into a single attribute which might be called aScheduleInfo
that combines the schedule related data and logic into one class, so that it is easiear to maintain schedule realated code.Acceptance Criteria
ScheduleInfo
.timing
,unit
,model
,constraint
.ScheduleMixin
methods and properties likeschedule_seconds
(rename toseconds
),to_unit()
,to_seconds()
,least_meaningful_time_unit()
to this class.The text was updated successfully, but these errors were encountered: