Skip to content

Commit

Permalink
Cost value can be negative. For example product Rounding variance adj…
Browse files Browse the repository at this point in the history
…ustment - global
  • Loading branch information
tomaslaz committed Oct 5, 2023
1 parent 392bdfd commit 5087897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rctab/crud/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Usage(HashBaseModel):
effective_price: Optional[float]
cost: Optional[float]
amortised_cost: Optional[float]
total_cost: confloat(ge=0.0) # type: ignore
total_cost: float
unit_price: Optional[float]
billing_currency: Optional[str]
resource_location: Optional[str]
Expand Down

0 comments on commit 5087897

Please sign in to comment.