pepkit / pepdbagent

Database for storing sample metadata
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

Instatiate with database connection string #6

Closed nleroy917 closed 1 year ago

nleroy917 commented 2 years ago

A nice feature would be to be able to instantiate a PEPAgent instance using just a database connection string. Its just a bit simpler and less verbose than naming each variable.

khoroshevskyi commented 1 year ago

I have added this ability to the pepagent. Now you can connect to your db like this PepAgent("postgresql://postgres:xxxxx@localhost:5432/pep-base-sql")

khoroshevskyi commented 1 year ago

Solved!