def get_provider(args, resources):
provider = getattr(args, '<STR_LIT>', '<STR_LIT>')<EOL>if provider == '<STR_LIT>':<EOL><INDENT>return google.GoogleJobProvider(<EOL>getattr(args, '<STR_LIT>', False),<EOL>getattr(args, '<STR_LIT>', False), args.project)<EOL><DEDENT>elif provider == '<STR_LIT>':<EOL><INDENT>return google_v2.GoogleV2JobProvider(<EOL>getattr(args, '<STR_LIT>', False), getattr(args, '<STR_LIT>', False),<EOL>args.project)<EOL><DEDENT>elif provider == '<STR_LIT>':<EOL><INDENT>return local.LocalJobProvider(resources)<EOL><DEDENT>elif provider == '<STR_LIT>':<EOL><INDENT>return test_fails.FailsJobProvider()<EOL><DEDENT>else:<EOL><INDENT>raise ValueError('<STR_LIT>' + provider)<EOL><DEDENT>
Returns a provider for job submission requests.