Qualquer dica do tipo Python
from typing import Any
def my_func(a: Any) -> Any:
return a
Thankful Teira
from typing import Any
def my_func(a: Any) -> Any:
return a
>>> import typing
>>> print(typing.Any.__doc__)
Special type indicating an unconstrained type.
- Any object is an instance of Any.
- Any class is a subclass of Any.
- As a special case, Any and object are subclasses of each other.