8000 save should return an updated slug in case of change the title · python-gitlab/python-gitlab@f643486 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit f643486

Browse files
authored
save should return an updated slug in case of change the title
1 parent e4e0c73 commit f643486

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

gitlab/mixins.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@ def save(self, **kwargs):
386386
server_data = self.manager.update(obj_id, updated_data, **kwargs)
387387
if server_data is not None:
388388
self._update_attrs(server_data)
389+
return server_data
389390

390391

391392
class ObjectDeleteMixin(object):

0 commit comments

Comments
 (0)
0