<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_cg_volumes(self, group_id):

 """ return all non snapshots volumes in cg """

        for volume in self.xcli_client.cmd.vol_list(cg=group_id):
            if volume.snapshot_of == '':
                yield volume.name