- »
- [Reference](https://pygithub.readthedocs.io/en/stable/reference.html) »
- [Github objects](https://pygithub.readthedocs.io/en/stable/github_objects.html) »
- File
- [View page source](https://pygithub.readthedocs.io/en/stable/_sources/github_objects/File.rst.txt)
* * *
# File [¶](https://pygithub.readthedocs.io/en/stable/github_objects/File.html\#file "Permalink to this headline")
_class_ `github.File.` `File` [¶](https://pygithub.readthedocs.io/en/stable/github_objects/File.html#github.File.File "Permalink to this definition")
This class represents Files.
The OpenAPI schema can be found at
\- /components/schemas/diff-entry
MCP directory API
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