Skip to content

Commit

Permalink
pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
ajtmccarty committed Dec 12, 2024
1 parent 84e2005 commit 26a928a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/infrahub/graphql/resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def __init__(self, db: InfrahubDatabase, query_args: QueryPeersArgs, *args: Any,
self.query_args = query_args
self.db = db

async def batch_load_fn(self, keys: list[Any]) -> list[Relationship]:
async def batch_load_fn(self, keys: list[Any]) -> list[Relationship]: # pylint: disable=method-hidden
async with self.db.start_session() as db:
relationships = await NodeManager.query_peers(
db=db,
Expand Down

0 comments on commit 26a928a

Please sign in to comment.