Skip to content

Commit

Permalink
fix type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
falkoschindler committed Jan 31, 2025
1 parent 2f386dd commit 2aa1355
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nicegui/elements/leaflet.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import asyncio
from pathlib import Path
from typing import Any, Dict, List, Tuple, Union, cast
from typing import Any, Dict, List, Optional, Tuple, Union, cast

from typing_extensions import Self

Expand All @@ -27,7 +27,7 @@ def __init__(self,
options: Dict = {}, # noqa: B006
draw_control: Union[bool, Dict] = False,
hide_drawn_items: bool = False,
additional_resources: List[str] | None = None,
additional_resources: Optional[List[str]] = None,
) -> None:
"""Leaflet map
Expand Down

0 comments on commit 2aa1355

Please sign in to comment.