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
If you require access to the response headers during a pagination operation, set the `includeResponse` parameter to `True` in the call to the `next` method; this returns the response as a third tuple value. See the following example:
927
+
928
+
```python
929
+
from okta.client import Client as OktaClient
930
+
import asyncio
931
+
932
+
asyncdefmain():
933
+
client = OktaClient()
934
+
users, resp, err =await client.list_users()
935
+
whileTrue:
936
+
for user in users:
937
+
print(user.profile.login)
938
+
if resp.has_next():
939
+
users, err, response =await resp.next(True) # Specify True to receive the response object as the third part of the tuple for further analysis
0 commit comments