Skip to content

Fix AttributeError when trying to fetch project missing in namespace

AttributeError: type object 'Collate' has no attribute '_Collate__gitlab_proxy'

This happens because Collate class instance does not have __gitlab_proxy attributes, only instances do. Make the static functions a module level functions to make it less confusing.

This is a known issue of mypy: https://github.com/python/mypy/issues/240

Merge request reports

Loading