Skip to content

Commit

Permalink
Fixed FLK-W291
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Collins committed Feb 11, 2020
1 parent 1f668ef commit aee9682
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion labthings/core/tasks/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):
def tasks(self):
"""
Returns:
list: List of TaskThread objects.
list: List of TaskThread objects.
"""
return self._tasks

Expand Down
6 changes: 3 additions & 3 deletions labthings/server/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def find_instances_in_module(module, class_to_find):
class_to_find (class): Python class to search for instances of
Returns:
list: List of objects derived from `class_to_find`
list: List of objects derived from `class_to_find`
"""
objs = []
for attribute in dir(module):
Expand All @@ -121,7 +121,7 @@ def find_extensions_in_file(extension_path: str, module_name="extensions") -> li
Args:
extension_path (str): Path to the extension file
module_name (str, optional): Name of the module to load extensions into.
module_name (str, optional): Name of the module to load extensions into.
Defaults to "extensions".
Returns:
Expand Down Expand Up @@ -152,7 +152,7 @@ def find_extensions(extension_dir: str, module_name="extensions") -> list:
Args:
extension_dir (str): Path to directory contatining extension files
module_name (str, optional): Name of the module to load extensions into.
module_name (str, optional): Name of the module to load extensions into.
Defaults to "extensions".
Returns:
Expand Down
4 changes: 2 additions & 2 deletions labthings/server/quick.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ def create_app(
title (str, optional): Title/name of the LabThings Thing.
description (str, optional): Brief description of the LabThings Thing.
version (str, optional): Version number/code of the Thing. Defaults to "0.0.0".
handle_errors (bool, optional): Use the LabThings error handler,
handle_errors (bool, optional): Use the LabThings error handler,
to JSON format internal exceptions. Defaults to True.
handle_cors (bool, optional): Automatically enable CORS on all LabThings views.
handle_cors (bool, optional): Automatically enable CORS on all LabThings views.
Defaults to True.
flask_kwargs (dict, optional): Keyword arguments to pass to the Flask instance.
Expand Down

0 comments on commit aee9682

Please sign in to comment.