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

Saving of trigger state in MicroAverage Extension #760

Open
linshokaku opened this issue Oct 13, 2023 · 0 comments
Open

Saving of trigger state in MicroAverage Extension #760

linshokaku opened this issue Oct 13, 2023 · 0 comments
Assignees

Comments

@linshokaku
Copy link
Member

def state_dict(self) -> Dict[str, Any]:

Since MicroAverage Extension uses triggers internally like LogReport, it is necessary to keep the trigger state as the Extension's internal state, but it was confirmed that this functionality is not implemented.

cf.

def state_dict(self) -> Dict[str, Any]:
state: Dict[str, Any] = {}
if hasattr(self._trigger, "state_dict"):
state["_trigger"] = self._trigger.state_dict()

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