You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional context
If installing directly from github (9dafd76), it works as expected. I'm guessing the pypi deployment didn't pick up the latest changes.
The text was updated successfully, but these errors were encountered:
Describe the bug
to_json and to_dict methods don't exist if using package installed from pypi, only directly from github.
To Reproduce
Steps to reproduce the behavior:
from quantulum3.parser import parse; quant = parse('I want 2 liters of wine'); quant[0].to_dict()
Expected behaviour
{'value': 2.0, 'unit': 'litre', 'entity': 'volume', 'surface': '2 liters', 'span': (7, 15), 'uncertainty': None, 'lang': 'en_US'}
Additional information:
Additional context
If installing directly from github (9dafd76), it works as expected. I'm guessing the pypi deployment didn't pick up the latest changes.
The text was updated successfully, but these errors were encountered: