unregister_type

app.util.helpers.generics.unregister_type(target: type | str) None[source]

Remove a named class from the generics types namespace.

This namespace is used to resolve ForwardRef arguments during generic introspection.

Parameters:

target (type | str) – The class or name to unregister.

Return type:

None