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

Class Module

source code


Instance Methods [hide private]
 
yaml(self) source code
 
modulemd(self) source code
 
nsv(self) source code
 
full_name(self) source code
 
action(self) source code
 
status(self)
Return numeric representation of status of this build
source code
 
state(self)
Return text representation of status of this build
source code
 
rpm_filter(self) source code
 
rpm_api(self) source code
 
profiles(self) source code

Inherited from helpers.Serializer: serializable_attributes, to_dict

Class Variables [hide private]
  id = db.Column(db.Integer, primary_key= True)
  name = db.Column(db.String(100), nullable= False)
  stream = db.Column(db.String(100), nullable= False)
  version = db.Column(db.BigInteger, nullable= False)
  summary = db.Column(db.String(100), nullable= False)
  description = db.Column(db.Text)
  created_on = db.Column(db.Integer, nullable= True)
  yaml_b64 = db.Column(db.Text)
  copr_id = db.Column(db.Integer, db.ForeignKey("copr.id"))
  copr = db.relationship("Copr", backref= db.backref("modules"))
  __table_args__ = db.UniqueConstraint("copr_id", "name", "strea...
Method Details [hide private]

yaml(self)

source code 
Decorators:
  • @property

modulemd(self)

source code 
Decorators:
  • @property

nsv(self)

source code 
Decorators:
  • @property

full_name(self)

source code 
Decorators:
  • @property

action(self)

source code 
Decorators:
  • @property

status(self)

source code 

Return numeric representation of status of this build

Decorators:
  • @property

state(self)

source code 

Return text representation of status of this build

Decorators:
  • @property

rpm_filter(self)

source code 
Decorators:
  • @property

rpm_api(self)

source code 
Decorators:
  • @property

profiles(self)

source code 
Decorators:
  • @property

Class Variable Details [hide private]

__table_args__

Value:
db.UniqueConstraint("copr_id", "name", "stream", "version", name= "cop\
r_name_stream_version_uniq"),