def get_job_class(job_class=None):
RQ = getattr(settings, '<STR_LIT>', {})<EOL>if job_class is None:<EOL><INDENT>job_class = RQ.get('<STR_LIT>', Job)<EOL><DEDENT>if isinstance(job_class, six.string_types):<EOL><INDENT>job_class = import_attribute(job_class)<EOL><DEDENT>return job_class<EOL>
Return job class from RQ settings, otherwise return Job.
If `job_class` is not None, it is used as an override (can be
python import path as string).