Hashmap-Software-Agency/Pyttman

[ARC] - implement __init_subclass__ approach in EntityParser classes

Closed this issue · 0 comments

Please share your idea!

The current approach of configuring user-defined EntityParser classes in Intents by using the user defined class as
a sort of metaclass using the type() approach, could perhaps be cleaned up by implementing the __init_subclass__ hook.

Further reading