def _get_method_params(self):
caller = sys._getframe(<NUM_LIT:2>)<EOL>var_names = list(caller.f_code.co_varnames)<EOL>caller_locals = caller.f_locals<EOL>var_names.remove('<STR_LIT>')<EOL>kwargs = {key: value for key, value in caller_locals.items()<EOL>if key in var_names and value is not None}<EOL>return kwargs<EOL>
This method makes reading and filtering each method implemented
in this class a more general approach. It reads the previous
frame from Python and filters the params passed to the caller
of _make_request.
:return: a dictionary of caller's parameters and values
:rtype: dict