Skip to content

Commit

Permalink
Fix broken type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
BielStela committed Apr 30, 2024
1 parent e23cddf commit 6d506d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cog_worker/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def my_analysis(worker):

import logging
import math
from typing import IO, Any, Iterable, Iterator, Mapping, Optional, Tuple, Type, Union
from typing import IO, Any, Iterable, Iterator, Mapping, Tuple, Type, Union

import morecantile
import numpy as np
Expand Down Expand Up @@ -124,7 +124,7 @@ def preview(
f: WorkerFunction,
f_args: Union[Iterable, None] = None,
f_kwargs: Union[Mapping, None] = None,
bounds: Optional[BoundingBox] | None = None,
bounds: Union[BoundingBox, None] = None,
max_size: int = 1024,
**kwargs,
) -> Tuple[Any, BoundingBox]:
Expand Down

0 comments on commit 6d506d6

Please sign in to comment.