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

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

src/t/u/turnip-HEAD/turnip/model/objects.py   turnip(Download)
from turnip.model.meta import Session, BaseModel
from turnip.model import types as mytypes
 
from sqlalchemy import orm, types, Column, Index, ForeignKey, and_
from datetime import datetime, timedelta
class Task(BaseModel):
    __tablename__ = 'turnip_task'
 
    id = Column(types.Integer, primary_key=True)
    time_created = Column(types.DateTime, default=datetime.now, nullable=False)