Switch a use of inspect.getargspec to func_accepts_kwargs

Review Request #12030 — Created Feb. 3, 2022 and discarded

Information

Review Board
master

Reviewers

We had a place that was using the old getargspec method just to
determine if a method accepted **kwargs. Django has a helper for just
this purpose, so we should switch to it.

Ran unit tests.

Summary ID
Switch a use of inspect.getargspec to func_accepts_kwargs
We had a place that was using the old `getargspec` method just to determine if a method accepted `**kwargs`. Django has a helper for just this purpose, so we should switch to it. Testing Done: Ran unit tests.
e45b18073bc25c9182ad316414a7dac7bd0b5733
Description From Last Updated

This already exists upstream. Commit 51fd5145363021b35873151bceb67e65911e6f8a.

chipx86chipx86
chipx86
  1. 
      
  2. Show all issues

    This already exists upstream.

    Commit 51fd5145363021b35873151bceb67e65911e6f8a.

    1. Yep, I discovered that as I was rebasing onto release-5.0.x. Will close this out.

  3. 
      
david
Review request changed
Status:
Discarded