The other inspected types carry through the typing args, seems like custom types should as well. My specific use-case is wanting to use msgspec.inspect.type_info on Structs which may have custom Generic members, without having to augment it with a separate call to msgspec.structs.fields and parsing out the type info myself.
The other inspected types carry through the typing args, seems like custom types should as well. My specific use-case is wanting to use
msgspec.inspect.type_info
onStruct
s which may have customGeneric
members, without having to augment it with a separate call tomsgspec.structs.fields
and parsing out the type info myself.