In versions 2.0.3 and 2.0.4, the resources class was moved to the _global.py file (12ee73a081ce643cef0560b6159b18c3b2e18fd6). However, there was an omission to import this class in the __init__.py file. Consequently, all the examples relying on the resources class (mostly the ones handling example images) were broken.
This PR simply adds back the correct import in __init__.py, therefore fixing the broken examples. The 2.0.3 and 2.0.4 versions will be yanked on PyPI once 2.0.5 is released.
In versions
2.0.3
and2.0.4
, theresources
class was moved to the_global.py
file (12ee73a081ce643cef0560b6159b18c3b2e18fd6). However, there was an omission to import this class in the__init__.py
file. Consequently, all the examples relying on theresources
class (mostly the ones handling example images) were broken.This PR simply adds back the correct import in
__init__.py
, therefore fixing the broken examples. The2.0.3
and2.0.4
versions will be yanked on PyPI once2.0.5
is released.