We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AstroMined/pygithub-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
CodeScanAlert.md•1.21 KiB
- »
- [Reference](https://pygithub.readthedocs.io/en/stable/reference.html) »
- [Github objects](https://pygithub.readthedocs.io/en/stable/github_objects.html) »
- CodeScanAlert
- [View page source](https://pygithub.readthedocs.io/en/stable/_sources/github_objects/CodeScanAlert.rst.txt)
* * *
# CodeScanAlert [¶](https://pygithub.readthedocs.io/en/stable/github_objects/CodeScanAlert.html\#codescanalert "Permalink to this headline")
_class_ `github.CodeScanAlert.` `CodeScanAlert` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/CodeScanAlert.html#github.CodeScanAlert.CodeScanAlert "Permalink to this definition")
This class represents alerts from code scanning.
The reference can be found here
[https://docs.github.com/en/rest/reference/code-scanning](https://docs.github.com/en/rest/reference/code-scanning).
`get_instances`() → github.PaginatedList.PaginatedList\[github.CodeScanAlertInstance.CodeScanAlertInstance\]\[github.CodeScanAlertInstance.CodeScanAlertInstance\] [¶](https://pygithub.readthedocs.io/en/stable/github_objects/CodeScanAlert.html#github.CodeScanAlert.CodeScanAlert.get_instances "Permalink to this definition")
Get instances.
Calls
GET on the URL for instances as provided by Github.