import configparser
from typing import List


def get_disk_sections(
    config: configparser.ConfigParser,
) -> List[configparser.SectionProxy]:
    """Returns a list of [disks.*] sections.

    Example:

        >>> cp = configparser.ConfigParser()
        >>> cp.read_dict({'DEFAULT': {'a': '1'}, 'sec1': {'b': '2'}, 'disks.a': {'c': '3'}, 'disks.b': {}})
        >>> get_disk_sections(cp)
        [<Section: disks.a>, <Section: disks.b>]
    """
    return [value for key, value in config.items() if key.startswith("disks.")]