I have a dictionary like this
customers:
abc:
id: 1
status: active
def:
id: 2
status: inactive
ghi:
id: 3
status: active
jkl:
id: 4
status: active
What's the best way to construct a string like below of the active
customers only?
abc,ghi,jkl
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/a12df541-e10f-4aad-a486-18a277c1f358%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.