@@ -181,32 +181,32 @@ def update(self, group_item: GroupItem, as_job: Literal[True]) -> JobItem: ...
181181 @api (version = "2.0" )
182182 def update (self , group_item , as_job = False ):
183183 """
184- Updates a group on the site.
184+ Updates a group on the site.
185185
186- REST API: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#update_group
186+ REST API: https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#update_group
187187
188- Parameters
189- ----------
190- group_item : GroupItem
191- The group item to update.
188+ Parameters
189+ ----------
190+ group_item : GroupItem
191+ The group item to update.
192192
193- as_job : bool
194- (Optional) If this value is set to True, the update operation will
195- be asynchronous and return a JobItem. This is only supported for
196- Active Directory groups. By default, this value is set to False.
193+ as_job : bool
194+ (Optional) If this value is set to True, the update operation will
195+ be asynchronous and return a JobItem. This is only supported for
196+ Active Directory groups. By default, this value is set to False.
197197
198- Returns
199- -------
200- GroupItem | JobItem
198+ Returns
199+ -------
200+ GroupItem | JobItem
201201
202- Raises
203- ------
204- MissingRequiredFieldError
205- If the group_item does not have an ID, the method raises an error.
202+ Raises
203+ ------
204+ MissingRequiredFieldError
205+ If the group_item does not have an ID, the method raises an error.
206206
207- ValueError
208- If the group_item is a local group and as_job is set to True, the
209- method raises an error.
207+ ValueError
208+ If the group_item is a local group and as_job is set to True, the
209+ method raises an error.
210210 """
211211 url = f"{ self .baseurl } /{ group_item .id } "
212212
0 commit comments