@staticmethod
    def get(id=None, ship_api_id=None):
        if id:
            return db.session.query(Ship).get(id)
        elif ship_api_id:
            return Ship.query.filter(Ship.api_id == ship_api_id).first()
        else:
            return None
Gets a ship.
dataset/ETHPy150Open KanColleTool/kcsrv/db/ships.py/Ship.get