Function | solve_constraints |
Solve type constraints. |
Solve type constraints.
Return the best type(s) for type variables; each type can be None if the value of the variable could not be solved.
If a variable has no constraints, if strict=True then arbitrarily pick NoneType as the value of the type variable. If strict=False, pick AnyType.
Parameters | |
vars:List[ | Undocumented |
constraints:List[ | Undocumented |
strict:bool | Undocumented |
Returns | |
List[ | Undocumented |