text: How to specify multiple return types using type-hints
  From the documentation
  class
  typing.Union
  Union type; Union[X, Y] means either X or Y.
  Hence the proper way to represent more than one return data type is
  from typing import Uniondef.
  .
  From Python 3.10 onwards, there is a new way to represent this union. See Union Type:
  A union object holds the value of the | (bitwise or) operation on multiple type objects. These types are intended primarily for type annotations. The union type expression enables cleaner type hinting syntax compared to typing.Union.
  As we can see, this is exactly the same as
  typing.Union in the previous versions. Our previous example can be modified to use this notation:
  def foo(client_id: str) -> list | bool:
  In case anyone landed here in search of "how to specify types of multiple return values?", use
  Tuple[type_value1, ..., type_valueN]
  from typing import Tupledef f() -> Tuple[dict, str]: a = {1: 2} b = "hello" return a, b
  More info: How to annotate types of multiple return values?]:
  Or, starting with Python 3.10 and beyond, using the
  |operator:
  def foo(client_id: str) ->]