src/server/server.py
def db_reset_heats():
    '''Resets database heats to default.'''
    DB.session.query(Database.Heat).delete()
    DB.session.query(Database.HeatNode).delete()
    on_add_heat()
    DB.session.commit()
    RACE.current_heat = 1
    logger.info('Database heats reset')
Resets database heats to default.
Resets database heats to default.
Resets database heats to default .
def db_reset_heats():
    DB.session.query(Database.Heat).delete()
    DB.session.query(Database.HeatNode).delete()
    on_add_heat()
    DB.session.commit()
    RACE.current_heat = 1
    logger.info('Database heats reset')
def db_reset_heats ( ) : DB . session . query ( Database . Heat ) . delete ( ) DB . session . query ( Database . HeatNode ) . delete ( ) on_add_heat ( ) DB . session . commit ( ) RACE . current_heat = 1 logger . info ( 'Database heats reset' )
Resets database heats to default.
Resets database heats to default .
'''Resets database heats to default.'''