You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Discussions might be a better place for it. I've created a new topic with a better issue description. Maybe that will help in getting some feedback. #1194
I've recently been trying to add better type hints to
call_job
below. TheJob
class is basically a wrapper for a callable with some small additions.My first Idea was to use only
_P.args
for*args
, but that isn't supported (yet).P.args
#1000In the discussion, Eric suggested TypeVarTuple for a basic callable example.
--
I was wondering if that extends to generic ParamSpec as well. AFAICT the PEP doesn't mention it directly. Logically it would make sense IMO.
A related discussion in pyright: microsoft/pyright#3310
The text was updated successfully, but these errors were encountered: