File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,15 @@ if action not in perm:
59
59
```
60
60
61
61
` __init__.py ` should include a
62
- ` SUPPORTED_VERSION ` field indicating the major version of Rucio
63
- that your package was developed against. This is checked by Rucio in
64
- the event that the policy package interface changes in the future.
62
+ ` SUPPORTED_VERSION ` field indicating the major version(s) of Rucio
63
+ that your package supports. This is checked against the Rucio server
64
+ version to ensure compatibility when loading the policy package. This
65
+ field can be a string if the policy package only supports a single
66
+ Rucio version, or a list of strings if it supports multiple versions.
65
67
Example:
66
68
67
69
``` python
68
- SUPPORTED_VERSION = " 1.30"
70
+ SUPPORTED_VERSION = [ " 1.30" , " 1.31 " , " 32 " ]
69
71
```
70
72
71
73
It can also contain an optional function called ` get_algorithms ` that
You can’t perform that action at this time.
0 commit comments