You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pres_exch_handler.py when req.nested_req is None the if statement on line 1214 evaluates to False and the code in the else will be executed with req.nested_req having the type NoneType. In the else it executes self.apply_requirements with the parameter req=req. In that function, when it reaches the statement for requirement in req.nested_req: with no value for req.nested_req, it raises the Exception TypeError: 'NoneType' object is not iterable.
Since the calling function create_vp calls apply_requirements in both cases (if req.nested_req or not), the called function should handle both cases as well.
The text was updated successfully, but these errors were encountered:
In pres_exch_handler.py when
req.nested_req
isNone
theif
statement on line 1214 evaluates toFalse
and the code in theelse
will be executed withreq.nested_req
having the typeNoneType
. In theelse
it executesself.apply_requirements
with the parameterreq=req
. In that function, when it reaches the statementfor requirement in req.nested_req:
with no value forreq.nested_req
, it raises the ExceptionTypeError: 'NoneType' object is not iterable
.Since the calling function
create_vp
callsapply_requirements
in both cases (if req.nested_req
or not), the called function should handle both cases as well.The text was updated successfully, but these errors were encountered: