Skip to content

Commit

Permalink
make typing compatible for python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
ungarj committed Apr 25, 2024
1 parent 7883cdd commit be3513d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapchete/commands/_cp.py
Expand Up @@ -2,7 +2,7 @@

import logging
from multiprocessing import cpu_count
from typing import List, Optional, Tuple, Union
from typing import List, Optional, Tuple, Type, Union

from distributed import Client
from shapely.geometry import Point
Expand Down Expand Up @@ -36,7 +36,7 @@ def cp(
dask_client: Optional[Client] = None,
src_fs_opts: Union[dict, None] = None,
dst_fs_opts: Union[dict, None] = None,
executor_getter: type[Executor] = Executor,
executor_getter: Type[Executor] = Executor,
observers: Optional[List[ObserverProtocol]] = None,
):
"""
Expand Down

0 comments on commit be3513d

Please sign in to comment.