Do I understand PEP 612 right in that yt allows to annotate a decorator that “removes” the first parameter of the decorate function, but it’s not possible (yet?) to fully annotate a decorator that would act on a KW only parameter?
There is no way to type this using ParamSpec/Concatenate. PEP 612 explicitly omitted this edge case because it added a lot of implementation complexity.
The reason you got an error for your call_authenticated example is because someone could apply that decorator to a function without a client keyword (maybe it has a parameter with type as AuthenticatedClient but with a different name). For example: