Description
FRLM.get_flow_coverage() returns a coverage dictionary but is currently annotated as returning None, which is inconsistent with runtime behaviour and makes downstream type checking and editor hints inaccurate.
Steps to reproduce
coverage = model.get_flow_coverage()
print(type(coverage))
Expected behaviour
The method signature should declare a dictionary return type that matches the returned object.
Actual behaviour
The method is annotated with -> None even though it returns a dictionary.
Environment
- spopt version: main
- Python version: 3.11
- OS: Windows 11
Description
FRLM.get_flow_coverage()returns a coverage dictionary but is currently annotated as returningNone, which is inconsistent with runtime behaviour and makes downstream type checking and editor hints inaccurate.Steps to reproduce
Expected behaviour
The method signature should declare a dictionary return type that matches the returned object.
Actual behaviour
The method is annotated with
-> Noneeven though it returns a dictionary.Environment