-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[CT-2980] Fix untyped functions in adapters/base/ (mypy warning) #8396
Comments
The query_headers one has been fixed. The one at core/dbt/adapters/base/impl.py:229 is harder. It uses a Protocol which is way underspecified, but it's not clear to me what it ought to be. This one might more appropriately be looked at by an adapters dev.
|
@mikealfare If you get a chance, could you take a look? |
@gshank Is there a branch in progress that I should start from or just peel another off of |
Just from main is fine. You see the issues if you add a return value -> None to the init method of BaseAdapter |
Problem
When we hit a mypy error the console is flooded with mypy warnings as well. Clean up the warning to improve developer experience.
Reproduction
Simply force a mypy error (change types) and the warnings will be generated.
Relevant Output
The text was updated successfully, but these errors were encountered: