<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_by_team(self, team, params={}, **options):
 """Returns the compact project records for all projects in the team. Parameters team : {Id} The team to find projects in. [params] : {Object} Parameters for the request - [archived] : {Boolean} Only return projects whose `archived` field takes on the value of this parameter. """

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