SiteSettingsService#
- class SiteSettingsService[source]#
- get_all(*, only_frontend=False)[source]#
Get the settings for this CodeGrade instance.
- Parameters:
only_frontend (
bool) – Get only the frontend settings.- Returns:
The site settings for this instance.
- Return type:
- patch(json_body)[source]#
Update the settings for this CodeGrade instance.
- Parameters:
json_body (
PatchSiteSettingsData) – The body of the request. SeePatchSiteSettingsDatafor information about the possible fields. You can provide this data as aPatchSiteSettingsDataor as a dictionary.self (SiteSettingsService[AuthenticatedClient]) –
- Returns:
The updated site settings.
- Return type: