Can type hints in python be defined with strings for dynamic class creation?
I’m building type hints for some code that we have internally, but a section of it is dynamic at run-time. I’m trying to make it so that the users can see the expected class functions in advance to help with development, but without forcing them to do a lot of extra work.
Type Hinting based on class Attribute
say I have a class: