Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added basic getter for tenant and user details #28

Closed

Conversation

ananthanithya
Copy link

Added a wrapper function for getting the tenant and user details as a dictionary, rather than pulling from database.

Closes #5


@property
def get_admin_tenant_details(self):
return self.__admin_tenant_args
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be

return self.get_tenant_by_id(self.__admin_tenant_id)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 11fc21f on ananthanithya:admin-details-getter into * on BenjamenMeyer:master*.

@BenjamenMeyer
Copy link
Member

Please merge master, and update for pep8

@BenjamenMeyer
Copy link
Member

@ananthanithya please update

@BenjamenMeyer
Copy link
Member

will need to be revisited in light of PR #43

@BenjamenMeyer BenjamenMeyer modified the milestones: 0.1.x, 0.1 - Keystone v2 Support Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keystone (V2): Get Admin User
3 participants