Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/u/turnip-HEAD/turnip/model/objects.py   turnip(Download)
    # Set when the current task is related to another task.
    parent_task_id = Column(types.Integer)
    parent_type = Column(mytypes.Enum(['master', 'retry', 'recurring']), default='master', nullable=False)
 
    state = Column(mytypes.Enum(['pending', 'started', 'completed', 'failed', 'retried']), default='pending', nullable=False, index=True)