def LoadAndRun(self, vms, workloads=None, load_kwargs=None, run_kwargs=None):
    workloads = workloads or _GetWorkloadFileList()
    assert workloads, 'no workloads'
    load_samples = list(self._LoadThreaded(vms, workloads[0],
                                           **(load_kwargs or {})))
    run_samples = list(self.RunStaircaseLoads(vms, workloads,
                                              **(run_kwargs or {})))
    if FLAGS.ycsb_load_samples:
      return load_samples + run_samples
    else:
      return run_samples
Imports should usually be on separate lines.
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/linux_packages/ycsb.py/YCSBExecutor.LoadAndRun--crossover with--dataset/ETHPy150Open sahana/eden/static/scripts/tools/pep8.py/imports_on_separate_lines