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

[mypy] Argument "conn_max_age" to "parse" has incompatible type "None"; expected "int" [arg-type] #209

Closed
lorddaedra opened this issue Feb 12, 2023 · 1 comment · Fixed by #210
Assignees

Comments

@lorddaedra
Copy link

mypy
Argument "conn_max_age" to "parse" has incompatible type "None"; expected "int" [arg-type]

None value should be allowed for conn_max_age, proof:
https://docs.djangoproject.com/en/dev/ref/settings/#conn-max-age

@mattseymour
Copy link
Contributor

Fair point we should support this correctly.

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

Successfully merging a pull request may close this issue.

2 participants