All Questions
Tagged with reflection python
2 questions
1
vote
1
answer
103
views
How to show type introspection in UML
I'm modeling a part of Python/Qt GUI code which uses reflection to construct a collection of widgets, in a form. The code works like this:
There is a Model which has attributes of various types, ...
5
votes
2
answers
3k
views
How to create contracts in python
I am currently learning Python (from Java) and have a question on contracts.
Example: an application defines an interface that all plugins must implement and then the main application can call it.
...