open-contracting / credere-backend

A tool that facilitates the participation of Micro, Small, and Medium businesses (MSMEs) in the Colombian public procurement market.
https://credere.readthedocs.io
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

perf: Use x.exists() instead of len(x..all()) == 0 #332

Closed jpmckinney closed 4 weeks ago

jpmckinney commented 1 month ago

Made a PR since a bug in this logic would delete borrower info 😅

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 10360943767

Details


Totals Coverage Status
Change from base Build 10359861928: -0.006%
Covered Lines: 1940
Relevant Lines: 2248

💛 - Coveralls