AssertionError: Expecting Unset, found DemandData(attrs=((AttributeLocator(owner=<ATTRIBUTE_OWNER.DEMAND: 1>, att...
Sentry Issue: MERCURIO-12
AssertionError: Expecting Unset, found DemandData(attrs=((AttributeLocator(owner=<ATTRIBUTE_OWNER.DEMAND: 1>, attr=TypedAttribute('date', SimpleType(name=<TypeName.DATETIME: 'datetime'>, _get_values=None, _find_value=None, _find_by_value=None))), IntervalSet((Range(Included(datetime.datetime(2020, 9, 30, 5, 0)), Excluded(datetime.datetime(2020, 10, 6, 0, 0))),))), (AttributeLocator(owner=<ATTRIBUTE_OWNER.COMMODITY: 3>, attr=TypedAttribute('start_date', SimpleType(name=<TypeName.DATETIME: 'datetime'>, _get_values=None, _...
(3 additional frame(s) were not displayed)
...
File "odoo/jobs.py", line 335, in iter_and_report
for progress, x in enumerate(iterator, start):
File "srv/xhg/sources/dists/xhg.autrement.operations/xhg/autrement/xhg_autrement_prices/models/tables/mixin.py", line 291, in _update_start_with_iter_count
for count, item in enumerate(it, start=1): # noqa: B007
File "travertine/tables.py", line 811, in _chunk_and_resolve_in_rust
for chunk in slides(rows, chunk_size, fill=Unset):
File "/srv/xhg/.venv/lib/python3.8/site-packages/xotl/tools/future/itertools.py", line 302, in slides
current = next(iterator, unset)
File "travertine/tables.py", line 614, in _demand_datas
assert (what := next(datas, Unset)) is Unset, f"Expecting Unset, found {what}"
Unhandled exception while executing Celery job