Unfortunately, when I run this script, an exception is raised:
/usr/src/app/main.py:11: DeprecationWarning: There is no current event loop
loop = asyncio.get_event_loop()
Traceback (most recent call last):
File "/usr/src/app/main.py", line 12, in <module>
loop.run_until_complete(main())
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 685, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/src/app/main.py", line 7, in main
client = Client({"raiseException": True})
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/okta/client.py", line 147, in __init__
user_config.get("requestExecutor", RequestExecutor)(
File "/usr/local/lib/python3.12/site-packages/okta/request_executor.py", line 35, in __init__
if self._request_timeout < 0:
^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '<' not supported between instances of 'str' and 'int'
Looks like the env vars aren't converted to ints (at least in this case)?
I have the following environment variables set:
and the following Python script:
Unfortunately, when I run this script, an exception is raised:
Looks like the env vars aren't converted to ints (at least in this case)?