Skip to content

Events on items should use equation signature for calling #198

Open
@LasseNT

Description

@LasseNT

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions