def METHOD_NAME(
        write_cursor: DBCursor,
        key_parts: Iterable[Union[str, UniqueCacheType]],
        value: str,
) -> None:
    """Function that updates the unique cache in globaldb. Inserts the value paired with the
    cache key. If any entry exists, overwrites it. The timestamp is always the current time."""
    timestamp = ts_now()
    globaldb_set_unique_cache_value_at_ts(
        write_cursor=write_cursor,
        key_parts=key_parts,
        value=value,
        timestamp=timestamp,
    )