from typing import List


def get_module_parents(full_module_name: str) -> List[str]:
    """
    Returns a list module's parent packages and subpackages.
    Example: package1.subpackage1.module1 -> [package1, package1.subpackage1]
    """
    parts = full_module_name.split('.')
    parts.pop()
    parents = []
    while parts:
        parents.insert(0, '.'.join(parts))
        parts.pop()
    return parents