We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c52a66d commit 8ddfaecCopy full SHA for 8ddfaec
src/labthings/apispec/plugins.py
@@ -60,14 +60,14 @@ def spec_for_interaction(cls, interaction):
60
61
for method in http_method_funcs:
62
if hasattr(interaction, method):
63
- property = getattr(interaction, method)
+ prop = getattr(interaction, method)
64
d[method] = {
65
- "description": getattr(property, "description", None)
66
- or get_docstring(property, remove_newlines=False)
+ "description": getattr(prop, "description", None)
+ or get_docstring(prop, remove_newlines=False)
67
or getattr(interaction, "description", None)
68
or get_docstring(interaction, remove_newlines=False),
69
- "summary": getattr(property, "summary", None)
70
- or get_summary(property)
+ "summary": getattr(prop, "summary", None)
+ or get_summary(prop)
71
or getattr(interaction, "summary", None)
72
or get_summary(interaction),
73
"tags": list(interaction.get_tags()),
0 commit comments