keystone.resource.backends.sql_model module

class keystone.resource.backends.sql_model.Project(*args, **kwargs)[source]

Bases: sqlalchemy.orm.decl_api.Base, keystone.common.sql.core.ModelDictMixinWithExtras

attributes = ['id', 'name', 'domain_id', 'description', 'enabled', 'parent_id', 'is_domain', 'tags']
description
domain_id
enabled
extra
classmethod from_dict(project_dict)[source]
id
is_domain
name
parent_id
resource_options_registry = <keystone.common.resource_options.core.ResourceOptionRegistry object>
property tags
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.

class keystone.resource.backends.sql_model.ProjectOption(option_id, option_value)[source]

Bases: sqlalchemy.orm.decl_api.Base

option_id
option_value
project_id
class keystone.resource.backends.sql_model.ProjectTag(*args, **kwargs)[source]

Bases: sqlalchemy.orm.decl_api.Base, keystone.common.sql.core.ModelDictMixin

attributes = ['project_id', 'name']
name
project_id
to_dict()[source]

Return the model’s attributes as a dictionary.