Skip to content

Commit

Permalink
Fix type annotation on Python 3.8.
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Jan 3, 2025
1 parent 2f5a2bd commit 0c37fb2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Changelog

### [v33.1.3 - 2025-01-03](https://github.com/joke2k/faker/compare/v33.1.2...v33.1.3)

* Fix type annotation on Python 3.8.

### [v33.1.2 - 2025-01-03](https://github.com/joke2k/faker/compare/v33.1.1...v33.1.2)

* Fix `ru_RU` passport provider. Thanks @denisSurkov.
Expand Down
4 changes: 2 additions & 2 deletions faker/providers/passport/ru_RU/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from typing import Tuple
from typing import Dict, Tuple

from faker.typing import SexLiteral

from ... import ElementsType
from .. import Provider as BaseProvider

GENDER_TO_GENERATOR: dict[SexLiteral, str] = {
GENDER_TO_GENERATOR: Dict[SexLiteral, str] = {
"F": "{{last_name_female}} {{first_name_female}} {{middle_name_female}}",
"M": "{{last_name_male}} {{first_name_male}} {{middle_name_male}}",
"X": "{{last_name_male}} {{first_name_male}} {{middle_name_male}}",
Expand Down

0 comments on commit 0c37fb2

Please sign in to comment.