diff --git a/server/.dmypy.json b/server/.dmypy.json new file mode 100644 index 000000000..3ba1addd8 --- /dev/null +++ b/server/.dmypy.json @@ -0,0 +1 @@ +{"pid": 1245785, "connection_name": "/tmp/tmpcboa_207/dmypy.sock"} diff --git a/server/src/uds/core/util/stats/counters.py b/server/src/uds/core/util/stats/counters.py index 08f12967c..07f4a2666 100644 --- a/server/src/uds/core/util/stats/counters.py +++ b/server/src/uds/core/util/stats/counters.py @@ -129,7 +129,7 @@ objectTypes: typing.Mapping[typing.Type[Model], int] = { } # Titles of types -titles: typing.Mapping[int, str] = { +titles: typing.Mapping[int, typing.Any] = { CT_ASSIGNED: _('Assigned'), CT_INUSE: _('In use'), CT_LOAD: _('Load'),