The watcher.db.sqlalchemy.api Module

SQLAlchemy storage backend.

class watcher.db.sqlalchemy.api.Connection[source]

Bases: watcher.db.api.BaseConnection

SqlAlchemy connection.

create_action(values)[source]
create_action_plan(values)[source]
create_audit(values)[source]
create_audit_template(values)[source]
create_efficacy_indicator(values)[source]
create_goal(values)[source]
create_scoring_engine(values)[source]
create_strategy(values)[source]
destroy_action(action_id)[source]
destroy_action_plan(action_plan_id)[source]
destroy_audit(audit_id)[source]
destroy_audit_template(audit_template_id)[source]
destroy_efficacy_indicator(efficacy_indicator_id)[source]
destroy_goal(goal_id)[source]
destroy_scoring_engine(scoring_engine_id)[source]
destroy_strategy(strategy_id)[source]
get_action_by_id(context, action_id)[source]
get_action_by_uuid(context, action_uuid)[source]
get_action_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_action_plan_by_id(context, action_plan_id)[source]
get_action_plan_by_uuid(context, action_plan__uuid)[source]
get_action_plan_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_audit_by_id(context, audit_id)[source]
get_audit_by_uuid(context, audit_uuid)[source]
get_audit_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_audit_template_by_id(context, audit_template_id)[source]
get_audit_template_by_name(context, audit_template_name)[source]
get_audit_template_by_uuid(context, audit_template_uuid)[source]
get_audit_template_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_efficacy_indicator_by_id(context, efficacy_indicator_id)[source]
get_efficacy_indicator_by_name(context, efficacy_indicator_name)[source]
get_efficacy_indicator_by_uuid(context, efficacy_indicator_uuid)[source]
get_efficacy_indicator_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_goal_by_id(context, goal_id)[source]
get_goal_by_name(context, goal_name)[source]
get_goal_by_uuid(context, goal_uuid)[source]
get_goal_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_scoring_engine_by_id(context, scoring_engine_id)[source]
get_scoring_engine_by_name(context, scoring_engine_name)[source]
get_scoring_engine_by_uuid(context, scoring_engine_uuid)[source]
get_scoring_engine_list(context, columns=None, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
get_strategy_by_id(context, strategy_id)[source]
get_strategy_by_name(context, strategy_name)[source]
get_strategy_by_uuid(context, strategy_uuid)[source]
get_strategy_list(context, filters=None, limit=None, marker=None, sort_key=None, sort_dir=None)[source]
soft_delete_action(action_id)[source]
soft_delete_action_plan(action_plan_id)[source]
soft_delete_audit(audit_id)[source]
soft_delete_audit_template(audit_template_id)[source]
soft_delete_efficacy_indicator(efficacy_indicator_id)[source]
soft_delete_goal(goal_id)[source]
soft_delete_scoring_engine(scoring_engine_id)[source]
soft_delete_strategy(strategy_id)[source]
update_action(action_id, values)[source]
update_action_plan(action_plan_id, values)[source]
update_audit(audit_id, values)[source]
update_audit_template(audit_template_id, values)[source]
update_efficacy_indicator(efficacy_indicator_id, values)[source]
update_goal(goal_id, values)[source]
update_scoring_engine(scoring_engine_id, values)[source]
update_strategy(strategy_id, values)[source]
class watcher.db.sqlalchemy.api.JoinMap[source]

Bases: watcher.common.utils.Struct

Mapping for the Join-based queries

class watcher.db.sqlalchemy.api.NaturalJoinFilter

Bases: tuple

NaturalJoinFilter(join_fieldname, join_model)

Previous topic

The watcher.db.purge Module

Next topic

The watcher.db.sqlalchemy.migration Module

Project Source

This Page