diff --git a/src/ai/backend/common/events.py b/src/ai/backend/common/events.py index cae24e22a5..ed91bac87b 100644 --- a/src/ai/backend/common/events.py +++ b/src/ai/backend/common/events.py @@ -814,6 +814,8 @@ class VolumeUnmounted(VolumeMountEventArgs, AbstractEvent): @attrs.define(auto_attribs=True, slots=True) class VFolderDeletionSuccessEvent(AbstractEvent): + name = "vfolder_deletion_success" + vfid: VFolderID def serialize(self) -> tuple: @@ -828,6 +830,8 @@ def deserialize(cls, value: tuple) -> Self: @attrs.define(auto_attribs=True, slots=True) class VFolderDeletionFailureEvent(AbstractEvent): + name = "vfolder_deletion_failure" + vfid: VFolderID message: str