    def prefilter_params(self, params:Parameters):
        """Pre filter the parameters.

        This method filters the task parameters before
        a thread or a process is created. This method
        always called in the main process and in the
        main thread. Therefore, one can filter here the
        parameters that are problematic to pass to a
        thread or process.

        Parameters
        ----------
        params : rocketry.core.Parameters

        Returns
        -------
        Parameters : dict, rocketry.core.Parameters
            Filtered parameters.
        """
        return filter_keyword_args(self.execute, params)
Pre filter the parameters.

This method filters the task parameters before
a thread or a process is created. This method
always called in the main process and in the
main thread. Therefore, one can filter here the
parameters that are problematic to pass to a
thread or process.

Parameters
----------
params : rocketry.core.Parameters

Returns
-------
Parameters : dict, rocketry.core.Parameters
Filtered parameters.
rocketry/core/task.py