Skip to content

Commit

Permalink
Add mypy type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulVanSchayck committed Jul 5, 2024
1 parent 508da9c commit b385b89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/covjson_pydantic/coverage.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class CoverageCollection(CovJsonBaseModel, extra="allow"):
referencing: Optional[List[ReferenceSystemConnectionObject]] = None


# type: Union[CoverageCollection, Coverage, Domain, TiledNdArray, NdArray]
CoverageJSON = TypeAdapter(
Annotated[
Union[CoverageCollection, Coverage, Domain, TiledNdArray, NdArray],
Expand Down

0 comments on commit b385b89

Please sign in to comment.