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

Events on items should use equation signature for calling #198

Open
LasseNT opened this issue Nov 17, 2022 · 0 comments
Open

Events on items should use equation signature for calling #198

LasseNT opened this issue Nov 17, 2022 · 0 comments

Comments

@LasseNT
Copy link
Collaborator

LasseNT commented Nov 17, 2022

Currently the event functions are called with the signature:

def func(t: float, variables: dict): \t...

To make the item interface more streamlined I think the calling signature should look like that of equation functions:

@TimedEvent(periodicity=600) def diff(self, scope): \t...

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

No branches or pull requests

1 participant