noqa the x == False for sqlalchemy

This commit is contained in:
Kenneth Kehl
2024-12-19 13:58:28 -08:00
parent f809a060d5
commit a77343ebc7

View File

@@ -61,7 +61,7 @@ def dao_get_organization_by_service_id(service_id):
stmt = (
select(Organization)
.join(Organization.services)
.where(Organization.id == service_id)
.where(Service.id == service_id)
)
return db.session.execute(stmt).scalars().first()