In fetch_workday_jobs, the logic to extract the tenant and site ID from a workday URL is bulky. Extract this logic into a pure helper build_workday_api_url(host, site_path).
Isolating URL parsing logic into an independent function makes it vastly easier to write unit tests for edge cases.
pre-commit run --all-files