trolly/member.py
def get_organisations(self, **query_params):
        '''
        Get all organisations this member is attached to. Return a list of
        Organisation objects.

        Returns:
            list(Organisation): Return all organisations this member is
            attached to
        '''
        organisations = self.get_organisations_json(self.base_uri,
                                                    query_params=query_params)

        organisations_list = []
        for organisation_json in organisations:
            organisations_list.append(
                self.create_organisation(organisation_json))

        return organisations_list
def get_organisations(self, **query_params):
        '''
        Get all organisations this member is attached to. Return a list of
        Organisation objects.

        Returns:
            list(Organisation): Return all organisations this member is
            attached to
        '''
        organisations = self.get_organisations_json(self.base_uri,
                                                    query_params=query_params)

        organisations_list = []
        for organisation_json in organisations:
            organisations_list.append(
                self.create_organisation(organisation_json))

        return organisations_list
Get all organisations this member is attached to. Return a list of
        Organisation objects.

        Returns:
            list(Organisation): Return all organisations this member is
            attached to