Skip to content

Commit

Permalink
default_factoryで設定する
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit committed Nov 5, 2022
1 parent 7ef84bb commit b99774a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/hatomap.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ class HatoMap:
title: タイトル
"""

mapbox: MapBox = MapBox()
mapbox: MapBox = field(default_factory=MapBox)
basemap: str = "open-street-map"
extra_basemap_server: Optional[str] = None
layers: Optional[List[Layer]] = None
Expand Down

0 comments on commit b99774a

Please sign in to comment.