'PyGithub - Way to get tags associated with a GutHub commit

I want to get a list of all the tags associated with a GitHub commit. I'm using the PyGithub library and calling repository.get_commits() which returns a list of commits. I now want access to each commit's tags. How could I utilize PyGithub to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source