Skip to content

Commit d36a374

Browse files
committed
avoid typing error due to literal type override
1 parent 323fb8f commit d36a374

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stac_model/input.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ class ScalingClipMax(MLMBaseModel):
2828
maximum: Number
2929

3030

31-
class ScalingClip(ScalingClipMin, ScalingClipMax):
31+
class ScalingClip(MLMBaseModel):
3232
type: Literal["clip"] = "clip"
33+
minimum: Number
34+
maximum: Number
3335

3436

3537
class ScalingMinMax(MLMBaseModel):

0 commit comments

Comments
 (0)