@classmethod
def get_by_id(cls, context, chassis_id):
    """Find a chassis based on its integer ID and return a Chassis object.

        :param cls: the :class:`Chassis`
        :param context: Security context
        :param chassis_id: the ID of a chassis.
        :returns: a :class:`Chassis` object.
        """
    db_chassis = cls.dbapi.get_chassis_by_id(chassis_id)
    chassis = cls._from_db_object(context, cls(), db_chassis)
    return chassis
