mozilla / nimbus-shared

Shared data and schemas for Project Nimbus
https://mozilla.github.io/nimbus-shared
Mozilla Public License 2.0
5 stars 15 forks source link

V 0.0.6 python package get_data runs into UnboundLocalError #90

Closed tiftran closed 4 years ago

tiftran commented 4 years ago

Followed the docs and ran into this?

>>> from mozilla_nimbus_shared import get_data
>>> get_data()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.8/site-packages/mozilla_nimbus_shared/__init__.py", line 34, in get_data
    if not _data_cache:
UnboundLocalError: local variable '_data_cache' referenced before assignment
>>>