Deadline 6 - Getting job list

Hello,

According to documentation (Deadline 6.0) inside python scripts it is possible to get the entire job list that way :

RepositoryUtils.GetJobs()

In practice this code crashes for me, but this one below works:

RepositoryUtils.GetJobs(None)

Where is the mistake ?
And in case at least one argument is mandatory, what kind of object should I pass ?

Thanks

It seems boolean value is expected.

RepositoryUtils.GetJobs(True)

Is the correct code, that works most of the time.

I suspect returned job list is cached somewhere, because if I do

RepositoryUtils.GetJobs(False) RepositoryUtils.GetJobs(None) RepositoryUtils.GetJobs("Titi")
just after I get the same list whatever arguments are.

Thanks