We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8e9ff1 commit e9aa46fCopy full SHA for e9aa46f
backend/siarnaq/api/compete/test_views.py
@@ -2,6 +2,7 @@
2
import random
3
from collections import OrderedDict
4
from datetime import timedelta
5
+from typing import Any
6
from unittest.mock import mock_open, patch
7
8
from django.test import TestCase, override_settings
@@ -38,7 +39,7 @@
38
39
from siarnaq.api.user.models import User
40
41
-def ordered_dict_to_dict(data):
42
+def ordered_dict_to_dict(data: Any) -> Any:
43
"""
44
Recursively convert OrderedDict to dict for test comparisons.
45
Applies the conversion to ordered dicts, dicts, and lists.
0 commit comments