credmark.dto.IntDTO
- class IntDTO(value, **_kwargs)[source]
Bases:
intA DTO that can be used as an integer output (or input) to a model. When used as a top-level DTO it is serialized as a dict with a
valuefield{"value": 12345}, otherwise it is serialized as a number.It can be used in python code as a normal integer.
Methods
dictschemavalidateAttributes
- Parameters
value (int) –