Module licenseware.common.constants.states

Expand source code
from dataclasses import dataclass



@dataclass(frozen=True)
class states:
    IDLE:str = 'idle'
    RUNNING:str = 'running'
    SUCCESS:str = 'success'
    FAILED:str = 'failed'
    TIMEOUT:str = 'timeout'
    SKIPPED:str = 'skipped'
    ACTION_REQUIRED:str = 'action_required'
    REQUEST_ACCEPTED:str = 'accepted'
    REQUEST_REJECTED:str = 'rejected'
    REQUEST_PENDING:str = 'pending'
    REQUEST_REQUESTED:str = 'requested'
    REQUEST_CANCELLED:str = 'cancelled'
    REQUEST_REVOKED:str = 'revoked'
    

Classes

class states (IDLE: str = 'idle', RUNNING: str = 'running', SUCCESS: str = 'success', FAILED: str = 'failed', TIMEOUT: str = 'timeout', SKIPPED: str = 'skipped', ACTION_REQUIRED: str = 'action_required', REQUEST_ACCEPTED: str = 'accepted', REQUEST_REJECTED: str = 'rejected', REQUEST_PENDING: str = 'pending', REQUEST_REQUESTED: str = 'requested', REQUEST_CANCELLED: str = 'cancelled', REQUEST_REVOKED: str = 'revoked')

states(IDLE: str = 'idle', RUNNING: str = 'running', SUCCESS: str = 'success', FAILED: str = 'failed', TIMEOUT: str = 'timeout', SKIPPED: str = 'skipped', ACTION_REQUIRED: str = 'action_required', REQUEST_ACCEPTED: str = 'accepted', REQUEST_REJECTED: str = 'rejected', REQUEST_PENDING: str = 'pending', REQUEST_REQUESTED: str = 'requested', REQUEST_CANCELLED: str = 'cancelled', REQUEST_REVOKED: str = 'revoked')

Expand source code
class states:
    IDLE:str = 'idle'
    RUNNING:str = 'running'
    SUCCESS:str = 'success'
    FAILED:str = 'failed'
    TIMEOUT:str = 'timeout'
    SKIPPED:str = 'skipped'
    ACTION_REQUIRED:str = 'action_required'
    REQUEST_ACCEPTED:str = 'accepted'
    REQUEST_REJECTED:str = 'rejected'
    REQUEST_PENDING:str = 'pending'
    REQUEST_REQUESTED:str = 'requested'
    REQUEST_CANCELLED:str = 'cancelled'
    REQUEST_REVOKED:str = 'revoked'

Class variables

var ACTION_REQUIRED : str
var FAILED : str
var IDLE : str
var REQUEST_ACCEPTED : str
var REQUEST_CANCELLED : str
var REQUEST_PENDING : str
var REQUEST_REJECTED : str
var REQUEST_REQUESTED : str
var REQUEST_REVOKED : str
var RUNNING : str
var SKIPPED : str
var SUCCESS : str
var TIMEOUT : str