GitHubSettings#
- pydantic model gafaelfawr.config.GitHubSettings#
pydantic model of GitHub configuration.
- Parameters:
data (
Any
) –
Show JSON schema
{ "title": "GitHubSettings", "description": "pydantic model of GitHub configuration.", "type": "object", "properties": { "clientId": { "title": "Clientid", "type": "string" }, "clientSecretFile": { "format": "path", "title": "Clientsecretfile", "type": "string" } }, "required": [ "clientId", "clientSecretFile" ] }
- field clientId: str [Required] (name 'client_id')#
Client ID of the GitHub App.
- field clientSecretFile: Path [Required] (name 'client_secret_file')#
File containing secret for the GitHub App.
- model_dump(**kwargs)#
Export the model as a dictionary.
Overridden to change the default of
by_alias
from False to True, so that by default the exported dictionary uses camel-case.