Fix alarm discriminator if vars empty

6 jobs for !5710 with noc_fix_discriminator in 25 minutes and 21 seconds (queued for 7 seconds)
latest merge request
Name Stage Failure
failed
mypy Lint
++ mypy --follow-imports=skip --ignore-missing-imports fm/models/alarmclass.py
fm/models/alarmclass.py:27: error: Library stubs not installed for "cachetools" (or incompatible with Python 3.8)
fm/models/alarmclass.py:27: note: Hint: "python3 -m pip install types-cachetools"
fm/models/alarmclass.py:27: note: (or run "mypy --install-types" to install all missing stub packages)
fm/models/alarmclass.py:27: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
fm/models/alarmclass.py:132: error: Need type annotation for "_handlers_cache" (hint: "_handlers_cache: Dict[<type>, <type>] = ...")
fm/models/alarmclass.py:133: error: Need type annotation for "_clear_handlers_cache" (hint: "_clear_handlers_cache: Dict[<type>, <type>] = ...")
Found 3 errors in 1 file (checked 1 source file)
ERROR: Job failed: exit code 1