# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function

from polyaxon_k8s.constants import JobLifeCycle


class ExperimentLifeCycle(JobLifeCycle):
    CHOICES = (
        (JobLifeCycle.CREATED, JobLifeCycle.CREATED),  # XP created/scheduled to be executed
        (JobLifeCycle.BUILDING, JobLifeCycle.BUILDING),  # XP is building containers
        (JobLifeCycle.PENDING, JobLifeCycle.PENDING),  # waiting for all jobs be ready
        (JobLifeCycle.STARTING, JobLifeCycle.STARTING),  # one of the jobs is still starting
        (JobLifeCycle.RUNNING, JobLifeCycle.RUNNING),  # one of the jobs is still running
        (JobLifeCycle.FINISHED, JobLifeCycle.FINISHED),  # master and workers have finished
        (JobLifeCycle.FAILED, JobLifeCycle.FAILED),  # one of the jobs has failed
        (JobLifeCycle.KILLED, JobLifeCycle.KILLED),  # XP was killed
    )

@@ -174,16 +174,45 @@
 Cycle):%0A
+    SCHEDULED = 'Scheduled'%0A%0A
     CHOI
@@ -290,9 +290,62 @@
 ated
-/
+ to be executed%0A        (SCHEDULED, SCHEDULED),  # XP 
 sche
@@ -348,37 +348,36 @@
 scheduled to be 
-execu
+star
 ted%0A        (Job

Add new status: scheduled