Skip to content

Commit

Permalink
misc: Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Nov 29, 2023
1 parent 6e02411 commit bee6c66
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lago_python_client/models/fee.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class FeeResponse(BaseResponseModel):
taxes_rate: Optional[float]
total_amount_cents: Optional[int]
unit_amount_cents: Optional[int] # deprecated
precise_unit_amount: Optional[float]
precise_unit_amount: Optional[str]
total_amount_currency: Optional[str]
units: Optional[float]
events_count: Optional[int]
Expand Down
2 changes: 1 addition & 1 deletion lago_python_client/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
LAGO_VERSION = '0.52.1'
LAGO_VERSION = '0.52.2'
2 changes: 1 addition & 1 deletion tests/fixtures/one_off_invoice.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"total_amount_cents": 120,
"total_amount_currency": "EUR",
"units": 12.6,
"precise_unit_amount": 9.52,
"precise_unit_amount": "9.52",
"events_count": 4,
"amount_details": {}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/test_invoice_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def test_valid_create_invoice_request(httpx_mock: HTTPXMock):
assert response.lago_id == '5eb02857-a71e-4ea2-bcf9-57d3a41bc6ba'
assert response.invoice_type == 'one_off'
assert response.fees.__root__[0].invoice_display_name == 'fee_invoice_display_name'
assert response.fees.__root__[0].precise_unit_amount == 9.52
assert response.fees.__root__[0].precise_unit_amount == '9.52'
assert response.fees.__root__[0].item.invoice_display_name == 'one_off_invoice_display_name'
assert response.fees.__root__[0].amount_details == {}

Expand Down

0 comments on commit bee6c66

Please sign in to comment.