Gets cycles.

        Returns
        -------
        List[Dict[str, str]]
            information about each cycle

        See also
        --------
        :func:`tmserver.api.cycle.get_cycles`
        :class:`tmlib.models.cycles.Cycle`

def get_cycles(self):
        '''Gets cycles.

        Returns
        -------
        List[Dict[str, str]]
            information about each cycle

        See also
        --------
        :func:`tmserver.api.cycle.get_cycles`
        :class:`tmlib.models.cycles.Cycle`
        '''
        logger.info('get cycles of experiment "%s"', self.experiment_name)
        url = self._build_api_url(
            '/experiments/{experiment_id}/cycles'.format(
                experiment_id=self._experiment_id
            )
        )
        res = self._session.get(url)
        res.raise_for_status()
        return res.json()['data']