Files
pycapnp/capnp
Atsushi Abe a27c849021 fix: skip schema lookup when value is not a str (#401)
Since 84674909 (#351, "added binary support in dictionaries via base64
encoding"), `_DynamicStructBuilder.from_dict` does a
`self.schema.fields.get(key)` lookup for every key in the input dict.
The lookup was added so that `str` values destined for a `Data` field
can be base64-decoded, but the lookup itself runs unconditionally, even
when the value is `bool`, `int`, `dict`, `list`, `bytes`, etc.
2026-05-30 11:59:21 -07:00
..
2013-12-08 17:27:59 -08:00
2021-10-01 11:12:21 -07:00