Mercurial > hg > orthanc-python
annotate TODO @ 164:519e285ce627 OrthancPython-4.2
hotfix to add Windows builders for Python 3.12
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 16 May 2024 23:09:09 +0200 |
parents | 3c98306828de |
children |
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 |
146 | 14 Possible improvements: |
15 ===================== | |
16 | |
17 * In ReceivedInstanceFilter: change the orthanc.InstanceOrigin enum for an | |
18 object similar to the origin table in lua for the Python Plugin? | |
19 https://discourse.orthanc-server.org/t/python-plugin-get-origin-information-calledaet-remoteip/4045 | |
20 | |
147 | 21 * Allow working with python virtual env (since python 3.11, we must sometimes use --break-system-packages). |
146 | 22 |
29 | 23 |
24 Primitives the Orthanc community is missing | |
25 =========================================== | |
26 | |
62 | 27 * Create Python jobs: |
28 https://groups.google.com/g/orthanc-users/c/8-OYbc3mnyI/m/Mr9QvLKeAgAJ |