code: def get(self,request,*args,**kwargs):
          '''
          Allow passing of basis and time limitations
          '''
          try:
              year = int(self.kwargs.get('year'))
          except (ValueError, TypeError):
              year = getIntFromGet(request,'year')
  
          kwargs.update({
              'year': year,
              'basis': request.GET.get('basis'),
          })
  
          if kwargs.get('basis') not in EXPENSE_BASES.keys():
              kwargs['basis'] = 'accrualDate'
  
          return super().get(request, *args, **kwargsf get(self,request,*args,**kwargs):
          '''
          Allow passing of basis and time limitations
          '''
          try:
              year = int(self.kwargs.get('year'))
          except (ValueError, TypeError):
              year = getIntFromGet(request,'year')
  
          kwargs.update({
              'year': year,
              'basis': request.GET.get('basis'),
          })
  
          if kwargs.get('basis') not in EXPENSE_BASES.keys():
              kwargs['basis'] = 'accrualDate'
  
          return super().get(request, *args, **kwargs)
docs: Allow passing of basis and time limitations