def _start_simulation(data): """Setup and start the simulation. Args: data (dict): app data Returns: object: runner instance """ s = data.models.computeJobCacheKey s.pkupdate(computeJobSerial=int(time.time()), ) runner.job_start(data)
def _start_simulation(data): """Setup and start the simulation. Args: data (dict): app data Returns: object: runner instance """ data['simulationStatus'] = { 'startTime': int(time.time()), 'state': 'pending', } runner.job_start(data)