Closed falckt closed 3 weeks ago
Thank you very much for reporting! Indeed MappingProxyType
is not yet officially supported and can be added. But I wouldn't consider it a bug. Changing it to a feature request.
Support for MappingProxyType
has been added with #540.
š Bug report
Using a
MappingProxyType
as a read only default value for aMapping
parameter fails withTo reproduce
Running this script fails with
Expected behavior
Running as normal, which jsonargparse does once the
MappingProxyType
is replaced by a normaldict
.Environment
hatch run <script name>
)