You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
returnfuture.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)?
The text was updated successfully, but these errors were encountered:
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)?
The text was updated successfully, but these errors were encountered: