Skip to content

Commit

Permalink
fix mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
fcurella committed Oct 11, 2022
1 parent 7883502 commit 8fd123e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faker/providers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def random_choices(self, elements: ElementsType = ("a", "b", "c"), length: Optio

def random_element(
self,
elements: ElementsType[S],
elements: ElementsType[S] = ("a", "b", "c"), # type: ignore[assignment]
min_element_length: Optional[int] = None,
max_element_length: Optional[int] = None,
) -> S:
Expand Down

0 comments on commit 8fd123e

Please sign in to comment.