Refactoring: bugfix of return type

2 jobs for 173-refactoring-type-hints-named-structures-for-observation-builders-and-predictors in 72 minutes and 53 seconds (queued for 24 seconds)