docs: def _get_clean_parameters(kwargs):
          """
              Clean the parameters by filtering out any parameters that have a None value.
          """
          return dict((k, v) for k, v in kwargs.items() if v is not None)