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

Commit 54ecb06

Browse files
Edits some docstrings
1 parent 6c7ff43 commit 54ecb06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/freeseer/frontend/controller/configuration/configuration.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ def list_plugin_instances(profile, category, plugin):
233233
"""
234234
List existing plugin instances for the given profile, plugin category,
235235
and plugin type.
236+
237+
Raises:
238+
HTTPError if profile, category, or plugin don't exist.
236239
"""
237240
profile_instance = load_profile(profile)
238241
plugin_manager = PluginManager(profile_instance)
@@ -272,6 +275,9 @@ def create_plugin_instance(profile, category, plugin):
272275
"""
273276
Create a new instance of a plugin for the given profile, plugin category,
274277
and plugin type.
278+
279+
Raises:
280+
HTTPError: If profile does not exist.
275281
"""
276282
uid = instantiate_plugin_config(profile, category, plugin)
277283
return {'id': uid}

0 commit comments

Comments
 (0)