Package coprs :: Module models :: Class DistGitBranch
[hide private]
[frames] | no frames]

_BoundDeclarativeMeta DistGitBranch

source code


1:N mapping: branch -> chroots

Nested Classes [hide private]

Inherited from flask_sqlalchemy.Model: query_class

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

Inherited from unreachable.Model: query

Inherited from helpers.Serializer: to_dict

Class Variables [hide private]
  name = db.Column(db.String(50), primary_key= True)
  __mapper__ = <Mapper at 0xf5ede66c; DistGitBranch>
  __table__ = Table('dist_git_branch', MetaData(bind=None), Colu...
  __tablename__ = 'dist_git_branch'
  _sa_class_manager = <ClassManager of <class 'coprs.models.Dist...

Inherited from unreachable.Model: metadata

Inherited from unreachable.Model (private): _decl_class_registry

Properties [hide private]

Inherited from helpers.Serializer: serializable_attributes

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: unreachable.Model.__init__

Class Variable Details [hide private]

__table__

Value:
Table('dist_git_branch', MetaData(bind=None), Column('name', String(le\
ngth=50), table=<dist_git_branch>, primary_key=True, nullable=False), \
schema=None)

_sa_class_manager

Value:
<ClassManager of <class 'coprs.models.DistGitBranch'> at f5eceecc>