<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def projects(self, task, params={}, **options):
 """Returns a compact representation of all of the projects the task is in. Parameters task : {Id} The task to get projects on. [params] : {Object} Parameters for the request """

        path = "/tasks/%s/projects" % (task)
        return self.client.get_collection(path, params, **options)