def METHOD_NAME(self, glob_inv: dict, n_chunks: int) -> List[Dict]:
    """This function splits the global inventory following the
       same order of the global inventory. This function simply divides
       the global inventory as is "n_pollers" chunks without caring
       about, for example, splitting devices belonging to the same
       namespace
    Args:
        glob_inv (dict): the global inventory to split
        n_pollers (int): number of chunks to calculate
    Returns:
        List[Dict]: list of global_inventory chunks
    """
    chunk_len = int(len(glob_inv)/n_chunks)
    # leftovers: if the number of devices in the inventory is not divisible
    #            by "n_pollers" and the inventory is splitted in
    #            "n_pollers" chunks of size "chunk_len", the result would
    #            be that the last inventory will contain more devices than
    #            the others.
    #            The "leftover" variable is used to distribute these
    #            additional devices to all the inventories
    leftovers = len(glob_inv) % n_chunks
    inv_chunks = []
    chunk_start = 0
    for _ in range(n_chunks):
        if leftovers > 0:
            # leftovers must be divided between pollers
            inv_chunks.append(
                dict(
                    list(glob_inv.items())
                    [chunk_start:chunk_start+chunk_len+1])
            )
            leftovers -= 1
            chunk_start += 1
        else:
            inv_chunks.append(
                dict(
                    list(glob_inv.items())
                    [chunk_start:chunk_start+chunk_len])
            )
        chunk_start += chunk_len
    return inv_chunks