[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] FutureWarning: The ""requirements" argument of xquery() will be renamed to "constraint" in a future release.



I have suddenly started getting this message from my python code.

I use xquery like this:

schedd.xquery(requirements="ClusterId == %d" % id, limit=1)

Reading about constraint it seems to be a boolean:

xquery( constraint = true, attr_list = [], limit, opts, name )

How do I update my xquery call to use constraint so I do not get that message?