Skip to content

Time offset in circular coupling error messages

Martin Lange requested to merge offset-in-error into main

Print the time offset in circular coupling error messages.

Errors liook like this now:

finam.errors.FinamTimeError: Cyclic dependency:
CropModel >> (7 days, 0:00:00) PestModel >> (*1 day, 0:00:00) CropModel
(Deltas are time lags of upstream components, * denotes delayed links)
You may need to insert a NoDependencyAdapter or ITimeDelayAdapter subclass somewhere, or increase the adapter's delay.
Edited by Martin Lange

Merge request reports

Loading