def runs_last(func):
  def Wrapper():
    calls = func.num_host_calls
    if calls >= len(env.hosts) - 1:
      return func()
    else:
      func.num_host_calls = calls + 1
      return None

  setattr(func, 'num_host_calls', 0)
  return Wrapper
Send connect to database.
dataset/ETHPy150Open viewfinderco/viewfinder/fabfile.py/runs_last--crossover with--dataset/ETHPy150Open dbcli/pgcli/tests/features/steps/step_definitions.py/step_db_connect_postgres