Package bitten :: Module model :: Class TargetPlatform

Class TargetPlatform

object --+
         |
        TargetPlatform

Target platform for a build configuration.
Instance Methods
 
__init__(self, env, config=None, name=None)
Initialize a new target platform with the specified attributes.
 
__repr__(self)
repr(x)
 
delete(self, db=None)
Remove the target platform from the database.
 
insert(self, db=None)
Insert a new target platform into the database.
 
update(self, db=None)
Save changes to an existing target platform.

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

Class Methods
 
fetch(cls, env, id, db=None)
Retrieve an existing target platform from the database by ID.
 
select(cls, env, config=None, db=None)
Retrieve existing target platforms from the database that match the specified criteria.
Properties
  exists
Whether this target platform exists in the database

Inherited from object: __class__

Method Details

__init__(self, env, config=None, name=None)
(Constructor)

 

Initialize a new target platform with the specified attributes.

To actually create this platform in the database, the insert method needs to be called.

Overrides: object.__init__

__repr__(self)
(Representation operator)

 
repr(x)
Overrides: object.__repr__
(inherited documentation)

Property Details

exists

Whether this target platform exists in the database
Get Method:
unreachable(self)