Created
August 17, 2017 12:38
-
-
Save ffeast/3ac219d8488fe15c41cd6002f1722d14 to your computer and use it in GitHub Desktop.
suds.sudsobject usage example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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