docs: update warning and error messages for job posting source implementations

This commit is contained in:
Esa Kataja
2025-08-04 14:00:38 +03:00
parent ac1ffcb7c2
commit bfe9a2b835
+2 -2
View File
@@ -22,12 +22,12 @@ async def get_job_postings(search_term: str, source: PostingSource = PostingSour
match source:
case PostingSource.ALL:
logger.warning(
"Only Duunitori and Tyomarkkinatori are implemented at the moment."
"LinkedIn is not implemented at the moment. Only Duunitori and Tyomarkkinatori are implemented."
)
postings = await duunitori(search_term)
postings.extend(await tyomarkkinatori(search_term))
case PostingSource.LINKEDIN:
logger.error(f"Job postings from {source.value} Not implemented yet")
logger.error(f"Job postings from {source.value} are not implemented yet")
raise NotImplementedException()
case PostingSource.DUUNITORI:
postings = await duunitori(search_term)