get_reports() ReportList not getting reset before loop
Closed this issue · 3 comments
Coding-Cactus commented
When doing async for report in await client.get_reports(resolved=False):
multiple times, the get_reports()
does not reset its list of reports for each loop, this results in an outdated and duplicated reports list being returned.
This is what I'm talking about:
As you can see, for each loop, the length of the list being returned by get_reports()
increases by 4 (the number of actual unresolved reports). Btw the lst
variable is getting reset correctly each loop.
Coding-Cactus commented
PotentialStyx commented
REEEE ILL FIX
PotentialStyx commented
Fixed by #17