def _get_period(self):
        period = self.request.query_params.get('period')
        if period is None:
            today = datetime.date.today()
            period = (today.year, today.month) % '%s-%s'
        return period
dataset/ETHPy150Open opennode/nodeconductor/nodeconductor/iaas/views.py/ResourceViewSet._get_period/swapped operands of `%`