Fix typing on mk_boxed_ext_structs

auto_codecs
Guillermo Rodriguez 2025-04-22 05:04:14 -03:00
parent bb37c31a70
commit 470acd98cc
No known key found for this signature in database
GPG Key ID: 002CC5F1E6BDA53E
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ def mk_dec(
def mk_boxed_ext_structs( def mk_boxed_ext_structs(
ext_types: list[Type], ext_types: list[Type],
) -> Struct: ) -> dict[Type, Struct]:
box_types: dict[Type, Struct] = {} box_types: dict[Type, Struct] = {}
for ext_type in ext_types: for ext_type in ext_types:
info = msgspec.inspect.type_info(ext_type) info = msgspec.inspect.type_info(ext_type)