Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
- Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Before submitting a bug report, we ask that you first search existing issues and pull requests to see if someone else may have experienced the same issue or may have already submitted a fix for it.
Python Version & Okta SDK Version(s)
Python v3.11.15
okta 3.4.4
Affected Class/Method(s)
PolicyPlatformOperatingSystemType
Customer Information
Organization Name: lyft
Paid Customer: yes
Code Snippet
Debug Output / Traceback
pydantic_core._pydantic_core.ValidationError: 1 validation error for PlatformConditionEvaluatorPlatformOperatingSystem
type
Input should be 'ANDROID', 'ANY', 'IOS', 'MACOS', 'OTHER' or 'WINDOWS' [type=enum, input_value='CHROMEOS', input_type=str]
For further information visit https://errors.pydantic.dev/2.13/v/enum
Expected Behavior
Policy rule would be read in.
Actual Behavior
Validation error - Input should be 'ANDROID', 'ANY', 'IOS', 'MACOS', 'OTHER' or 'WINDOWS' [type=enum, input_value='CHROMEOS', input_type=str]
Steps to reproduce
- make a policy with rules that are restricted to chromeos
- try and read rule
References
No response
Community Note
Before submitting a bug report, we ask that you first search existing issues and pull requests to see if someone else may have experienced the same issue or may have already submitted a fix for it.
Python Version & Okta SDK Version(s)
Python v3.11.15
okta 3.4.4
Affected Class/Method(s)
PolicyPlatformOperatingSystemType
Customer Information
Organization Name: lyft
Paid Customer: yes
Code Snippet
# Your code hereDebug Output / Traceback
pydantic_core._pydantic_core.ValidationError: 1 validation error for PlatformConditionEvaluatorPlatformOperatingSystem
type
Input should be 'ANDROID', 'ANY', 'IOS', 'MACOS', 'OTHER' or 'WINDOWS' [type=enum, input_value='CHROMEOS', input_type=str]
For further information visit https://errors.pydantic.dev/2.13/v/enum
Expected Behavior
Policy rule would be read in.
Actual Behavior
Validation error - Input should be 'ANDROID', 'ANY', 'IOS', 'MACOS', 'OTHER' or 'WINDOWS' [type=enum, input_value='CHROMEOS', input_type=str]
Steps to reproduce
References
No response