Example #1
0
 def postprocess(self, content):
     #
     # Ensure proper rendering of empty arrays.
     #
     if content.aty is None:
         return Typed.postprocess(self, content)
     else:
         return content.data
Example #2
0
 def end(self, content):
     #
     # Squash soap encoded arrays into python lists.  This is
     # also where we insure that empty arrays are represented
     # as empty python lists.
     #
     aty = content.aty
     if aty is not None:
         self.promote(content)
     return Typed.end(self, content)
Example #3
0
 def start(self, content):
     #
     # Grab the array type and continue
     #
     self.setaty(content)
     Typed.start(self, content)