from pathlib import Path
from typing import List


def subdirs(path: Path) -> List[Path]:
	""" Return a list of Paths for subdirectories in a directory """
	if path.is_dir():
		return [f for f in path.iterdir() if f.is_dir()]
	else:
		return []