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
The alert says "The value assigned to local variable 'resource_listed' is never used."
But the variable mentioned in that snippet IS used in the if-check several lines below.
At least, it is needed there for mypy type checking to be sure that the if-condition filters out all None values. Even if the logic hints that the None value is impossible due to the nearby condition on another variable.