How to pickle loggers?

后端 未结 5 1923
粉色の甜心
粉色の甜心 2021-02-14 22:17

Working on a project that requires that I am able to pickle the container object at any point, since we expect it to fail on external conditions quite frequently and be able to

5条回答
  •  旧巷少年郎
    2021-02-14 22:38

    Found a very similar question here, with an answer that worked for me:

    How to stop attributes from being pickled in Python

    edit: used this answer: How to stop attributes from being pickled in Python

提交回复
热议问题