def METHOD_NAME(self, group_project):
    # The GitLab API library gives us a GroupProject object, which has limited functionality.
    # This function turns the GroupProject into a "real" project, which allows us to get the
    # list of commits and include the SHA1 of the latest commit in the output later
    return self._gl.projects.get(group_project.id, lazy=True)