dynotx / liminal-orm

ORM and toolkit to help keep your Benchling schemas and downstream dependencies in sync.
https://dynotx.github.io/liminal-orm/
Apache License 2.0
34 stars 3 forks source link

fix env file finding connection bug #23

Closed ndamania00 closed 1 month ago

ndamania00 commented 1 month ago

Bug: When there are multiple connections defined in the env.py file, it only checks the first one it finds. This PR fixes this and checks if there are any matching connections defined first.

Reproduced and tested locally