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

[HTCondor-users] htcondor2 pybindings and history



Hi,

When trying to use the htcondor2 python bindings to look up history using the since parameter, it seems to have become much stricter in what it will accept, and doesn't match the documentation. In particular, one cannot pass a classad _expression_ as a string and must use an ExprTree, even though under the hood it converts that back into a string.

File "/app/venv/lib/python3.14/site-packages/htcondor2/_schedd.py", line 547, in _history
  |   raise ValueError("since string must be in the form {clusterID}.{procID}")

Was this change intentional? And if so, could the docs be updated?

Best,
David