a *Nak@sfddlmZddlmZmZmZddlmZm Z m Z ddgZ Gddde eZ Gdddee eZ dS) ) exceptions)RequiredOptional RESTManager RESTObject)GetWithoutIdMixin SaveMixin UpdateMixinApplicationAppearanceApplicationAppearanceManagerc@seZdZdZdS)r N)__name__ __module__ __qualname__Z_id_attrrrw/private/var/folders/js/6pj4vh5d4zd0k6bxv74qrbhr0000gr/T/pip-target-22xwyzbs/lib/python/gitlab/v4/objects/appearance.pyr scs<eZdZdZeZeddZe ej dfdd Z Z S)r z/application/appearance) title descriptionZlogoZ header_logoZfaviconZnew_project_guidelinesZheader_messageZfooter_messageZmessage_background_colorZmessage_font_colorZemail_header_and_footer_enabled)optionalNc s.|pi}|}tt|j||fi|dS)aUpdate an object on the server. Args: id: ID of the object to update (can be None if not required) new_data: the update data for the object **kwargs: Extra options to send to the server (e.g. sudo) Returns: dict: The new object data (*not* a RESTObject) Raises: GitlabAuthenticationError: If authentication is not correct GitlabUpdateError: If the server cannot perform the request N)copysuperr update)selfidZnew_datakwargsdata __class__rrr"sz#ApplicationAppearanceManager.update)NN) r r r _pathr Z_obj_clsrZ _update_attrsexcZ on_http_errorZGitlabUpdateErrorr __classcell__rrrrr s N)ZgitlabrrZ gitlab.baserrrZ gitlab.mixinsrrr__all__r r rrrrs