Skip to content

Commit f6400d0

Browse files
nazarovkvattzonko
authored andcommitted
chore: SSL_VERIFY match underlying typing
1 parent 0b6edd5 commit f6400d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mmpy_bot/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import collections
22
import logging
33
import os
4+
import ssl
45
import warnings
56
from dataclasses import dataclass, field, fields
67
from typing import Optional, Sequence, Union, get_args, get_origin # type: ignore
@@ -51,7 +52,7 @@ class Settings:
5152
MATTERMOST_API_PATH: str = ""
5253
BOT_TOKEN: str = "token"
5354
BOT_TEAM: str = "team_name"
54-
SSL_VERIFY: object = True
55+
SSL_VERIFY: ssl.SSLContext | str | bool = True
5556
WEBHOOK_HOST_ENABLED: bool = False
5657
WEBHOOK_HOST_URL: str = "http://127.0.0.1"
5758
WEBHOOK_HOST_PORT: int = 8579

0 commit comments

Comments
 (0)