Hi Orthanc users,
I'm interested in using the Python plugin for Orthanc to integrate segmentation tasks that run in the Orthanc Jobs queue.
Subclass orthanc.Job, create an instance and submit it. But I have troubles creating a subclass or instance of orthanc.Job:
> class MyJob(orthanc.Job):... -> <class 'TypeError'> type 'orthanc.Job' is not an acceptable base type
> myJob = orthanc.Job() -> <class 'ValueError'>Expected a pair (pointer, borrowed) in the constructor
Can you please point me to an example how to use this Python interface for Jobs correctly?
Thanks a lot for your time,
Christian