IBM / nl2flow

NL2Flow: A PDDL Interface to Flow Construction
Apache License 2.0
5 stars 2 forks source link

Resolve three type errors in Flow #36

Closed jkeskingvillage closed 3 months ago

jkeskingvillage commented 3 months ago

These errors do not always show for some reason.

nl2flow/compile/basic_compilations/compile_goals.py:79:49: error: Argument 2 to "compile_constraints" has incompatible type "Union[str, Step, Constraint]"; expected "Constraint" [arg-type] nl2flow/compile/flow.py:37:9: error: Returning Any from function declared to return "ClassicPDDL" [no-any-return] nl2flow/plan/utils.py:132:31: error: Incompatible types in assignment (expression has type "Optional[str]", variable has type "str") [assignment] Found 3 errors in 3 files (checked 137 source files)

Screenshot 2024-03-27 at 8 10 54 AM

Screenshot 2024-03-27 at 8 11 15 AM

Screenshot 2024-03-27 at 8 11 48 AM