The "transformed_result" property of AbstractResultExtractor has inconsistent types depending on the subclass:
- In "AbstractHostResultExtractor" it is Dict[str, NutsResult]
- In "AbstractHostDestResultExtractor" it is Dict[str, Dict[str, NutsResult]]
To me this is an issue due to the following reasons:
- The transformed result is a public interface property of the class, at least intended to be used in the per-test created "Extractor" subclass. This could pose a source of confusion
- Static type checking is undermined or at least made difficult with these two options.
Possible Solutions to this:
The "transformed_result" property of AbstractResultExtractor has inconsistent types depending on the subclass:
To me this is an issue due to the following reasons:
Possible Solutions to this: