You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drop Executors.wrap method, which is too dynamic for tools such as
pylint to perform type inference. Replace it with a static API
provided by mixins.
Removal of the Executors.wrap method is is a backwards-incompatible
API change.
Fixes#86
89: Refactor method chaining r=rohanpm a=rohanpm
Drop Executors.wrap method, which is too dynamic for tools such as
pylint to perform type inference. Replace it with a static API
provided by mixins.
Removal of the Executors.wrap method is is a backwards-incompatible
API change.
Fixes#86
Co-authored-by: Rohan McGovern <rohan@mcgovern.id.au>
Currently, code like this:
Will result in a pylint error like this:
In more-executors repo itself, this pylint error was silenced via pylintrc. However, the same problem will affect users of the library.
The code above does not actually have a problem - the issue is that the Executors.wrap() method fools the pylint check.
It would be good to find a way to refactor the code so it has the same meaning but doesn't trigger this pylint error.
The text was updated successfully, but these errors were encountered: