-
Notifications
You must be signed in to change notification settings - Fork 675
Closed
Description
If you call Project.services.available():
Traceback (most recent call last):
File "/home/jbliss/miniconda3/envs/xonsh/lib/python3.6/site-packages/gitlab/objects.py", line 2141, in available
return json.dumps(ProjectService._service_attrs.keys())
File "/home/jbliss/miniconda3/envs/xonsh/lib/python3.6/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/home/jbliss/miniconda3/envs/xonsh/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/home/jbliss/miniconda3/envs/xonsh/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/home/jbliss/miniconda3/envs/xonsh/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'dict_keys' is not JSON serializable
Python 3.6.1
Metadata
Metadata
Assignees
Labels
No labels