Skip to content

Commit 8ddfaec

Browse files
committed
linter fixes
1 parent c52a66d commit 8ddfaec

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/labthings/apispec/plugins.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,14 @@ def spec_for_interaction(cls, interaction):
6060

6161
for method in http_method_funcs:
6262
if hasattr(interaction, method):
63-
property = getattr(interaction, method)
63+
prop = getattr(interaction, method)
6464
d[method] = {
65-
"description": getattr(property, "description", None)
66-
or get_docstring(property, remove_newlines=False)
65+
"description": getattr(prop, "description", None)
66+
or get_docstring(prop, remove_newlines=False)
6767
or getattr(interaction, "description", None)
6868
or get_docstring(interaction, remove_newlines=False),
69-
"summary": getattr(property, "summary", None)
70-
or get_summary(property)
69+
"summary": getattr(prop, "summary", None)
70+
or get_summary(prop)
7171
or getattr(interaction, "summary", None)
7272
or get_summary(interaction),
7373
"tags": list(interaction.get_tags()),

0 commit comments

Comments
 (0)