Skip to content

helper method .whatArgs(apiMethodName) #8

@lczub

Description

@lczub

#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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions