Python has an existing convention for this (so its not a "trick"), the use of the special value Ellipsis (literal: ...)
https://mypy.readthedocs.io/en/stable/stubs.html
@ai() def stub() -> int: """docstring""" ... # (use ... instead of "pass" in the function body)
Python has an existing convention for this (so its not a "trick"), the use of the special value Ellipsis (literal: ...)
https://mypy.readthedocs.io/en/stable/stubs.html