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

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

src/p/y/pyroonga-0.5.2/pyroonga/odm/table.py   pyroonga(Download)
    def _has_table_no_key(cls):
        return cls.__tableflags__ & TableFlags.TABLE_NO_KEY
 
    def _setcolumn(cls, name, col):
        col.name = name
class event_query(SuggestTable):
    __tableflags__ = TableFlags.TABLE_NO_KEY
 
    type = Column(flags=ColumnFlags.COLUMN_SCALAR, type='event_type')
    time = Column(flags=ColumnFlags.COLUMN_SCALAR, type=DataType.Time)

src/p/y/pyroonga-HEAD/pyroonga/odm/table.py   pyroonga(Download)
    def _has_table_no_key(cls):
        return cls.__tableflags__ & TableFlags.TABLE_NO_KEY
 
    def _setcolumn(cls, name, col):
        col.name = name
class event_query(SuggestTable):
    __tableflags__ = TableFlags.TABLE_NO_KEY
 
    type = Column(flags=ColumnFlags.COLUMN_SCALAR, type='event_type')
    time = Column(flags=ColumnFlags.COLUMN_SCALAR, type=DataType.Time)

src/p/y/pyroonga-HEAD/pyroonga/tests/functional/odm/test_table.py   pyroonga(Download)
        class Tb3(Table):
            __tableflags__ = TableFlags.TABLE_NO_KEY
            site = sitecol
            address = addresscol
 
        assert Tb3.__tableflags__ is TableFlags.TABLE_NO_KEY

src/p/y/pyroonga-0.5.2/pyroonga/tests/functional/odm/test_table.py   pyroonga(Download)
        class Tb3(Table):
            __tableflags__ = TableFlags.TABLE_NO_KEY
            site = sitecol
            address = addresscol
 
        assert Tb3.__tableflags__ is TableFlags.TABLE_NO_KEY