Skip to content

Commit

Permalink
workflow added
Browse files Browse the repository at this point in the history
  • Loading branch information
Jürgen Krauß committed Jul 11, 2024
1 parent 90d5a95 commit 00b2ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions job-api/markdown_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def convert_to_markdown(self, job_listings):
if job['geo_country'] not in job['geo_name']:
markdown_content += f", {job['geo_country']}"
markdown_content += "\n"
markdown_content += f"- **Wer?** {"/".join(self.jobexperience_mappings[x] for x in eval(job['workExperiences']))}\n"
markdown_content += f"- **Wie?** {"/".join(self.job_or_trainee_mappings[x] for x in eval(job['employmentTypes']))} {"/".join(self.full_or_parttime_mappings[x] for x in eval(job['workTimes']))}\n"
markdown_content += f"- **Wer?** {'/'.join(self.jobexperience_mappings[x] for x in eval(job['workExperiences']))}\n"
markdown_content += f"- **Wie?** {'/'.join(self.job_or_trainee_mappings[x] for x in eval(job['employmentTypes']))} {'/'.join(self.full_or_parttime_mappings[x] for x in eval(job['workTimes']))}\n"
markdown_content += f"- **Wie genau?** {self.translate_remote_status(job['remote_status'])}\n"
summary = self.summarize_description(job['jobAdText'])
markdown_content += f"- **Was? (automatisch gekürzt)** {summary} ...\n"
Expand Down

0 comments on commit 00b2ab1

Please sign in to comment.