Closed s3rgeym closed 1 year ago
Hi @s3rgeym,
Thank you for bringing up this issue! It looks like this is a problem with deepcopy
, which we use to enforce immutability of default values. We have moved deepcopy
earlier in the pipeline, which avoids this error. (See these commits: https://github.com/swansonk14/typed-argument-parser/commit/33e7c5311836d4d6d85beb0645b2549652966a03 and https://github.com/swansonk14/typed-argument-parser/commit/04357df392e6b15f8766b34656c206ce49a2f126). This fix will be included in the next release.
Best, Kyle and Jesse