pyocf.types.percentage

Fixed-point string representation of a percentage as a decimal between 0.0 and 1.0 (up to 10 decimal places supported)

pydantic model pyocf.types.percentage.Percentage

Fixed-point string representation of a percentage as a decimal between 0.0 and 1.0 (up to 10 decimal places supported)

field root: str [Required]
Constraints:
  • pattern = ^0?(.[0-9]{1,10})?$|^1(.0{1,10})?$