# keystone.assignment.role_backends.sql_model module

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

  Bases: `Base`, `ModelDictMixin`

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

    Return a model instance from a dictionary.

  implied_role_id
  prior_role_id
  to_dict()

    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)

  Bases: `Base`

  option_id
  option_value
  role_id

class keystone.assignment.role_backends.sql_model.RoleTable(*args, **kwargs)

  Bases: `Base`, `ModelDictMixinWithExtras`

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

    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.

this page last updated: 2026-04-01 20:09:17

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug