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
When using the list_resources decorator, there is no way to return the nextCursor if your resources are paginated, as the decorator relies on just a list of Resource being returned
Solution: Make a decorator list_paginated_resources that returns a dict with 'resources' and 'nextCursor' or even just the ListResourceResult object itself
Let me know your thoughts on the above and I'm happy to raise a PR with it
The text was updated successfully, but these errors were encountered:
nextCursor
if your resources are paginated, as the decorator relies on just a list ofResource
being returnedlist_paginated_resources
that returns a dict with 'resources' and 'nextCursor' or even just theListResourceResult
object itselfLet me know your thoughts on the above and I'm happy to raise a PR with it
The text was updated successfully, but these errors were encountered: