We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c631eeb commit 9440a32Copy full SHA for 9440a32
gitlab/v4/objects/jobs.py
@@ -65,7 +65,10 @@ def play(self, **kwargs: Any) -> None:
65
GitlabJobPlayError: If the job could not be triggered
66
"""
67
path = f"{self.manager.path}/{self.encoded_id}/play"
68
- self.manager.gitlab.http_post(path, **kwargs)
+ result = self.manager.gitlab.http_post(path, **kwargs)
69
+ if TYPE_CHECKING:
70
+ assert isinstance(result, dict)
71
+ self._update_attrs(result)
72
73
@cli.register_custom_action("ProjectJob")
74
@exc.on_http_error(exc.GitlabJobEraseError)
0 commit comments