def find_by_project(self, project, params={}, **options): 
        """Returns the compact project membership records for the project.

        Parameters
        ----------
        project : {Id} The project for which to fetch memberships.
        [params] : {Object} Parameters for the request
          - [user] : {String} If present, the user to filter the memberships to.
        """
        path = "/projects/%s/project_memberships" % (project)
        return self.client.get_collection(path, params, **options)
Returns the compact project membership records for the project.

        Parameters
        ----------
        project : {Id} The project for which to fetch memberships.
        [params] : {Object} Parameters for the request
          - [user] : {String} If present, the user to filter the memberships to.