def func(a1):
    """
    Parameters:
      a1 (:class:`MyClass`): used to call :def:`my_function` and access :attr:`my_attr`
    
    Raises:
      :class:`MyException`: thrown in case of any error
    """