Skip to content

Commit 2aa30eb

Browse files
committed
Remove unnecessary serializer.
1 parent 202e33b commit 2aa30eb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

stac_pydantic/shared.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
BaseModel,
1010
ConfigDict,
1111
Field,
12-
PlainSerializer,
1312
)
1413
from typing_extensions import Annotated
1514

@@ -30,9 +29,6 @@
3029
AwareDatetime,
3130
# Convert the input value to UTC timezone
3231
AfterValidator(lambda d: d.astimezone(timezone.utc)),
33-
# Use `isoformat` to serialize the value in an RFC3339 compatible format
34-
# for example: "2024-01-01T00:00:00+00:00"
35-
PlainSerializer(lambda d: d.isoformat()),
3632
]
3733

3834

0 commit comments

Comments
 (0)