Package lib :: Package cuckoo :: Package core :: Module database :: Class AlembicVersion
[hide private]
[frames] | no frames]

Class AlembicVersion

source code

object --+    
         |    
      Base --+
             |
            AlembicVersion

Table used to pinpoint actual database schema release.

Instance Methods [hide private]
 
__init__(self, **kwargs)
A simple constructor that allows initialization from kwargs.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  __tablename__ = 'alembic_version'
  version_num = Column(String(32), nullable= False, primary_key=...
  __mapper__ = <Mapper at 0x7f86b817eb10; AlembicVersion>
  __table__ = Table('alembic_version', MetaData(bind=None), Colu...
  _sa_class_manager = <ClassManager of <class 'lib.cuckoo.core.d...

Inherited from Base: metadata

Inherited from Base (private): _decl_class_registry

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **kwargs)
(Constructor)

source code 

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in ``kwargs``.

Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships.

Overrides: object.__init__

Class Variable Details [hide private]

version_num

Value:
Column(String(32), nullable= False, primary_key= True)

__table__

Value:
Table('alembic_version', MetaData(bind=None), Column('version_num', St\
ring(length=32), table=<alembic_version>, primary_key=True, nullable=F\
alse), schema=None)

_sa_class_manager

Value:
<ClassManager of <class 'lib.cuckoo.core.database.AlembicVersion'> at \
7f86b8174be0>