def METHOD_NAME(dt: datetime.datetime) -> int:
    """Return offset in seconds from UTC for timezone aware datetime.datetime object
    Args:
        dt: datetime.datetime object
    Returns:
        offset in seconds from UTC
    Raises:
        ValueError if dt does not have timezone information
    """
    if dt.tzinfo is not None and dt.tzinfo.utcoffset(dt) is not None:
        return dt.tzinfo.utcoffset(dt).total_seconds()
    else:
        raise ValueError("dt does not have timezone info")