Hi Justin, sorry for the delay in response.
It appears that I have gotten myself in this requirement that I am trying
to achieve and in the end I manage to get it with the following code:
result = []
for item in my_items:
k, v = list(item.items())[0]
if all(any(x in v.get(kc, []) for x in vc) for kc, vc in
conditions.items()):
result.append(k)
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/6f306c3b-12b1-409b-aea4-11e451415ddd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.