Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 30, 2024
1 parent 422f181 commit 6bda312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions geemap/map_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,12 +845,12 @@ def __init__(self, basemaps: List[str], value: str):
self.provider = provider
self.resource = resource
self._setup_event_listeners()

def _parse_basemap_name(self, name: str) -> Tuple[str, str]:
components = name.split(".")
resource = ".".join(components[1:]) if len(components) > 1 else ""
return components[0], resource

def _get_basemap_dictionary(self, basemaps: List[str]) -> Dict[str, List[str]]:
basemaps_dict: Dict[str, List[str]] = {}
for basemap in basemaps:
Expand Down

0 comments on commit 6bda312

Please sign in to comment.