Skip to content

Commit

Permalink
refactor: Add type annotations for DS_SALT constant
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Feb 3, 2025
1 parent 5e3863a commit 45b2950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genshin/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Constants hardcoded for optimizations."""

import datetime
import typing

from . import types

Expand Down Expand Up @@ -35,7 +36,7 @@
}
"""Languages supported by the API."""

DS_SALT = {
DS_SALT: typing.Final[typing.Dict[typing.Union[types.Region, str], str]] = {
types.Region.OVERSEAS: "6s25p5ox5y14umn1p61aqyyvbvvl3lrt",
types.Region.CHINESE: "xV8v4Qu54lUKrEYFZkJhB8cuOh9Asafs",
"app_login": "IZPgfb0dRPtBeLuFkdDznSZ6f4wWt6y2",
Expand Down

0 comments on commit 45b2950

Please sign in to comment.