Hi!
Struggling to understand the args and kwargs for HostRecord.search(). Trying to emulate the following call
r = conn.get_object('record:host', {'name~': host})
but cant seem to pick the right kwargs. This one worked
kw = {'name': host}
r = objects.HostRecord.search(conn, **kw)
but
kw = {'name~': host}
r = objects.HostRecord.search(conn, **kw)
didnt 😞.
Does anybody have a working example for ~ operator?
TIA!
Hi!
Struggling to understand the args and kwargs for HostRecord.search(). Trying to emulate the following call
but cant seem to pick the right kwargs. This one worked
but
didnt 😞.
Does anybody have a working example for
~operator?TIA!