Skip to content

Commit 8863923

Browse files
committed
remove computed field decorator.
1 parent a434c25 commit 8863923

File tree

1 file changed

+1
-2
lines changed
  • stac_fastapi/types/stac_fastapi/types

1 file changed

+1
-2
lines changed

stac_fastapi/types/stac_fastapi/types/stac.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import json
44
from typing import Any, Dict, List, Literal, Optional, Union
55

6-
from pydantic import ConfigDict, Field, computed_field
6+
from pydantic import ConfigDict, Field
77
from stac_pydantic.shared import BBox, StacBaseModel
88
from typing_extensions import TypedDict
99

@@ -123,7 +123,6 @@ class PatchAddReplaceTest(StacBaseModel):
123123
op: Literal["add", "replace", "test"]
124124
value: Any
125125

126-
@computed_field
127126
@property
128127
def json_value(self) -> str:
129128
"""JSON dump of value field.

0 commit comments

Comments
 (0)