Archived
docs: update warning and error messages for job posting source implementations
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user