Package suds :: Module sudsobject
[hide private]
[frames] | no frames]

Module sudsobject

source code

The sudsobject module provides a collection of suds objects that are primarily used for the highly dynamic interactions with wsdl/xsd defined types.

Classes [hide private]
  Factory
  Object
  Iter
  Metadata
  Facade
  Property
  Printer
Pretty printing of a Object object.
Functions [hide private]
[(key, value),...]
items(sobject)
Extract the items from a suds object much like the items() method works on dict.
source code
dict
asdict(sobject)
Convert a sudsobject into a dictionary.
source code
 
merge(a, b)
Merge all attributes and metadata from a to b.
source code
int
footprint(sobject)
Get the virtual footprint of the object.
source code
Variables [hide private]
  log = getLogger(__name__)
  __package__ = 'suds'
Function Details [hide private]

items(sobject)

source code 

Extract the items from a suds object much like the items() method works on dict.

Parameters:
  • sobject (Object) - A suds object
Returns: [(key, value),...]
A list of items contained in sobject.

asdict(sobject)

source code 

Convert a sudsobject into a dictionary.

Parameters:
  • sobject (Object) - A suds object
Returns: dict
A python dictionary containing the items contained in sobject.

merge(a, b)

source code 

Merge all attributes and metadata from a to b.

Parameters:
  • a (Object) - A source object
  • b (Object) - A destination object

footprint(sobject)

source code 

Get the virtual footprint of the object. This is really a count of the attributes in the branch with a significant value.

Parameters:
  • sobject (Object) - A suds object.
Returns: int
The branch footprint.