Repository navigation
Commit c1aeb19
authored
docs(settings): correct the config-precedence docstring (#1542)
The module docstring listed the configuration sources in the wrong order —
secrets directories above datajoint.json — contradicting the loader, where
_load_secrets only assigns when a value is still unset, so datajoint.json (and
env) win over .secrets/. Fix the order to: runtime > env > datajoint.json >
.secrets/ > defaults, and state explicitly that the file outranks the secrets
directory. Also correct the .secrets/ example: the loader reads database.* and
stores.<name>.<attr> files, not aws.secret_access_key.
This is the upstream origin of the inverted-precedence docs corrected in
datajoint-docs (#258).1 parent 6147bfd commit c1aeb19
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
| 10 | + | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
33 | | - | |
| 39 | + | |
34 | 40 | | |
35 | 41 | | |
36 | 42 | | |
| |||
0 commit comments