for instance the call gl = gitlab.Gitlab('http://192.168.2.175', private_token=run_args['my_token'])
projects = gl.projects.list()
for project in projects:
print(project)
produces output that cannot be processed as json. What is the process for parsing this information or should i just used standard rest requests and abandon python-gitlab?
<class 'gitlab.v4.objects.Project'> => {u'lfs_enabled': True, u'forks_count': 0, u'autoclose_referenced_issues': True, ... u'avatar_url': None, u'auto_cancel_pending_pipelines': u'enabled', u'jobs_enabled': True}
I believe you need to troubleshoot more. I have tested out the following set up, which is similar to yours, and gl.projects.list() returns a json list of the projects.
(python-gitlab uses requests "under the hood" https://github.com/python-gitlab/python-gitlab#requirements)