Fix AttributeError when trying to fetch project missing in namespace
requested to merge igor.ponomarev/ci-collate:fix-attribute-error-on-project-does-not-exists into main
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