Skip to content

Commit

Permalink
flake 8
Browse files Browse the repository at this point in the history
  • Loading branch information
elegantmoose committed Dec 19, 2024
1 parent 858164c commit 4bca515
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/api/v2/managers/operation_api_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async def _construct_and_dump_source(self, source_id: str):
if not source:
source = (await self.services['data_svc'].locate('sources', match=dict(name='basic')))
return SourceSchema().dump(source[0])

async def _call_ability_plugin_hooks(self, ability, executor):
"""Calls any plugin hooks (at runtime) that exist for the ability and executor."""
for _hook, fcall in executor.HOOKS.items():
Expand Down
2 changes: 1 addition & 1 deletion app/service/planning_svc.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ async def _generate_cleanup_links(self, operation, agent, link_status):
lnk.apply_id(agent.host)
links.append(lnk)
return links

async def _call_ability_plugin_hooks(self, ability, executor):
"""Calls any plugin hooks (at runtime) that exist for the ability and executor."""
for _hook, fcall in executor.HOOKS.items():
Expand Down

0 comments on commit 4bca515

Please sign in to comment.