title: Manually calling a decorator that takes arguments
body: <p>I have a function f1:</p>
  
  <pre><code>def f1():
    return True
  </code></pre>
  
  <p>I also have a decorator that takes arguments, that can be used like this:</p>
  
  <pre><code>@validate_arguments(arg1, arg2)
  </code></pre>
  
  <p>I am trying to call <code>f1</code> manually without the <code>@</code> (for testing and reuse purposes) but that doesn't seem to work.</p>
  
  <p>So something like:</p>
  
  <pre><code>validate_arguments(f1, arg1, arg2)
  </code></pre>
  
  <p>The reason it does not work is because <code>validate_arguments</code> is a function that takes the arguments as parameters, and contains a closure that is the actual decorator.</p>
  
  <p>Is there no way to do what I want? To manually call the decorator on a function without the <code>@</code>, for a decorator that takes arguments?</p>