keystone.assignment.role_backends.sql_model module

class keystone.assignment.role_backends.sql_model.ImpliedRoleTable(*args, **kwargs)[source]

Bases: Base, ModelDictMixin

attributes = ['prior_role_id', 'implied_role_id']
classmethod from_dict(dictionary)[source]

Return a model instance from a dictionary.

implied_role_id
prior_role_id
to_dict()[source]

Return a dictionary with model’s attributes.

overrides the to_dict function from the base class to avoid having an extra field.

class keystone.assignment.role_backends.sql_model.RoleOption(option_id, option_value)[source]

Bases: Base

option_id
option_value
role_id
class keystone.assignment.role_backends.sql_model.RoleTable(*args, **kwargs)[source]

Bases: Base, ModelDictMixinWithExtras

attributes = ['id', 'name', 'domain_id', 'description']
description
domain_id
extra
classmethod from_dict(role_dict)[source]
id
name
resource_options_registry = <keystone.common.resource_options.core.ResourceOptionRegistry object>
to_dict(include_extra_dict=False)[source]

Return the model’s attributes as a dictionary.

If include_extra_dict is True, ‘extra’ attributes are literally included in the resulting dictionary twice, for backwards-compatibility with a broken implementation.