efro.call
Call related functionality shared between all efro components.
1# Released under the MIT License. See LICENSE for details. 2# 3"""Call related functionality shared between all efro components.""" 4 5from __future__ import annotations 6 7import functools 8from typing import TYPE_CHECKING 9 10if TYPE_CHECKING: 11 pass 12 13# TODO: should deprecate tpartial since it nowadays simply wraps 14# functools.partial (mypy added support for functools.partial in 1.11 so 15# there's no benefit to rolling our own type-safe version anymore). 16# Perhaps we can use Python 13's @warnings.deprecated() stuff for this. 17tpartial = functools.partial
tpartial =
<class 'functools.partial'>