Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(5)  |  Import(1)

src/b/o/bodhi-HEAD/bodhi/models/models.py   bodhi(Download)
 
from bodhi.util import get_age_in_days
from bodhi.models.enum import DeclEnum, EnumSymbol
from bodhi.exceptions import RPMNotFound
from bodhi.config import config
class UpdateStatus(DeclEnum):
    pending = 'pending', 'pending'
    testing = 'testing', 'testing'
    stable = 'stable', 'stable'
    unpushed = 'unpushed', 'unpushed'
    obsolete = 'obsolete', 'obsolete'
    processing = 'processing', 'processing'
 
 
class UpdateType(DeclEnum):
class UpdateRequest(DeclEnum):
    testing = 'testing', 'testing'
    stable = 'stable', 'stable'
    obsolete = 'obsolete', 'obsolete'
    unpush = 'unpush', 'unpush'
 
 
class UpdateSeverity(DeclEnum):