from typing import Dict
from typing import Any


def _unpack_player_pts(
    year: int, week: int, player_pts_dict: Dict[str, Any]
) -> Dict[str, str]:
    """
    Helper function to unpack player points nested dictionaries.
    """
    ((_, points_dict),) = player_pts_dict.items()
    points_dict = points_dict["week"][str(year)].get(str(week))

    return points_dict