MCPcopy
hub / github.com/faust-streaming/faust / IsDecimal

Class IsDecimal

tests/functional/test_models.py:262–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261def test_decimals():
262 class IsDecimal(Record, coerce=True, serializer="json"):
263 number: Decimal
264
265 class ListOfDecimal(Record, coerce=True, serializer="json"):
266 numbers: List[Decimal]

Callers 2

test_decimalsFunction · 0.85
test_decimals_compatFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_decimalsFunction · 0.68
test_decimals_compatFunction · 0.68