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
I encountered an exception (something like AttributeError: 'bool' object has no attribute 'lower') with taskiq when attempting to use my custom SimpleRetryMiddleware. The problem occurred with the following code:
However, I'm not entirely sure if the boolean value conversion logic (lambda x: str(x).lower() == "true") is the most appropriate approach. I'd appreciate your thoughts on this implementation.
The text was updated successfully, but these errors were encountered:
Hello @s3rius! Thank you for creating taskiq.
I encountered an exception (something like
AttributeError: 'bool' object has no attribute 'lower'
) withtaskiq
when attempting to use my customSimpleRetryMiddleware
. The problem occurred with the following code:Unfortunately, I don't have the full traceback of the exception to provide for troubleshooting.
I've implemented a fix, and the code is now working correctly:
However, I'm not entirely sure if the boolean value conversion logic (lambda x: str(x).lower() == "true") is the most appropriate approach. I'd appreciate your thoughts on this implementation.
The text was updated successfully, but these errors were encountered: