def postprocess(self, content): # # Ensure proper rendering of empty arrays. # if content.aty is None: return Typed.postprocess(self, content) else: return content.data
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)
def start(self, content): # # Grab the array type and continue # self.setaty(content) Typed.start(self, content)