gatelogue_types.air.Aircraft

class gatelogue_types.air.Aircraft(conn: sqlite3.Connection, name: str)

Bases: object

An aircraft model.

__init__(conn: sqlite3.Connection, name: str)

Methods

__init__(conn, name)

create(conn, *, name, manufacturer, width, ...)

Internal use

Attributes

height

Height of the aircraft

length

Length of the aircraft

manufacturer

Manufacturing company or person of the aircraft

mode

The technology the aircraft is for

width

Width (Wingspan) of the aircraft

classmethod create(conn: sqlite3.Connection, *, name: str, manufacturer: str, width: int, height: int, length: int, mode: AirMode) Self

Internal use

property height: int

Height of the aircraft

property length: int

Length of the aircraft

property manufacturer

Manufacturing company or person of the aircraft

property mode: AirMode

The technology the aircraft is for

property width: int

Width (Wingspan) of the aircraft