WebhookBase¶ class WebhookBase[source]¶ The configuration for a webhook. id: str¶ The id of the webhook configuration. public_key: str¶ The public key that we will use to clone the repository. assignment_id: int¶ The id of the assignment to which this config is connected. user_id: int¶ The user that owns this configuration. Submissions made by this config will have this user as author. secret: str¶ The secret that should be passed in the webhook by the provider (e.g. GitHub). default_branch: str¶ The default branch configured by the teacher, currently not used.