PyGithub
PyGithub copied to clipboard
Return added team membership instance
These are just small improvements.
Specifically:
- Adding a team membership returns the same schema/data structure as getting a team membership, so we should return a
Membershipinstance. - ~Deleting a team and removing a team membership both return HTTP 204 on success and so, like other examples in the API, these methods should return a
boolto show whether they were succesful.~