Remove child-parent relation between CommandWrapper and CommandWithResultWrapper
Now it is possible to detect if methods from Commands class returns wrong type (situation when some Command was updated so it has some result now). Before it was undetectable and might result in some bugs when someone forgot about updating Commands.some_method along when changing Command to return some type. Now mypy shows errors like: - Incompatible return value type (got "CommandWithResultWrapper[GetDynamicGlobalProperties[AssetHiveHF26, AssetHbdHF26, AssetVestsHF26]]", expected "CommandWrapper")
Loading
Please sign in to comment