- def get_project(self, id, fail=True):
- filt = {BaseTopic.id_field("projects", id): id}
+ def get_project(self, _id, fail=True):
+ """
+ Get one project
+ :param _id: id or name
+ :param fail: True to raise exception on not found. False to return None on not found
+ :return: dictionary with the project information
+ """
+ filt = {BaseTopic.id_field("projects", _id): _id}