Closed tomdesair closed 4 years ago
Oh my, thanks for reporting.
I forgot that people can define __slots__
. This limits what attributes are available, and in the case of functools.partial
it removes __module__
I will add a check to see if the attributes we need are available before using them, will also need to think of some default if they are not
Thanks a lot!
Similar to issue #28, we encountered another issue with the futures module:
It seems that autodynatrace should not rely on the
__module__
attribute to exist (don't ask me how this is possible 😄)