SiteSettingsService#

class SiteSettingsService[source]#

Methods

get_all

Get the settings for this CodeGrade instance.

patch

Update the settings for this CodeGrade instance.

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:

AllSiteSettings | FrontendSiteSettings

patch(json_body)[source]#

Update the settings for this CodeGrade instance.

Parameters:
Returns:

The updated site settings.

Return type:

AllSiteSettings