pyocf.types.ratio

Type representation of a ratio as two parts of a quotient, i.e. numerator and denominator numeric values

pydantic model pyocf.types.ratio.Ratio

Type representation of a ratio as two parts of a quotient, i.e. numerator and denominator numeric values

field denominator: Annotated[Numeric, FieldInfo(annotation=NoneType, required=True, description='Denominator of the ratio, i.e. the ratio of A to B (A:B) can be expressed as afraction (A/B), where B is the denominator')] [Required]

Denominator of the ratio, i.e. the ratio of A to B (A:B) can be expressed as afraction (A/B), where B is the denominator

field numerator: Annotated[Numeric, FieldInfo(annotation=NoneType, required=True, description='Numerator of the ratio, i.e. the ratio of A to B (A:B) can be expressed as afraction (A/B), where A is the numerator')] [Required]

Numerator of the ratio, i.e. the ratio of A to B (A:B) can be expressed as afraction (A/B), where A is the numerator