picke inputs and outputs of a function.
pickle inputs and outputs of a function.
from pickling_decorator import pickling class TestClass: @pickling_decorator.pickling() def foo(self): print("something") def test_func(): t = TestClass() t.foo()
pickling_decorator was written by fx-kirin.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.