Assigning a role to a project via python sdk

asked 2017-02-28 10:24:19 -0500

Hi, I'm just getting started with the Python-SDK and I was wondering how you would assign a role to a user via the Openstack Python SDK

https://developer.openstack.org/sdks/python/openstacksdk/users/resources/identity/v3/project.html#openstack.identity.v3.project.Project (https://developer.openstack.org/sdks/...) I found with the link above, in the Project class, there should be an "assign_role_to_user" method defined but I am running into some difficulties accessing the method. When I call dir(project.Project), I don't see any of the methods as documented in the link above.

edit retag flag offensive close merge delete