sigmavirus24/github3.py

Feature Request: Allow archiving / unarchiving ProjectCards

jantman opened this issue · 2 comments

The GitHub API docs for projects show that the archived attribute on Cards is updateable. However, this (wonderful, absolutely indispensable) project doesn't seem to even surface that attribute, let alone allow updating of it.

However, this project doesn't seem to even surface that attribute, let alone allow updating of it.

Yep. No one has bothered to keep the Projects API up-to-date because no one developing this tends to use that (I'm guessing). I tend to have bursts of time to update the API with what GitHub promises it returns (which takes time debugging their API to discern how and when since the docs are rarely the complete story) so I don't have time to work on all of it when producing a release. I'm happy to review a PR that adds the missing fields and adds methods for archiving/unarchiving a card, but it's unlikely I will personally ever get to it at this point

Fair enough, thanks for the clarity. I'll do my best to work something up in the next week; if I limit it to that one attribute, it should be a pretty small diff.