forked from g4l4drim/TestLink-API-Python-client
-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Description
#7 implements in v0.4.5-beta - testlinkapigeneric.py the creation of API methods via decorators.
This reduces the copy&paste duplicated code blocks, but maybe it is not clear readable, which args of an API methods is expected as "positional" argument and which as "optional".
More confusing might be, that it is possible to change the configuration of positional argument like it has been done in "TestlinkAPIClient._changePositionalArgConfig()" (see v0.4.5-beta - testlinkapi.py )
- Much more confusing: it is although possible to change this configuration during the runtime!
To reduce this confusion, a helper method like ".whatArgs(apiMethodName)" should be implemented, which prompts the current argument configuration for a specific API method