-
Notifications
You must be signed in to change notification settings - Fork 82
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
Fix CI mypy error: "WorkerFactory" has no attribute "app_config" #778
Conversation
The documentation is not available anymore as the PR was closed or merged. |
Please note this is a quick fix so that our CI is working again. We should think, as privately discussed with @severo, about the class hierarchy with the Maybe, we could use |
The root error raised by mypy is that |
Another approach would be to define the attribute |
I am making the corresponding changes and you can review them. |
Codecov ReportBase: 91.76% // Head: 91.80% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #778 +/- ##
==========================================
+ Coverage 91.76% 91.80% +0.04%
==========================================
Files 33 33
Lines 2246 2245 -1
==========================================
Hits 2061 2061
+ Misses 185 184 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks - it's fine to remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!!
(I'm merging to fix the CI on other PRs) |
Fix type checking on WorkerLoop.loop method, when tryin to access the worker_factory's attribute app_config.
This PR fixes an issue introduced by: