backend.ai icon indicating copy to clipboard operation
backend.ai copied to clipboard

feat: Add class KernelLifecycleEventReason to manage KernelEvent.reason

Open qkoo0833 opened this issue 3 years ago • 0 comments

  1. Add class KernelLifecycleEventReason in common/events.py to manage kernelEvent.reason

  2. change string-literal to constant variable using KernelLifecycleEventReason

close #678

qkoo0833 avatar Sep 14 '22 08:09 qkoo0833