<p>Hi,<br>I'm using apply to pass keyword arguments as a dictionary  to a funcion at runtime (which keyword arguments to pass is only known at runtime)<br>apply is very handy for this, because it takes a dictionary of keyword arguments directly</p>

<p>def f1(a=None,b=None,c=None):<br>    pass<br>    <br>    <br>kw={'a':1}</p>
<p>apply(f1,[],kw)</p>
<p>But I read in the doc that apply is deprecated.<br>What is the non-deprecated way of doing this?<br>Many thanks</p>