This is failing when environment variables are used for configuration. Env vars are strings but are never converted to int before using them in arithmetic operations.
# Raise Value Error if numerical inputs are invalid (< 0)
self._request_timeout = config["client"].get('requestTimeout', 0)
> if self._request_timeout < 0:
E TypeError: '<' not supported between instances of 'str' and 'int'
/opt/homebrew/lib/python3.11/site-packages/okta/request_executor.py:35: TypeError
The os.environ dictionary in Python expects its values to be strings.
This is failing when environment variables are used for configuration. Env vars are strings but are never converted to int before using them in arithmetic operations.
My configuration:
My error:
The os.environ dictionary in Python expects its values to be strings.