congress.db.db_library_policies module

congress.db.db_library_policies module

class congress.db.db_library_policies.LibraryPolicy(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, congress.db.model_base.HasId

abbreviation
description
id
kind
name
rules
to_dict(include_rules=True, json_rules=False)

From a given library policy, return a policy dict.

Param:include_rules (bool, optional): include policy rules in return dictionary. Defaults to False.
congress.db.db_library_policies.add_policy(*args, **kw)
congress.db.db_library_policies.delete_policies(*args, **kw)
congress.db.db_library_policies.delete_policy(*args, **kw)
congress.db.db_library_policies.get_policies(*args, **kw)
congress.db.db_library_policies.get_policy(*args, **kw)
congress.db.db_library_policies.get_policy_by_name(*args, **kw)
congress.db.db_library_policies.replace_policy(*args, **kw)
Creative Commons Attribution 3.0 License

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