The v3 RolesApi doc return type points to an incorrect link:
https://developer.sailpoint.com/docs/tools/sdk/python/v3/methods/models/role
Thanks for pointing it out. Please update the category to General Feedback → Documentation.
You would think content management in 2025 would have caught that internally.