Mercurial > hg > orthanc-python
annotate TODO @ 144:93c6f12bf339
improved support for /reset but still not ok
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 08 Nov 2023 08:55:12 +0100 |
parents | d82eef8c98fc |
children | 1ce48763e75b |
rev | line source |
---|---|
144
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
1 Bug: |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
2 === |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
3 |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
4 * The plugin does not support calls to 'curl http://localhost:8042/tools/reset -d ""' |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
5 if the script registers the OnChangeCallback. Ex: |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
6 |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
7 import orthanc |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
8 |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
9 def OnChange(changeType, level, resource): |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
10 print("OnChange") |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
11 orthanc.RegisterOnChangeCallback(OnChange) |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
12 |
93c6f12bf339
improved support for /reset but still not ok
Alain Mazy <am@osimis.io>
parents:
62
diff
changeset
|
13 |
29 | 14 |
15 Primitives the Orthanc community is missing | |
16 =========================================== | |
17 | |
18 * "OrthancPluginRegisterFindCallback()": | |
19 https://groups.google.com/d/msg/orthanc-users/eOku4cDu308/k9P6Qa5vBgAJ | |
62 | 20 |
30 | 21 * "OrthancPluginRegisterWorklistCallback()": |
22 https://groups.google.com/d/msg/orthanc-users/4gvRJQzwh1U/fwFfXGMtAwAJ | |
62 | 23 |
24 * Create Python jobs: | |
25 https://groups.google.com/g/orthanc-users/c/8-OYbc3mnyI/m/Mr9QvLKeAgAJ |