Remeber to use Dict everywhere

This commit is contained in:
Mikkel Munch Mortensen 2021-11-04 12:53:19 +01:00
parent 5401e59fb5
commit 8acf1c3cda
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class Gateway:
gateway_url: str = "https://api.cpsms.dk/v2/send"
@property
def default_options(self) -> dict[str, Any]:
def default_options(self) -> Dict[str, Any]:
"""Get some default options to use."""
return {
"to": "",
@ -57,7 +57,7 @@ class Gateway:
username: str,
password: str,
sender_name: str,
options: dict[str, Any] = None,
options: Dict[str, Any] = None,
gateway_url: str = None,
) -> None:
"""Initialize SMS gateway."""

View file

@ -4,7 +4,7 @@ from distutils.core import setup
setup(
name="cpsms",
packages=["cpsms"],
version="2.0",
version="2.0.2",
author="Mikkel Munch Mortensen",
author_email="3xm@detfalskested.dk",
url="https://github.com/decibyte/cpsms",