File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1- 7.5.15
1+ 7.6.0
Original file line number Diff line number Diff line change 33
44[tool .poetry ]
55name = " dazl"
6- version = " 7.5.15 "
6+ version = " 7.6.0 "
77description = " high-level Ledger API client for Daml ledgers"
88license = " Apache-2.0"
99authors = [" Davin K. Tanabe <davin.tanabe@digitalasset.com>" ]
Original file line number Diff line number Diff line change 22# SPDX-License-Identifier: Apache-2.0
33
44from datetime import date , datetime
5+ from decimal import Decimal
56import json
67
78from .contracts import ContractId
@@ -22,6 +23,8 @@ def default(self, o):
2223 return date_to_str (o )
2324 elif isinstance (o , ContractId ):
2425 return o .value
26+ elif isinstance (o , Decimal ):
27+ return str (o )
2528 elif isinstance (o , UnquotedDecimal ):
2629 return UnquotedDecimal (o )
2730
You can’t perform that action at this time.
0 commit comments