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

Class 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)
str(x)
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

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

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 0x7fee489f8150; 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

Inherited from object: __class__

Method Details [hide private]

__str__(self)
(Informal representation operator)

source code 

str(x)

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: object.__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 7fee489e9740>

Property Details [hide private]

at_name

Get Method:
unreachable.at_name(self)