run_multiple_jobs.py 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. #################################################################################
  2. #Import (here could be project specific imports, clean after use))
  3. import inspect
  4. #################################################################################
  5. def run_multiple_jobs_with_constants(ordered_list_of_functions,dict_of_functions,dict_constants=[]):
  6. '''
  7. This function is made to run through multiple functions in different files,
  8. these functions can contain constants which can be given as additional Input
  9. :param ordered_list_of_functions: a list in which the function handles are in
  10. :param dict_of_functions: a dictionary which maps the
  11. :param dict_constants: constants which are used for the functions
  12. '''
  13. pass
  14. def run_multiple_jobs_with_alternating_constants(ordered_list_of_functions,dict_constants):
  15. pass
  16. def run_single_job_multiple_times(ordered_list_of_functions,dict_constants):
  17. pass
  18. def run_single_job_multiple_times_alternation():
  19. pass
  20. #################################################################################
  21. #this function can be used if u want to run this file
  22. def main():
  23. pass
  24. if __name__ == '__main__': # only if we execute this file but not if we import it
  25. main()