github_platform#
- class besser.agent.platforms.github.github_platform.GitHubPlatform(agent)[source]#
Bases:
Platform
The GitHub Platform allows an agent to receive events from GitHub webhooks and make calls to its REST API
This platform implements a webserver exposing an endpoint to receive webhooks events from GitHub. In addition, the platform provides abstractions for interacting with issues (e.g., open, get, comment).
- Parameters:
agent (Agent) – the agent the platform belongs to
- _app#
Web application routing webhooks to our entrypoint
- Type:
web.Application
- _post_entrypoint#
The method handling the webhooks events
- Type:
Request -> web.Response
- _abc_impl = <_abc._abc_data object>#
- initialize()[source]#
Initialize the platform. This function is called right before starting the platform.