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:
import capybara as cb
data = {'key': 'value'}
cb.dump_pickle(data, '/path/to/your/pickle')