Record Class¶
The db.Record class constitutes a full record in the database. In
contrast to db.model.Flight, it contains full information about pilots,
planes and launch methods instead of references to other database tables.
Interface¶
-
class
pysk.db.Record(flight=None, plane=None, pilot=None, copilot=None, towplane=None, towpilot=None, launch_method=None)¶ Record containing all information stored in database
Parameters: -
__str__()¶ Convert instance to string
Returns: String with core information
-
updateFlight()¶ Update flight information based on other attributes
- Raise:
RecordErrorif critical parameters are missing.
Returns: List with warning messages.
-