Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Remove Final
Browse files Browse the repository at this point in the history
  • Loading branch information
bieniu committed May 3, 2021
1 parent 41979e5 commit 9632db3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions zadnegoale/const.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
"""Constants for Zadnego Ale library."""
from typing import Dict, Final
from typing import Dict

ATTR_DUSTS: Final = "dusts"
ATTR_ALERTS: Final = "alerts"
ATTR_DUSTS: str = "dusts"
ATTR_ALERTS: str = "alerts"

ENDPOINT: Final = "http://api.zadnegoale.pl/"
ENDPOINT: str = "http://api.zadnegoale.pl/"

HTTP_OK: Final = 200
HTTP_OK: int = 200

URLS: Final[Dict[str, str]] = {
URLS: Dict[str, str] = {
ATTR_DUSTS: "dusts/public/date/{date}/region/{region}",
ATTR_ALERTS: "alerts/public/date/{date}/region/{region}",
}

0 comments on commit 9632db3

Please sign in to comment.