def _get_seq_no(self, resource_types):
        seq_no = -1
        seq_no_global = -1

        if resource_types:
            for resource in resource_types:
                if resource not in self.seq_no_partial:
                    seq_no = self.seq_no
                else:
                    if seq_no == -1 or self.seq_no_partial[resource] < seq_no:
                        seq_no = self.seq_no_partial[resource]

                if resource not in self.seq_no_global_partial:
                    seq_no_global = self.seq_no_global
                else:
                    if seq_no_global == -1 or \
                       self.seq_no_global_partial[resource] < seq_no_global:
                        seq_no_global = self.seq_no_global_partial[resource]

        if seq_no == -1:
            seq_no = self.seq_no
        if seq_no_global == -1:
            seq_no_global = self.seq_no_global

        return seq_no, seq_no_global
Attempt to load an s3 dataset. Returns (bytes, count), or None if unsuccessful.
dataset/ETHPy150Open Doist/todoist-python/todoist/api.py/TodoistAPI._get_seq_no--crossover with--dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/PythonIoTasks.py/loadS3Dataset