radloggerpy.database.models.device module

class radloggerpy.database.models.device.Device(**kwargs)[source]

Bases: Base

_sa_class_manager = {'attributes': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'enabled': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'ethernet': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'implementation': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'interface': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'name': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'serial': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'type': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'usb': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}
attributes
enabled
ethernet
id
implementation
interface

Interface stores redundant information that could be extrapolated implementation, however, storing interface allows for more efficient queries.

name
serial
type

Type stores redundant information that could be extrapolated from implementation, however, storing type allows for more efficient queries.

usb