Hi.
We've been using a custom recipe to connect to our PostgresQL database, using the PostgresqlExtDatabase method from playhouse, so that we can input the user/pass/host as environment variables and avoid pushing this information to the repository. Like so
db = PostgresqlExtDatabase(os.getenv('PRODIGY_DB_NAME'),
user=os.getenv('PRODIGY_DB_USER'),
password=os.getenv('PRODIGY_DB_PASSWORD'),
host=os.getenv('PRODIGY_DB_HOST'),
register_hstore=False)
I was wondering if there's an equivalent to using the prodigy db-out
command, but via a custom recipe, so that we can continue using this method to connect to our database, or if there's another recommendation for accomplishing this goal?