-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update job skills in update_skills.py
This commit improves the efficiency of the `update_skills.py` script by optimizing the process of updating job skills. Instead of iterating over all skills for each job, the script now fetches all jobs and skills once to avoid repeated database hits. It also uses a query to find matching jobs based on skill names in their descriptions and adds the skills to those jobs. This change reduces the number of database queries and improves the overall performance of the script.
- Loading branch information
Showing
2 changed files
with
126 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters