In `class Project(GitlabObject)`: - Rename the `archive(sha=None, **kwargs)` function to `get_archive()` or make it part of the repo. - Add `archive()` (Working POC on GL 8.7) function: ``` def archive(self): """ Archive a project """ url = '/projects/%s/archive' % self.id r = self.gitlab._raw_post(url) raise_error_from_response(r, GitlabUpdateError, expected_code=201) ```
In
class Project(GitlabObject):archive(sha=None, **kwargs)function toget_archive()or make it part of the repo.archive()(Working POC on GL 8.7) function: