Skip to content

OSW-350: Add expected start time to ScriptQueue nextVisit event. - #86

Merged
tribeiro merged 13 commits into
developfrom
tickets/OSW-350
Aug 18, 2026
Merged

OSW-350: Add expected start time to ScriptQueue nextVisit event.#86
tribeiro merged 13 commits into
developfrom
tickets/OSW-350

Conversation

@tribeiro

Copy link
Copy Markdown
Member

No description provided.

@wvreeven wvreeven left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

self.state_delay = 0
# Time at which the script process was started. 0 before that.
self.timestamp_process_start = 0
self.timestamp_process_start: float = 0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can avoid the type info by defining the value as 0.0 instead of 0. But this works too.

if key not in self.base_field_names
}

if self.model.current_script is None or self.model.current_script == script_info:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed a very neat and small change. I nearly missed it between al the MyPy changes!

@tribeiro
tribeiro merged commit 4b2fda4 into develop Aug 18, 2026
5 checks passed
@tribeiro
tribeiro deleted the tickets/OSW-350 branch August 18, 2026 15:21
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.

2 participants