Package web :: Package pluginmanager :: Package plugins :: Package hardware_inventory :: Module model :: Class HardwareProfile
[hide private]
[frames] | no frames]

Class HardwareProfile

source code

declarative_base() --+
                     |
                    HardwareProfile

Instance Methods [hide private]
 
__init__(self, name='') source code
Class Variables [hide private]
  __tablename__ = 'hardware_profile'
  id = Column(Integer, primary_key= True)
  name = Column(Unicode(256))
  hardware_profile_computer = Table('hardware_profile_computer',...
  computers = relation('Computer', secondary= hardware_profile_c...
Class Variable Details [hide private]

hardware_profile_computer

Value:
Table('hardware_profile_computer', metadata, Column('profile_id', Inte\
ger, ForeignKey('hardware_profile.id')), Column('computer_id', Integer\
, ForeignKey('computer.id')))

computers

Value:
relation('Computer', secondary= hardware_profile_computer, backref= 'h\
ardware')