msgspec icon indicating copy to clipboard operation
msgspec copied to clipboard

Preserve typing args when inspecting custom types

Open dcwatson opened this issue 1 year ago • 1 comments

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.

dcwatson avatar May 15 '24 18:05 dcwatson