def METHOD_NAME(self, event_type: str, fl_ctx: FLContext):
    if event_type == EventType.START_RUN:
        self.tenseal_context = load_tenseal_context_from_workspace(self.tenseal_context_file, fl_ctx)
    elif event_type == EventType.END_RUN:
        self.tenseal_context = None