from_orm

classmethod Event.from_orm(db_event, inventory)[source]

Convert a database orm mapper event to a event.

Parameters
Returns

The event created from the database ORM instance.

Return type

mss_dataserver.event.core.Event