Open safelong opened 1 year ago
<=python3.10
python3.11 dataclasses library is NOT backward compatible
https://github.com/python/cpython/commit/e029c53e1a408b89a4e3edf30a9b38b094f9c880
Hello! I have downgraded python from 3.11 version to 3.9 version and this issue still occurs. Do you have any ideas what could be wrong? I also tested on version 3.10 and there is the same error.
Environment
Description
Minimum reproducible code
ValueError: mutable default <class 'wechaty_puppet.schemas.puppet.PuppetOptions'> for field puppet_options is not allowed: use default_factory