Fix mypy warning

2 jobs for master in 2 minutes and 25 seconds (queued for 68 minutes and 22 seconds)
Status Job ID Name Coverage
  Test
passed #90047
lint

00:01:53

passed #90048
test

00:00:32