For Union types we currently only handle Union[str, bytes]. See this comment for more context
Union[str, bytes]