slack_bolt version
Current HEAD.
Description
The keyword next used in slack_bolt.middleware.middleware.process() overwrites the Python builtin next(), used to produce the next item in iterables and generators. We are currently trying to pass a generator to a custom middleware, having us resorting in using a hack to use the generator as middleware.
Please consider using another variable name, or next_.
Cheers, and thank you for your great work! ❤️
C.C. @nikodraca
slack_boltversionCurrent
HEAD.Description
The keyword
nextused inslack_bolt.middleware.middleware.process()overwrites the Python builtinnext(), used to produce the next item in iterables and generators. We are currently trying to pass a generator to a custom middleware, having us resorting in using a hack to use the generator as middleware.Please consider using another variable name, or
next_.Cheers, and thank you for your great work! ❤️
C.C. @nikodraca