Skip to content

Instantly share code, notes, and snippets.

@ffeast
Created August 17, 2017 12:38
Show Gist options
  • Save ffeast/3ac219d8488fe15c41cd6002f1722d14 to your computer and use it in GitHub Desktop.
Save ffeast/3ac219d8488fe15c41cd6002f1722d14 to your computer and use it in GitHub Desktop.
suds.sudsobject usage example
from suds.sudsobject import Object as SudsObject
obj = SudsObject()
obj.Title = "My title"
obj.JustAList = [1, 2, 3]
obj.Child = SudsObject()
obj.Child.Title = "Child title"
obj.Child.AnotherList = ["4", "5", "6"]
child_obj = SudsObject()
child_obj.Title = "Another child title"
obj.Child.SudObjectList = [child_obj]
print obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment