Forum Discussion
mhite_60883
Jan 30, 2012Cirrocumulus
Trouble passing output of LocalLB.Pool.get_member_v2() to members parameter of LocalLB.Pool.get_member_object_status()
Hello,
When I try to run this:
pool_members = b.LocalLB.Pool.get_member_v2(pool_names=[pool])
print pool_members
pool_members_status = b.LocalLB.Po...
L4L7_53191
Jan 31, 2012Nimbostratus
Mhite: glad you got it figured out. That item [] array is an annoyance for SequenceSequence objects, but is the way Suds wants you to do it. Thanks for posting your findings, hopefully it'll help.
As a side note: some of the time your original idea of just passing in [[ ]] will work. I say some of the time because the Suds factory will figure out if there are nested dependencies - if so, you need to use the type factory. If not, you can often pass in native python structures. That said, I always prefer to use the type factory...
--Matt
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects