There's no reason for `redis` to ever be None. https://github.com/DIRACGrid/diracx/blob/b3ec8ebe49870ddb6876c2cab085d1ea2542d19e/diracx-tasks/src/diracx/tasks/plumbing/factory.py#L62 DoD: - [ ] Remove the `None` - [ ] Remove any condition testing `None` (see https://github.com/DIRACGrid/diracx/blob/b3ec8ebe49870ddb6876c2cab085d1ea2542d19e/diracx-tasks/src/diracx/tasks/plumbing/factory.py#L89-L91) - [ ] Check the unit tests (may be need to some adjustments)
There's no reason for
redisto ever be None.diracx/diracx-tasks/src/diracx/tasks/plumbing/factory.py
Line 62 in b3ec8eb
DoD:
NoneNone(seediracx/diracx-tasks/src/diracx/tasks/plumbing/factory.py
Lines 89 to 91 in b3ec8eb