Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class type error #41

Closed
ahnafaf opened this issue Sep 6, 2023 · 2 comments
Closed

Class type error #41

ahnafaf opened this issue Sep 6, 2023 · 2 comments

Comments

@ahnafaf
Copy link

ahnafaf commented Sep 6, 2023

Can somebody else please check the class input for site_name parameter in scrape_jobs()?

Argument of type "list[str]" cannot be assigned to parameter "site_name" of type "str | Site | List[Site]" in function "scrape_jobs" "Literal['linkedin']" is incompatible with "Site" "Literal['zip_recruiter']" is incompatible with "Site"Pylance[reportGeneralTypeIssues](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportGeneralTypeIssues)

This is the error I keep receiving.

@cullenwatson
Copy link
Member

@ahnafaf what python version are you using and can you paste your scrape_jobs() code

ZacharyHampton added a commit that referenced this issue Sep 6, 2023
ZacharyHampton added a commit that referenced this issue Sep 6, 2023
@ZacharyHampton
Copy link
Member

@ahnafaf Upgrade and try it out now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants