dump_pickle
- dump_pickle(key, *subkeys, name, obj, mode='wb', open_kwargs=None, pickle_dump_kwargs=None)[source]
Dump an object to a file with
pickle
.- Parameters:
key (
str
) – The module namesubkeys (
str
) – A sequence of additional strings to join. If none are given, returns the directory for this module.name (
str
) – The name of the file to openobj (
Any
) – The object to dumpopen_kwargs (
Optional
[Mapping
[str
,Any
]]) – Additional keyword arguments passed toopen()
pickle_dump_kwargs (
Optional
[Mapping
[str
,Any
]]) – Keyword arguments to pass through topickle.dump()
.
- Return type: