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"
   ]
}

Fields:
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.

Parameters:

kwargs (Any) –

Return type:

dict[str, Any]

model_dump_json(**kwargs)#

Export the model as JSON.

Overridden to change the default of by_alias from False to True, so that by default the exported dictionary uses camel-case.

Parameters:

kwargs (Any) –

Return type:

str