pyocf.types.countrycode

Type representation of an ISO 3166-1 alpha 2 country code

pydantic model pyocf.types.countrycode.CountryCode

Type representation of an ISO 3166-1 alpha 2 country code

field root: StringConstraints(strip_whitespace=None, to_upper=None, to_lower=None, strict=None, min_length=None, max_length=None, pattern=^[A-Z]{2}$)] [Required]
Constraints:
  • pattern = ^[A-Z]{2}$