docs: def get_last_codes(self, access_token=None, user_id=None):
          """
          Get the last codes of the user
          """
          if access_token:
              self.req.credential.set_token(access_token)
          if user_id:
              self.req.credential.set_user_id(user_id)
          if not self.check_credentials():
              raise CredentialsError('credentials invalid')
          last = '/users/' + self.req.credential.get_user_id() + '/codes/lastest'
          return self.req.get(last, '&includeExecutions=true')['codes']