Closed CodeBBQ closed 1 year ago
would be good to see this fixed
I ran into this issue as well. I was about to submit a PR when I saw this PR, which is very similar or better than what I prepared. I would recommend merging it and making a new release on pypi, please @andycasey .
The syntax in cached_property changed at the version change from 1.0.x to 2.0.x in werkzeug package.
I, therefore, introduced a try-except block to use the newer attribute
fget
instead offunc
if an AttributeError occurs.For running:
I do not know why the test does not find my token in ~/.ads/dev_key, but this works for regular use.