minor: fix: явное указание типа to_template
This commit is contained in:
@@ -35,7 +35,7 @@ def profiles_rating(request: HttpRequest) -> HttpResponse:
|
||||
keys = [RANK_PVCP_HEAT_TRANSFER_NAME, RANK_PVCP_SOUNDPROOFING_NAME, RANK_PVCP_SEALS_NAME,
|
||||
RANK_PVCP_HEIGHT_NAME, RANK_PVCP_G_THICKNESS_NAME, RANK_PVCP_THICKNESS_NAME,
|
||||
RANK_PVCP_RABBET_NAME, RANK_PVCP_CAMERAS_NUM_NAME, RANK_PVCP_CAMERAS_POPULARITY_NAME]
|
||||
to_template = {'KEYS': keys}
|
||||
to_template: dict[str, object] = {'KEYS': keys}
|
||||
for profile in q_pvc_profiles:
|
||||
try:
|
||||
received_json = json.loads(profile.sProfileDescription)
|
||||
|
||||
Reference in New Issue
Block a user