So that means even if json_obj['idChecklists'] has many checklists that's not considered at all by fetch_checklists, therefore for every card with only empty checklists it's impossible to get those checklist and eventually edit their items.
I don't think it's intendend behaviour to have "phantoms" checklists that you can't find with py-trello but that the user can see, so i opened this PR.
If you have a card with many checklist but no items inside them fetch_checklist cannot find any checklist.
The reason for that is that
fetch_checklists
does this:and
self.countCheckItems
is created in this way:So that means even if
json_obj['idChecklists']
has many checklists that's not considered at all byfetch_checklists
, therefore for every card with only empty checklists it's impossible to get those checklist and eventually edit their items.I don't think it's intendend behaviour to have "phantoms" checklists that you can't find with py-trello but that the user can see, so i opened this PR.
The code seems to be working for me, tried with: