型指定

Tupleを使って指定します。

from typing import Tuple

def test() -> Tuple[int, str, set]:
  return 1, "b", {3, 4, 5}