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

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

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/user.py   flask-skeleton(Download)
class User(db.Model):
    active = db.Column(db.Boolean)
    default_ipv4_mask = db.Column(db.Integer)
    default_ipv6_mask = db.Column(db.Integer)
    max_concurrent_sessions = db.Column(db.Integer)

src/f/l/flask-skeleton-HEAD/skeleton/modules/mod3/models/page.py   flask-skeleton(Download)
class Page(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    url = db.Column(db.String)
    tags = db.relationship(
        'Tag', secondary=PageTags,

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/user_info.py   flask-skeleton(Download)
class UserInfo(db.Model):
    timezone_id = db.Column(db.Integer, db.ForeignKey('public.timezone.id'))
    timezone = db.relationship('Timezone', primaryjoin='Timezone.id==UserInfo.timezone_id')
 
    user_id = db.Column(db.Integer, primary_key=True)

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/user_emails.py   flask-skeleton(Download)
class UserEmails(db.Model):
    __table__ = db.Table(
        'user_emails', db.metadata,
        db.Column('user_id', db.Integer, primary_key=True),
        db.Column('email_id', db.Integer),

src/f/l/flask-skeleton-HEAD/skeleton/modules/aaa/models/email.py   flask-skeleton(Download)
class Email(db.Model):
    __table__ = db.Table(
        'email', db.metadata,
        db.Column('id', db.Integer, primary_key=True),
        db.Column('email', db.String),

src/f/l/flask-skeleton-HEAD/skeleton/modules/mod1/models/h2.py   flask-skeleton(Download)
class H2(db.Model):
    __table__ = db.Table(
        'h2', db.metadata,
        db.Column('id', db.Integer, primary_key=True),
        db.Column('val2', db.String),

src/f/l/flask-skeleton-HEAD/skeleton/models/timezone.py   flask-skeleton(Download)
class Timezone(db.Model):
    __table__ = db.Table(
        'timezone', db.metadata,
        db.Column('id', db.Integer, primary_key=True),
        db.Column('name', db.String),

src/f/l/flask-skeleton-HEAD/skeleton/modules/mod3/models/tag.py   flask-skeleton(Download)
class Tag(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    name = db.Column(db.String)
 
    # Placeholders:

src/f/l/flask-skeleton-HEAD/skeleton/modules/home/models/h3.py   flask-skeleton(Download)
class H3(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    val2 = db.Column(db.String)
    __table_args__ = {'schema':'public'}
 

src/f/l/flask-skeleton-HEAD/skeleton/modules/home/models/h1.py   flask-skeleton(Download)
class H1(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    val = db.Column(db.String)
    __table_args__ = {'schema':'public'}