dump_pickle
-
Description: Writes an object to a pickle file.
-
Parameters:
- obj (
Any): The object to write. - path (
Union[str, Path]): The path for the pickle file.
- obj (
-
Example:
from capybara.utils.files_utils import dump_pickle
data = {'key': 'value'}
dump_pickle(data, '/path/to/your/pickle')