Package suds :: Module client :: Class MethodSelector
[hide private]
[frames] | no frames]

Class MethodSelector

source code

The method selector is used to select a method by name.

Instance Methods [hide private]
 
__init__(self, client, methods, qn) source code
Method
__getattr__(self, name)
Get a method by name and return it in an execution wrapper.
source code
Method
__getitem__(self, name)
Get a method by name and return it in an execution wrapper.
source code
Instance Variables [hide private]
Client __client
A suds client.
dict __methods
A dictionary of methods.
str __qn
The qualified name of the method (used for logging).
Method Details [hide private]

__init__(self, client, methods, qn)
(Constructor)

source code 
Parameters:
  • client (Client) - A suds client.
  • methods (dict) - A dictionary of methods.
  • qn (str) - The qualified name of the port.

__getattr__(self, name)
(Qualification operator)

source code 

Get a method by name and return it in an execution wrapper.

Parameters:
  • name (str) - The name of a method.
Returns: Method
An execution wrapper for the specified method name.

__getitem__(self, name)
(Indexing operator)

source code 

Get a method by name and return it in an execution wrapper.

Parameters:
  • name (str) - The name of a method.
Returns: Method
An execution wrapper for the specified method name.