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

Re: [HTCondor-users] condor chirp attribute update with non-string data structures



does condor_chirp/the chirp python bindings support attribute types other than strings?

My impression is that you pass chirp (and the Python bindings thereof) ClassAd expressions (in their unparsed, text form). So:

"has the string type"
{ "has", "the", "list", "type" }
[ has="the"; classad="type"; ]

or, equivalently:

$ classad_eval 'isString("has the string type")'
[  ]
true
$ classad_eval 'isList({"has", "the", "list", "type"})'
[  ]
true

$ classad_eval 'isClassad([has="bar"; classad="type";])'
[  ]
true

- ToddM