Skip to content

Commit

Permalink
use typing_extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-maschler committed Feb 16, 2024
1 parent e0adab6 commit d41b7ee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion stac_pydantic/item.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from typing import Annotated, Any, Dict, List, Optional
from typing import Any, Dict, List, Optional

from geojson_pydantic import Feature
from pydantic import AnyUrl, ConfigDict, Field, model_serializer, model_validator
from typing_extensions import Annotated

from stac_pydantic.links import Links
from stac_pydantic.shared import SEMVER_REGEX, Asset, StacBaseModel, StacCommonMetadata
Expand Down
3 changes: 2 additions & 1 deletion stac_pydantic/shared.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import datetime as dt
from datetime import timezone
from enum import Enum, auto
from typing import Annotated, Any, Dict, List, Optional, Tuple, Union
from typing import Any, Dict, List, Optional, Tuple, Union
from warnings import warn

import dateutil.parser
Expand All @@ -13,6 +13,7 @@
PlainSerializer,
model_validator,
)
from typing_extensions import Annotated

from stac_pydantic.utils import AutoValueEnum

Expand Down

0 comments on commit d41b7ee

Please sign in to comment.