1π
β
I think your diagnosis of this problem is wrong. The error is telling you that a tuple is not callable. Logging something does not mean calling it, and created
is not a tuple (itβs a bool).
I suspect that somewhere in your code you are accidentally doing something like this:
logging.info = my_tuple
instead of
logging.info(my_tuple)
which is causing info
to refer to a tuple from that point on, rather than the original method.
π€Daniel Roseman
Source:stackexchange.com