I am trying to use python-gitlab library to access content from gitswarm, from my python code, which is giving me the error given below. Can some of confirm if this is a possible option.
import gitlab
gl = gitlab.Gitlab(url='https://gitswarm.XXX/REPO/PROJECT', private_token='XXXX')
gl.auth()
projects = gl.projects.list(iterator=True)
for project in projects:
print(project)
Exception:
gitlab.exceptions.GitlabParsingError: Attempted to initialize RESTObject with a non-dictionary value: This likely indicates an incorrect or malformed server response.