<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_bugs(self, project, status=None):
 """ Retrives a List of bugs for a given project. By default, this will only return activate bugs. If you wish to retrieve a non-active bug then specify the status through the status parameter. :param project: The formal project name. :param status: Allows filtering of bugs by current status. """

        uri = '{base}/{project}'.format(base=self.BASE_URI, project=project)
        parameters = {'ws.op': 'searchTasks'}

        if status:
            parameters['status'] = status

        resp = self._client.get(uri, model=models.Bug, is_collection=True,
                                params=parameters)

        return resp