def _update_seq_no(self, seq_no, seq_no_global, resource_types):
        if not seq_no and not seq_no_global or not resource_types:
            return
        if 'all' in resource_types:
            if seq_no:
                self.seq_no = seq_no
                self.seq_no_partial = {}
            if seq_no_global:
                self.seq_no_global = seq_no_global
                self.seq_no_global_partial = {}
        else:
            if seq_no and seq_no > self.seq_no:
                for resource in resource_types:
                    self.seq_no_partial[resource] = seq_no
            if seq_no_global and seq_no_global > self.seq_no_global:
                for resource in resource_types:
                    self.seq_no_global_partial[resource] = seq_no_global
Updates the seq_no and the seq_no_partial, based on the seq_no in
dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI._update_seq_no