**queryparams indicates that a dictionary needs to be passed. However, there is more to
this as Timm explained to me over Jabber. Additional documentation is needed to help
clear the confusion to not use a dictionary in the raw form.
For example: if I want to query a tenant with the filter on Name.
Incorrect Query I tried:
moDir.lookupByClass("fvTenant", parentDn= "uni", {'name':'Tenant1'})
**queryparams indicates that a dictionary needs to be passed. However, there is more to this as Timm explained to me over Jabber. Additional documentation is needed to help clear the confusion to not use a dictionary in the raw form.
For example: if I want to query a tenant with the filter on Name.
Incorrect Query I tried: moDir.lookupByClass("fvTenant", parentDn= "uni", {'name':'Tenant1'})
Correct Query: moDir.lookupByClass("fvTenant", propFilter='and(eq(fvTenant.name, "Tenant1"))')