Skip to content

Commit 1e49ffb

Browse files
rename to make find by code clearer
1 parent b11c7dd commit 1e49ffb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/posit/connect/oauth/associations.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ def find_by(
116116
if guid is not None:
117117
filters.append(partial(_matches_exact, key="oauth_integration_guid", value=guid))
118118

119-
for integration in self.find():
120-
if all(f(integration) for f in filters):
121-
return integration
119+
for association in self.find():
120+
if all(f(association) for f in filters):
121+
return association
122122

123123
return None
124124

0 commit comments

Comments
 (0)