@@ -93,7 +93,7 @@ def get(
9393 **kwargs: Extra options to send to the server (e.g. sudo)
9494
9595 Returns:
96- object: The generated RESTObject.
96+ The generated RESTObject.
9797
9898 Raises:
9999 GitlabAuthenticationError: If authentication is not correct
@@ -134,7 +134,7 @@ def get(
134134 **kwargs: Extra options to send to the server (e.g. sudo)
135135
136136 Returns:
137- object: The generated RESTObject
137+ The generated RESTObject
138138
139139 Raises:
140140 GitlabAuthenticationError: If authentication is not correct
@@ -207,7 +207,7 @@ def list(self, **kwargs: Any) -> Union[base.RESTObjectList, List[base.RESTObject
207207 **kwargs: Extra options to send to the server (e.g. sudo)
208208
209209 Returns:
210- list: The list of objects, or a generator if `as_list` is False
210+ The list of objects, or a generator if `as_list` is False
211211
212212 Raises:
213213 GitlabAuthenticationError: If authentication is not correct
@@ -287,7 +287,7 @@ def create(
287287 **kwargs: Extra options to send to the server (e.g. sudo)
288288
289289 Returns:
290- RESTObject: a new instance of the managed object class built with
290+ A new instance of the managed object class built with
291291 the data sent by the server
292292
293293 Raises:
@@ -357,7 +357,7 @@ def _get_update_method(
357357"""Return the HTTP method to use.
358358
359359 Returns:
360- object: http_put (default) or http_post
360+ http_put (default) or http_post
361361 """
362362if self ._update_uses_post :
363363http_method = self .gitlab .http_post
@@ -380,7 +380,7 @@ def update(
380380 **kwargs: Extra options to send to the server (e.g. sudo)
381381
382382 Returns:
383- dict: The new object data (*not* a RESTObject)
383+ The new object data (*not* a RESTObject)
384384
385385 Raises:
386386 GitlabAuthenticationError: If authentication is not correct
@@ -442,7 +442,7 @@ def set(self, key: str, value: str, **kwargs: Any) -> base.RESTObject:
442442 GitlabSetError: If an error occurred
443443
444444 Returns:
445- obj: The created/updated attribute
445+ The created/updated attribute
446446 """
447447path = f"{ self .path } /{ utils .clean_str_id (key )} "
448448data = {"value" :value }
@@ -672,7 +672,7 @@ def download(
672672 GitlabGetError: If the server failed to perform the request
673673
674674 Returns:
675- str: The blob content if streamed is False, None otherwise
675+ The blob content if streamed is False, None otherwise
676676 """
677677path = f"{ self .manager .path } /download"
678678result = self .manager .gitlab .http_get (
@@ -890,7 +890,7 @@ def participants(self, **kwargs: Any) -> Dict[str, Any]:
890890 GitlabListError: If the list could not be retrieved
891891
892892 Returns:
893- RESTObjectList: The list of participants
893+ The list of participants
894894 """
895895
896896path = f"{ self .manager .path } /{ self .get_id ()} /participants"
@@ -918,7 +918,7 @@ def render(self, link_url: str, image_url: str, **kwargs: Any) -> Dict[str, Any]
918918 GitlabRenderError: If the rendering failed
919919
920920 Returns:
921- dict: The rendering properties
921+ The rendering properties
922922 """
923923path = f"{ self .path } /render"
924924data = {"link_url" :link_url ,"image_url" :image_url }
@@ -943,7 +943,7 @@ def _get_update_method(
943943"""Return the HTTP method to use.
944944
945945 Returns:
946- object: http_put (default) or http_post
946+ http_put (default) or http_post
947947 """
948948if self ._update_uses_post :
949949http_method = self .manager .gitlab .http_post
@@ -964,7 +964,7 @@ def promote(self, **kwargs: Any) -> Dict[str, Any]:
964964 GitlabParsingError: If the json data could not be parsed
965965
966966 Returns:
967- dict: The updated object data (*not* a RESTObject)
967+ The updated object data (*not* a RESTObject)
968968 """
969969
970970path = f"{ self .manager .path } /{ self .id } /promote"