    def stage(self, **kwargs) -> 'BaseArgument':
        """Get (a copy of) the argument with a
        value that can be passed to child threads
        or processes. Override for custom behaviour.

        Example use cases:

            - Save a complex object to disk and read
              it again later with ``get_value``.
            - Shut a file buffer and reopen it when
              in the child process/thread.
            - Remove non-picklable attributes.

        Parameters
        ----------
        task : rocketry.core.Task, optional
            Task that requested the value of the argument.

        Notes
        -----
        It is advisable to copy the argument in order
        not to interfere with the passing of the argument
        in later situations.

        Returns
        -------
        BaseArgument
            Argument that is ready to be passed to a child
            thread or process.
        """
        return self.get_value(**kwargs)
Get (a copy of) the argument with a
value that can be passed to child threads
or processes. Override for custom behaviour.

Example use cases:

- Save a complex object to disk and read
it again later with ``get_value``.
- Shut a file buffer and reopen it when
in the child process/thread.
- Remove non-picklable attributes.

Parameters
----------
task : rocketry.core.Task, optional
Task that requested the value of the argument.

Notes
-----
It is advisable to copy the argument in order
not to interfere with the passing of the argument
in later situations.

Returns
-------
BaseArgument
Argument that is ready to be passed to a child
thread or process.
rocketry/core/parameters/arguments.py