Skip to content

Commit 31f0da2

Browse files
authored
Small improvement (onyx-dot-app#5250)
1 parent a79d7ce commit 31f0da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/onyx/db/connector_credential_pair.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def get_connector_credential_pairs_for_user(
145145
stmt = stmt.where(ConnectorCredentialPair.id.in_(ids))
146146

147147
if not include_user_files:
148-
stmt = stmt.where(ConnectorCredentialPair.is_user_file != True) # noqa: E712
148+
stmt = stmt.where(ConnectorCredentialPair.is_user_file.is_(False))
149149

150150
if order_by_desc:
151151
stmt = stmt.order_by(desc(ConnectorCredentialPair.id))

0 commit comments

Comments
 (0)