Skip to content

Commit 2ce0bf8

Browse files
author
Joel Collins
committed
Use argument description if provided
1 parent aee9682 commit 2ce0bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labthings/server/extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, name: str, description="", version="0.0.0"):
3131
self.properties = []
3232

3333
self._name = name
34-
self.description = get_docstring(self)
34+
self.description = description or get_docstring(self)
3535
self.version = str(version)
3636

3737
self.methods = {}

0 commit comments

Comments
 (0)