Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Edits some docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoCanas committed Dec 2, 2014
1 parent 6c7ff43 commit 54ecb06
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,9 @@ def list_plugin_instances(profile, category, plugin):
"""
List existing plugin instances for the given profile, plugin category,
and plugin type.
Raises:
HTTPError if profile, category, or plugin don't exist.
"""
profile_instance = load_profile(profile)
plugin_manager = PluginManager(profile_instance)
Expand Down Expand Up @@ -272,6 +275,9 @@ def create_plugin_instance(profile, category, plugin):
"""
Create a new instance of a plugin for the given profile, plugin category,
and plugin type.
Raises:
HTTPError: If profile does not exist.
"""
uid = instantiate_plugin_config(profile, category, plugin)
return {'id': uid}
Expand Down

0 comments on commit 54ecb06

Please sign in to comment.