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

_BoundDeclarativeMeta Group

source code


Represents FAS groups and their aliases in Copr

Nested Classes [hide private]

Inherited from flask_sqlalchemy.Model: query_class

Instance Methods [hide private]
 
__str__(self) source code
 
__unicode__(self) source code
 
__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]
  id = db.Column(db.Integer, primary_key= True)
  name = db.Column(db.String(127))
  fas_name = db.Column(db.String(127))
  __mapper__ = <Mapper at 0xf5e8fa0c; Group>
  __table__ = Table('group', MetaData(bind=None), Column('id', I...
  __tablename__ = 'group'
  _sa_class_manager = <ClassManager of <class 'coprs.models.Grou...

Inherited from unreachable.Model: metadata

Inherited from unreachable.Model (private): _decl_class_registry

Properties [hide private]
  at_name

Inherited from helpers.Serializer: serializable_attributes

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

__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('group', MetaData(bind=None), Column('id', Integer(), table=<gro\
up>, primary_key=True, nullable=False), Column('name', String(length=1\
27), table=<group>), Column('fas_name', String(length=127), table=<gro\
up>), schema=None)

_sa_class_manager

Value:
<ClassManager of <class 'coprs.models.Group'> at f5e87ecc>

Property Details [hide private]

at_name